Compare commits
No commits in common. "main" and "cdi_fix" have entirely different histories.
@ -94,14 +94,26 @@ staging_build:
|
|||||||
source_package: hauler
|
source_package: hauler
|
||||||
source_project: isv:SUSE:Edge:Factory
|
source_project: isv:SUSE:Edge:Factory
|
||||||
target_project: isv:SUSE:Edge:Factory:Staging
|
target_project: isv:SUSE:Edge:Factory:Staging
|
||||||
|
- branch_package:
|
||||||
|
source_package: ip-address-manager
|
||||||
|
source_project: isv:SUSE:Edge:Factory
|
||||||
|
target_project: isv:SUSE:Edge:Factory:Staging
|
||||||
- branch_package:
|
- branch_package:
|
||||||
source_package: baremetal-operator
|
source_package: baremetal-operator
|
||||||
source_project: isv:SUSE:Edge:Factory
|
source_project: isv:SUSE:Edge:Factory
|
||||||
target_project: isv:SUSE:Edge:Factory:Staging
|
target_project: isv:SUSE:Edge:Factory:Staging
|
||||||
|
- branch_package:
|
||||||
|
source_package: cluster-api-provider-metal3
|
||||||
|
source_project: isv:SUSE:Edge:Factory
|
||||||
|
target_project: isv:SUSE:Edge:Factory:Staging
|
||||||
- branch_package:
|
- branch_package:
|
||||||
source_package: cdi-chart
|
source_package: cdi-chart
|
||||||
source_project: isv:SUSE:Edge:Factory
|
source_project: isv:SUSE:Edge:Factory
|
||||||
target_project: isv:SUSE:Edge:Factory:Staging
|
target_project: isv:SUSE:Edge:Factory:Staging
|
||||||
|
- branch_package:
|
||||||
|
source_package: cluster-api-provider-metal3-image
|
||||||
|
source_project: isv:SUSE:Edge:Factory
|
||||||
|
target_project: isv:SUSE:Edge:Factory:Staging
|
||||||
- branch_package:
|
- branch_package:
|
||||||
source_package: metallb-chart
|
source_package: metallb-chart
|
||||||
source_project: isv:SUSE:Edge:Factory
|
source_project: isv:SUSE:Edge:Factory
|
||||||
@ -142,6 +154,10 @@ staging_build:
|
|||||||
source_package: metallb-controller-image
|
source_package: metallb-controller-image
|
||||||
source_project: isv:SUSE:Edge:Factory
|
source_project: isv:SUSE:Edge:Factory
|
||||||
target_project: isv:SUSE:Edge:Factory:Staging
|
target_project: isv:SUSE:Edge:Factory:Staging
|
||||||
|
- branch_package:
|
||||||
|
source_package: ip-address-manager-image
|
||||||
|
source_project: isv:SUSE:Edge:Factory
|
||||||
|
target_project: isv:SUSE:Edge:Factory:Staging
|
||||||
- branch_package:
|
- branch_package:
|
||||||
source_package: metallb-speaker-image
|
source_package: metallb-speaker-image
|
||||||
source_project: isv:SUSE:Edge:Factory
|
source_project: isv:SUSE:Edge:Factory
|
||||||
@ -202,11 +218,3 @@ staging_build:
|
|||||||
source_package: release-manifest-image
|
source_package: release-manifest-image
|
||||||
source_project: isv:SUSE:Edge:Factory
|
source_project: isv:SUSE:Edge:Factory
|
||||||
target_project: isv:SUSE:Edge:Factory:Staging
|
target_project: isv:SUSE:Edge:Factory:Staging
|
||||||
- branch_package:
|
|
||||||
source_package: frr-image
|
|
||||||
source_project: isv:SUSE:Edge:Factory
|
|
||||||
target_project: isv:SUSE:Edge:Factory:Staging
|
|
||||||
- branch_package:
|
|
||||||
source_package: kubectl-image
|
|
||||||
source_project: isv:SUSE:Edge:Factory
|
|
||||||
target_project: isv:SUSE:Edge:Factory:Staging
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!BuildTag: %%IMG_PREFIX%%akri-dashboard-extension-chart:%%CHART_MAJOR%%.0.0_up1.2.1
|
#!BuildTag: %%IMG_PREFIX%%akri-dashboard-extension-chart:%%CHART_MAJOR%%.0.0_up1.2.0
|
||||||
#!BuildTag: %%IMG_PREFIX%%akri-dashboard-extension-chart:%%CHART_MAJOR%%.0.0_up1.2.1-%RELEASE%
|
#!BuildTag: %%IMG_PREFIX%%akri-dashboard-extension-chart:%%CHART_MAJOR%%.0.0_up1.2.0-%RELEASE%
|
||||||
annotations:
|
annotations:
|
||||||
catalog.cattle.io/certified: rancher
|
catalog.cattle.io/certified: rancher
|
||||||
catalog.cattle.io/display-name: Akri
|
catalog.cattle.io/display-name: Akri
|
||||||
@ -10,11 +10,11 @@ annotations:
|
|||||||
catalog.cattle.io/rancher-version: ">= 2.10.0-0"
|
catalog.cattle.io/rancher-version: ">= 2.10.0-0"
|
||||||
catalog.cattle.io/scope: management
|
catalog.cattle.io/scope: management
|
||||||
catalog.cattle.io/ui-component: plugins
|
catalog.cattle.io/ui-component: plugins
|
||||||
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
|
catalog.cattle.io/ui-extensions-version: ">= 3.0.0"
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 1.2.1
|
appVersion: 1.2.0
|
||||||
description: "SUSE Edge: Akri extension for Rancher Dashboard"
|
description: "SUSE Edge: Akri extension for Rancher Dashboard"
|
||||||
icon: https://raw.githubusercontent.com/cncf/artwork/main/projects/akri/icon/color/akri-icon-color.svg
|
icon: https://raw.githubusercontent.com/cncf/artwork/main/projects/akri/icon/color/akri-icon-color.svg
|
||||||
name: akri-dashboard-extension
|
name: akri-dashboard-extension
|
||||||
type: application
|
type: application
|
||||||
version: "%%CHART_MAJOR%%.0.0+up1.2.1"
|
version: "%%CHART_MAJOR%%.0.0+up1.2.0"
|
||||||
|
@ -8,7 +8,7 @@ spec:
|
|||||||
plugin:
|
plugin:
|
||||||
name: {{ include "extension-server.fullname" . }}
|
name: {{ include "extension-server.fullname" . }}
|
||||||
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
|
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
|
||||||
endpoint: https://raw.githubusercontent.com/suse-edge/dashboard-extensions/gh-pages/extensions/akri-dashboard-extension/1.2.1
|
endpoint: https://raw.githubusercontent.com/suse-edge/dashboard-extensions/gh-pages/extensions/akri-dashboard-extension/1.2.0
|
||||||
noCache: {{ .Values.plugin.noCache }}
|
noCache: {{ .Values.plugin.noCache }}
|
||||||
noAuth: {{ .Values.plugin.noAuth }}
|
noAuth: {{ .Values.plugin.noAuth }}
|
||||||
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
|
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
|
@ -8,5 +8,5 @@ plugin:
|
|||||||
metadata:
|
metadata:
|
||||||
catalog.cattle.io/display-name: Akri
|
catalog.cattle.io/display-name: Akri
|
||||||
catalog.cattle.io/rancher-version: ">= 2.10.0-0"
|
catalog.cattle.io/rancher-version: ">= 2.10.0-0"
|
||||||
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
|
catalog.cattle.io/ui-extensions-version: ">= 3.0.0"
|
||||||
catalog.cattle.io/kube-version: ">= v1.26.0-0"
|
catalog.cattle.io/kube-version: ">= v1.26.0-0"
|
||||||
|
36
cluster-api-provider-metal3-image/Dockerfile
Normal file
36
cluster-api-provider-metal3-image/Dockerfile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#!BuildTag: %%IMG_PREFIX%%cluster-api-provider-metal3:v%%cluster-api-provider-metal3_version%%
|
||||||
|
#!BuildTag: %%IMG_PREFIX%%cluster-api-provider-metal3:%%cluster-api-provider-metal3_version%%
|
||||||
|
#!BuildTag: %%IMG_PREFIX%%cluster-api-provider-metal3:%%cluster-api-provider-metal3_version%%-%RELEASE%
|
||||||
|
#!BuildVersion: 15.6
|
||||||
|
ARG SLE_VERSION
|
||||||
|
FROM registry.suse.com/bci/bci-micro:$SLE_VERSION AS micro
|
||||||
|
|
||||||
|
FROM registry.suse.com/bci/bci-base:$SLE_VERSION AS base
|
||||||
|
COPY --from=micro / /installroot/
|
||||||
|
RUN zypper --installroot /installroot --non-interactive install --no-recommends cluster-api-provider-metal3 shadow; zypper -n clean; rm -rf /var/log/*
|
||||||
|
|
||||||
|
FROM micro AS final
|
||||||
|
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
||||||
|
# labelprefix=com.suse.application.cluster-api-provider-metal3
|
||||||
|
LABEL org.opencontainers.image.authors="SUSE LLC (https://www.suse.com/)"
|
||||||
|
LABEL org.opencontainers.image.title="SLE cluster-api-provider-metal3 Container Image"
|
||||||
|
LABEL org.opencontainers.image.description="cluster-api-provider-metal3 based on the SLE Base Container Image."
|
||||||
|
LABEL org.opencontainers.image.version="%%cluster-api-provider-metal3_version%%"
|
||||||
|
LABEL org.opencontainers.image.url="https://www.suse.com/products/server/"
|
||||||
|
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||||
|
LABEL org.opencontainers.image.vendor="SUSE LLC"
|
||||||
|
LABEL org.opensuse.reference="%%IMG_REPO%%/%%IMG_PREFIX%%cluster-api-provider-metal3:%%cluster-api-provider-metal3_version%%-%RELEASE%"
|
||||||
|
LABEL org.openbuildservice.disturl="%DISTURL%"
|
||||||
|
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
||||||
|
LABEL com.suse.eula="SUSE Combined EULA February 2024"
|
||||||
|
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle"
|
||||||
|
LABEL com.suse.image-type="application"
|
||||||
|
LABEL com.suse.release-stage="released"
|
||||||
|
# endlabelprefix
|
||||||
|
|
||||||
|
COPY --from=base /installroot /
|
||||||
|
RUN mv /usr/bin/cluster-api-provider-metal3 /manager
|
||||||
|
# Use uid of nonroot user (65532) because kubernetes expects numeric user when applying pod security policies
|
||||||
|
USER 65532
|
||||||
|
ENTRYPOINT [ "/manager" ]
|
@ -1,5 +1,12 @@
|
|||||||
<services>
|
<services>
|
||||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||||
|
<service mode="buildtime" name="docker_label_helper"/>
|
||||||
|
<service name="replace_using_package_version" mode="buildtime">
|
||||||
|
<param name="file">Dockerfile</param>
|
||||||
|
<param name="regex">%%cluster-api-provider-metal3_version%%</param>
|
||||||
|
<param name="package">cluster-api-provider-metal3</param>
|
||||||
|
<param name="parse-version">patch</param>
|
||||||
|
</service>
|
||||||
<service name="replace_using_env" mode="buildtime">
|
<service name="replace_using_env" mode="buildtime">
|
||||||
<param name="file">Dockerfile</param>
|
<param name="file">Dockerfile</param>
|
||||||
<param name="eval">IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})</param>
|
<param name="eval">IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})</param>
|
23
cluster-api-provider-metal3/_service
Normal file
23
cluster-api-provider-metal3/_service
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm">
|
||||||
|
<param name="url">https://github.com/metal3-io/cluster-api-provider-metal3</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">v1.7.2</param>
|
||||||
|
<param name="version">_auto_</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="changesauthor">steven.hardy@suse.com</param>
|
||||||
|
<param name="match-tag">v*</param>
|
||||||
|
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
|
||||||
|
<param name="without-version">yes</param>
|
||||||
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="tar" />
|
||||||
|
<service mode="buildtime" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
<service name="go_modules">
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="set_version" />
|
||||||
|
</services>
|
54
cluster-api-provider-metal3/cluster-api-provider-metal3.spec
Normal file
54
cluster-api-provider-metal3/cluster-api-provider-metal3.spec
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
#
|
||||||
|
# spec file for package cluster-api-provider-metal3
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: cluster-api-provider-metal3
|
||||||
|
Version: 1.7.2
|
||||||
|
Release: 0
|
||||||
|
Summary: Cluster API Infrastructure Provider for Metal3
|
||||||
|
License: Apache-2.0
|
||||||
|
URL: https://github.com/metal3-io/cluster-api-provider-metal3
|
||||||
|
Source: cluster-api-provider-metal3-%{version}.tar.gz
|
||||||
|
Source1: vendor.tar.gz
|
||||||
|
BuildRequires: golang(API) = 1.22
|
||||||
|
ExcludeArch: s390
|
||||||
|
ExcludeArch: %{ix86}
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
Cluster API Provider Metal3 is one of the providers for Cluster API and enables
|
||||||
|
users to deploy a Cluster API based cluster on top of bare metal infrastructure
|
||||||
|
using Metal3.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -a1 -n cluster-api-provider-metal3-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
go build \
|
||||||
|
-mod=vendor \
|
||||||
|
-buildmode=pie \
|
||||||
|
-a -ldflags '-extldflags "-static"'
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -D -m0755 cluster-api-provider-metal3 %{buildroot}%{_bindir}/cluster-api-provider-metal3
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/cluster-api-provider-metal3
|
||||||
|
|
||||||
|
%changelog
|
@ -7,14 +7,10 @@
|
|||||||
<param name="eval">IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo)</param>
|
<param name="eval">IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo)</param>
|
||||||
<param name="var">IMG_REPO</param>
|
<param name="var">IMG_REPO</param>
|
||||||
<param name="file">artifacts.yaml</param>
|
<param name="file">artifacts.yaml</param>
|
||||||
<param name="eval">IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})</param>
|
|
||||||
<param name="var">IMG_PREFIX</param>
|
|
||||||
<param name="eval">CHART_REPO=$(rpm --macros=/root/.rpmmacros -E %chart_repo)</param>
|
<param name="eval">CHART_REPO=$(rpm --macros=/root/.rpmmacros -E %chart_repo)</param>
|
||||||
<param name="var">CHART_REPO</param>
|
<param name="var">CHART_REPO</param>
|
||||||
<param name="eval">SUPPORT_LEVEL=$(rpm --macros=/root/.rpmmacros -E %support_level)</param>
|
<param name="eval">SUPPORT_LEVEL=$(rpm --macros=/root/.rpmmacros -E %support_level)</param>
|
||||||
<param name="var">SUPPORT_LEVEL</param>
|
<param name="var">SUPPORT_LEVEL</param>
|
||||||
<param name="eval">CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})</param>
|
|
||||||
<param name="var">CHART_MAJOR</param>
|
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
metallb:
|
metallb:
|
||||||
chart: metallb-chart
|
chart: metallb-chart
|
||||||
repository: "%%CHART_REPO%%/%%IMG_PREFIX%%"
|
repository: %%CHART_REPO%%/3.1
|
||||||
version: "%%CHART_MAJOR%%.0.0+up0.14.9"
|
version: 0.14.9
|
||||||
endpoint-copier-operator:
|
endpoint-copier-operator:
|
||||||
chart: endpoint-copier-operator-chart
|
chart: endpoint-copier-operator-chart
|
||||||
repository: "%%CHART_REPO%%/%%IMG_PREFIX%%"
|
repository: %%CHART_REPO%%/3.1
|
||||||
version: "%%CHART_MAJOR%%.0.0+up0.2.1"
|
version: 0.2.1
|
||||||
kubernetes:
|
kubernetes:
|
||||||
k3s:
|
k3s:
|
||||||
selinuxPackage: k3s-selinux-1.6-1.slemicro.noarch
|
selinuxPackage: k3s-selinux-1.6-1.slemicro.noarch
|
||||||
@ -13,3 +13,4 @@ kubernetes:
|
|||||||
rke2:
|
rke2:
|
||||||
selinuxPackage: rke2-selinux
|
selinuxPackage: rke2-selinux
|
||||||
selinuxRepository: https://rpm.rancher.io/rke2/stable/common/slemicro/noarch
|
selinuxRepository: https://rpm.rancher.io/rke2/stable/common/slemicro/noarch
|
||||||
|
|
||||||
|
@ -1,58 +0,0 @@
|
|||||||
# SPDX-License-Identifier: MIT
|
|
||||||
#!BuildTag: %%IMG_PREFIX%%frr:8.4
|
|
||||||
#!BuildTag: %%IMG_PREFIX%%frr:8.4-%RELEASE%
|
|
||||||
#!BuildVersion: 15.5
|
|
||||||
ARG SLE_VERSION
|
|
||||||
FROM registry.suse.com/bci/bci-micro:$SLE_VERSION AS micro
|
|
||||||
|
|
||||||
FROM registry.suse.com/bci/bci-base:$SLE_VERSION AS base
|
|
||||||
COPY --from=micro / /installroot/
|
|
||||||
RUN zypper --installroot /installroot --non-interactive install --no-recommends tcpdump libpcap-devel iproute2 iputils strace socat frr python3 catatonit sed util-linux; zypper -n clean; rm -rf /var/log/*
|
|
||||||
|
|
||||||
FROM micro AS final
|
|
||||||
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
|
||||||
# labelprefix=com.suse.application.frr
|
|
||||||
LABEL org.opencontainers.image.authors="SUSE LLC (https://www.suse.com/)"
|
|
||||||
LABEL org.opencontainers.image.title="FRR Container Image"
|
|
||||||
LABEL org.opencontainers.image.description="frr based on the SLE Base Container Image."
|
|
||||||
LABEL org.opencontainers.image.version="8.4"
|
|
||||||
LABEL org.opencontainers.image.url="https://www.suse.com/products/server/"
|
|
||||||
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
|
||||||
LABEL org.opencontainers.image.vendor="SUSE LLC"
|
|
||||||
LABEL org.opensuse.reference="%%IMG_REPO%%/%%IMG_PREFIX%%frr:8.4-%RELEASE%"
|
|
||||||
LABEL org.openbuildservice.disturl="%DISTURL%"
|
|
||||||
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
|
||||||
LABEL com.suse.eula="SUSE Combined EULA February 2024"
|
|
||||||
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle"
|
|
||||||
LABEL com.suse.image-type="application"
|
|
||||||
LABEL com.suse.release-stage="released"
|
|
||||||
# endlabelprefix
|
|
||||||
|
|
||||||
COPY --from=base /installroot /
|
|
||||||
|
|
||||||
#Install frr
|
|
||||||
USER root
|
|
||||||
|
|
||||||
ENV PYTHONDONTWRITEBYTECODE yes
|
|
||||||
|
|
||||||
# frr.sh is the entry point. This script examines environment
|
|
||||||
# variables to direct operation and configure ovn
|
|
||||||
ADD frr.sh /root/
|
|
||||||
ADD daemons /etc/frr
|
|
||||||
ADD frr.conf /etc/frr
|
|
||||||
ADD vtysh.conf /etc/frr
|
|
||||||
|
|
||||||
RUN chown frr:frr /etc/frr/daemons /etc/frr/frr.conf
|
|
||||||
|
|
||||||
RUN ln -s /usr/bin/catatonit /sbin/tini
|
|
||||||
RUN usermod -a -G frrvty frr
|
|
||||||
|
|
||||||
COPY docker-start /usr/libexec/frr/docker-start
|
|
||||||
RUN cp -r /usr/libexec/frr /usr/lib/ # required because of the different path on rhel
|
|
||||||
|
|
||||||
WORKDIR /root
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--"]
|
|
||||||
|
|
||||||
COPY docker-start /usr/lib/frr/docker-start
|
|
||||||
RUN chmod +x /usr/lib/frr/docker-start
|
|
||||||
CMD ["/usr/lib/frr/docker-start"]
|
|
@ -1,82 +0,0 @@
|
|||||||
# This file tells the frr package which daemons to start.
|
|
||||||
#
|
|
||||||
# Entries are in the format: <daemon>=(yes|no|priority)
|
|
||||||
# 0, "no" = disabled
|
|
||||||
# 1, "yes" = highest priority
|
|
||||||
# 2 .. 10 = lower priorities
|
|
||||||
#
|
|
||||||
# For daemons which support multiple instances, a 2nd line listing
|
|
||||||
# the instances can be added. Eg for ospfd:
|
|
||||||
# ospfd=yes
|
|
||||||
# ospfd_instances="1,2"
|
|
||||||
#
|
|
||||||
# Priorities were suggested by Dancer <dancer@zeor.simegen.com>.
|
|
||||||
# They're used to start the FRR daemons in more than one step
|
|
||||||
# (for example start one or two at network initialization and the
|
|
||||||
# rest later). The number of FRR daemons being small, priorities
|
|
||||||
# must be between 1 and 9, inclusive (or the initscript has to be
|
|
||||||
# changed). /etc/init.d/frr then can be started as
|
|
||||||
#
|
|
||||||
# /etc/init.d/frr <start|stop|restart|<priority>>
|
|
||||||
#
|
|
||||||
# where priority 0 is the same as 'stop', priority 10 or 'start'
|
|
||||||
# means 'start all'
|
|
||||||
#
|
|
||||||
# Sample configurations for these daemons can be found in
|
|
||||||
# /usr/share/doc/frr/examples/.
|
|
||||||
#
|
|
||||||
# ATTENTION:
|
|
||||||
#
|
|
||||||
# When activation a daemon at the first time, a config file, even if it is
|
|
||||||
# empty, has to be present *and* be owned by the user and group "frr", else
|
|
||||||
# the daemon will not be started by /etc/init.d/frr. The permissions should
|
|
||||||
# be u=rw,g=r,o=.
|
|
||||||
# When using "vtysh" such a config file is also needed. It should be owned by
|
|
||||||
# group "frrvty" and set to ug=rw,o= though. Check /etc/pam.d/frr, too.
|
|
||||||
#
|
|
||||||
watchfrr_enable=yes
|
|
||||||
watchfrr_options="-r '/usr/lib/frr/frr restart %s' -s '/usr/lib/frr/frr start %s' -k '/usr/lib/frr/frr stop %s'"
|
|
||||||
#
|
|
||||||
zebra=yes
|
|
||||||
bgpd=yes
|
|
||||||
ospfd=no
|
|
||||||
ospf6d=no
|
|
||||||
ripd=no
|
|
||||||
ripngd=no
|
|
||||||
isisd=no
|
|
||||||
pimd=no
|
|
||||||
nhrpd=no
|
|
||||||
eigrpd=no
|
|
||||||
sharpd=no
|
|
||||||
pbrd=no
|
|
||||||
staticd=yes
|
|
||||||
bfdd=yes
|
|
||||||
fabricd=no
|
|
||||||
|
|
||||||
#
|
|
||||||
# Command line options for the daemons
|
|
||||||
#
|
|
||||||
zebra_options=("-A 127.0.0.1")
|
|
||||||
bgpd_options=("-A 127.0.0.1")
|
|
||||||
ospfd_options=("-A 127.0.0.1")
|
|
||||||
ospf6d_options=("-A ::1")
|
|
||||||
ripd_options=("-A 127.0.0.1")
|
|
||||||
ripngd_options=("-A ::1")
|
|
||||||
isisd_options=("-A 127.0.0.1")
|
|
||||||
pimd_options=("-A 127.0.0.1")
|
|
||||||
nhrpd_options=("-A 127.0.0.1")
|
|
||||||
eigrpd_options=("-A 127.0.0.1")
|
|
||||||
sharpd_options=("-A 127.0.0.1")
|
|
||||||
pbrd_options=("-A 127.0.0.1")
|
|
||||||
staticd_options=("-A 127.0.0.1")
|
|
||||||
bfdd_options=("-A 127.0.0.1")
|
|
||||||
fabricd_options=("-A 127.0.0.1")
|
|
||||||
|
|
||||||
#
|
|
||||||
# If the vtysh_enable is yes, then the unified config is read
|
|
||||||
# and applied if it exists. If no unified frr.conf exists
|
|
||||||
# then the per-daemon <daemon>.conf files are used)
|
|
||||||
# If vtysh_enable is no or non-existant, the frr.conf is ignored.
|
|
||||||
# it is highly suggested to have this set to yes
|
|
||||||
vtysh_enable=yes
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
source /usr/lib/frr/frrcommon.sh
|
|
||||||
/usr/lib/frr/watchfrr $(daemon_list)
|
|
@ -1,53 +0,0 @@
|
|||||||
frr defaults traditional
|
|
||||||
log file /var/log/frr/frr.log
|
|
||||||
log syslog informational
|
|
||||||
log stdout debugging
|
|
||||||
ipv6 forwarding
|
|
||||||
service integrated-vtysh-config
|
|
||||||
!
|
|
||||||
debug bgp updates in
|
|
||||||
debug bgp updates out
|
|
||||||
debug bgp zebra
|
|
||||||
!
|
|
||||||
interface eth0
|
|
||||||
no ipv6 nd suppress-ra
|
|
||||||
ipv6 nd ra-interval 10
|
|
||||||
!
|
|
||||||
router bgp OCPASN
|
|
||||||
bgp router-id OCPROUTERID
|
|
||||||
bgp bestpath as-path multipath-relax
|
|
||||||
bgp bestpath compare-routerid
|
|
||||||
!
|
|
||||||
neighbor OCPnodes peer-group
|
|
||||||
neighbor OCPnodes description Internal OCP Nodes
|
|
||||||
neighbor OCPnodes remote-as OCPASN
|
|
||||||
neighbor OCPnodes bfd
|
|
||||||
neighbor OCPnodes capability extended-nexthop
|
|
||||||
!neighbor eth0 interface peer-group OCPnodes
|
|
||||||
!neighbor OCPPEER remote-as OCPASN peer-group OCPnodes
|
|
||||||
neighbor OCPPEER peer-group OCPnodes
|
|
||||||
!
|
|
||||||
address-family ipv4 unicast
|
|
||||||
redistribute connected
|
|
||||||
neighbor OCPnodes activate
|
|
||||||
exit-address-family
|
|
||||||
!
|
|
||||||
address-family ipv6 unicast
|
|
||||||
redistribute connected
|
|
||||||
neighbor OCPnodes activate
|
|
||||||
neighbor OCPnodes nexthop-local unchanged
|
|
||||||
exit-address-family
|
|
||||||
!
|
|
||||||
!
|
|
||||||
bfd
|
|
||||||
peer OCPPEER vrf default interface eth0
|
|
||||||
receive-interval 2000
|
|
||||||
transmit-interval 2000
|
|
||||||
echo-mode
|
|
||||||
echo-interval 3000
|
|
||||||
no shutdown
|
|
||||||
exit
|
|
||||||
!
|
|
||||||
line vty
|
|
||||||
!
|
|
||||||
|
|
124
frr-image/frr.sh
124
frr-image/frr.sh
@ -1,124 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
#set -euo pipefail
|
|
||||||
|
|
||||||
# Enable verbose shell output if FRR_SH_VERBOSE is set to 'true'
|
|
||||||
if [[ "${FRR_SH_VERBOSE:-}" == "true" ]]; then
|
|
||||||
set -x
|
|
||||||
fi
|
|
||||||
|
|
||||||
# The argument to the command is the operation to be performed
|
|
||||||
# frr-node display display_env
|
|
||||||
# a cmd must be provided, there is no default
|
|
||||||
cmd=${1:-""}
|
|
||||||
|
|
||||||
# The frr user id, by default it is going to be frr:frr
|
|
||||||
frr_user_id=${FRR_USER_ID:-""}
|
|
||||||
|
|
||||||
# frr options
|
|
||||||
frr_options=${FRR_OPTIONS:-""}
|
|
||||||
|
|
||||||
# This script is the entrypoint to the image.
|
|
||||||
# frr.sh version (update when API between daemonset and script changes - v.x.y)
|
|
||||||
frr_version="3"
|
|
||||||
|
|
||||||
# The daemonset version must be compatible with this script.
|
|
||||||
# The default when FRR_DAEMONSET_VERSION is not set is version 3
|
|
||||||
frr_daemonset_version=${FRR_DAEMONSET_VERSION:-"3"}
|
|
||||||
|
|
||||||
# hostname is the host's hostname when using host networking,
|
|
||||||
# This is useful on the master
|
|
||||||
# otherwise it is the container ID (useful for debugging).
|
|
||||||
frr_pod_host=${K8S_NODE:-$(hostname)}
|
|
||||||
|
|
||||||
# The ovs user id, by default it is going to be root:root
|
|
||||||
frr_user_id=${FRR_USER_ID:-""}
|
|
||||||
|
|
||||||
# frr options
|
|
||||||
frr_options=${FRR_OPTIONS:-""}
|
|
||||||
|
|
||||||
# frr.conf variables
|
|
||||||
ocp_asn=${OCPASN:-65000}
|
|
||||||
ocp_routerid=${OCPROUTERID:-"10.10.10.1"}
|
|
||||||
ocp_peer=${OCPPEER:-"10.10.10.1"}
|
|
||||||
|
|
||||||
FRR_ETCDIR=/etc/frr
|
|
||||||
FRR_RUNDIR=/var/run/frr
|
|
||||||
FRR_LOGDIR=/var/log/frr
|
|
||||||
|
|
||||||
# =========================================
|
|
||||||
|
|
||||||
setup_frr_permissions() {
|
|
||||||
chown -R ${frr_user_id} ${FRR_RUNDIR}
|
|
||||||
chown -R ${frr_user_id} ${FRR_LOGDIR}
|
|
||||||
chown -R ${frr_user_id} ${FRR_ETCDIR}
|
|
||||||
}
|
|
||||||
|
|
||||||
# =========================================
|
|
||||||
|
|
||||||
display_version() {
|
|
||||||
echo " =================== hostname: ${frr_pod_host}"
|
|
||||||
echo " =================== daemonset version ${frr_daemonset_version}"
|
|
||||||
if [[ -f /root/git_info ]]; then
|
|
||||||
disp_ver=$(cat /root/git_info)
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
display_env() {
|
|
||||||
echo FRR_USER_ID ${frr_user_id}
|
|
||||||
echo FRR_OPTIONS ${frr_options}
|
|
||||||
echo frr.sh version ${frr_version}
|
|
||||||
echo ocp_asn ${ocp_asn}
|
|
||||||
echo ocp_routerid ${ocp_routerid}
|
|
||||||
echo ocp_peer ${ocp_peer}
|
|
||||||
}
|
|
||||||
|
|
||||||
# frr-node - all nodes
|
|
||||||
frr-node() {
|
|
||||||
trap 'kill $(jobs -p) ; exit 0' TERM
|
|
||||||
rm -f ${FRR_RUNDIR}/frr.pid
|
|
||||||
echo "=============== frr-node ========== update frr.conf"
|
|
||||||
sed -i "s/OCPASN/$ocp_asn/" /etc/frr/frr.conf
|
|
||||||
sed -i "s/OCPPEER/$ocp_peer/" /etc/frr/frr.conf
|
|
||||||
sed -i "s/OCPROUTERID/$ocp_routerid/" /etc/frr/frr.conf
|
|
||||||
|
|
||||||
#chown -R frr:frr /etc/frr
|
|
||||||
chown -R frr:frr ${FRR_RUNDIR}
|
|
||||||
echo "=============== frr-node ========== starting"
|
|
||||||
# /usr/lib/frr/frrinit.sh start
|
|
||||||
# bash -x /usr/lib/frr/frrinit.sh start
|
|
||||||
bash -x
|
|
||||||
/usr/lib/frr/frrinit.sh start
|
|
||||||
frrResult=$?
|
|
||||||
echo "=============== frrinit result is ${frrResult} "
|
|
||||||
|
|
||||||
# Sleep forever
|
|
||||||
exec tail -f /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "================== frr.sh --- version: ${frr_version} ================"
|
|
||||||
|
|
||||||
display_version
|
|
||||||
|
|
||||||
display_env
|
|
||||||
|
|
||||||
case ${cmd} in
|
|
||||||
"frr-node")
|
|
||||||
frr-node
|
|
||||||
;;
|
|
||||||
"display_env")
|
|
||||||
display_env
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
"display")
|
|
||||||
display
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "invalid command ${cmd}"
|
|
||||||
echo "valid v3 commands: frr-node display_env display "
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit 0
|
|
36
ip-address-manager-image/Dockerfile
Normal file
36
ip-address-manager-image/Dockerfile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#!BuildTag: %%IMG_PREFIX%%ip-address-manager:v%%ip-address-manager_version%%
|
||||||
|
#!BuildTag: %%IMG_PREFIX%%ip-address-manager:%%ip-address-manager_version%%
|
||||||
|
#!BuildTag: %%IMG_PREFIX%%ip-address-manager:%%ip-address-manager_version%%-%RELEASE%
|
||||||
|
#!BuildVersion: 15.6
|
||||||
|
ARG SLE_VERSION
|
||||||
|
FROM registry.suse.com/bci/bci-micro:$SLE_VERSION AS micro
|
||||||
|
|
||||||
|
FROM registry.suse.com/bci/bci-base:$SLE_VERSION AS base
|
||||||
|
COPY --from=micro / /installroot/
|
||||||
|
RUN zypper --installroot /installroot --non-interactive install --no-recommends ip-address-manager shadow; zypper -n clean; rm -rf /var/log/*
|
||||||
|
|
||||||
|
FROM micro AS final
|
||||||
|
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
||||||
|
# labelprefix=com.suse.application.ip-address-manager
|
||||||
|
LABEL org.opencontainers.image.authors="SUSE LLC (https://www.suse.com/)"
|
||||||
|
LABEL org.opencontainers.image.title="SLE ip-address-manager Container Image"
|
||||||
|
LABEL org.opencontainers.image.description="ip-address-manager based on the SLE Base Container Image."
|
||||||
|
LABEL org.opencontainers.image.version="%%ip-address-manager_version%%"
|
||||||
|
LABEL org.opencontainers.image.url="https://www.suse.com/products/server/"
|
||||||
|
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||||
|
LABEL org.opencontainers.image.vendor="SUSE LLC"
|
||||||
|
LABEL org.opensuse.reference="%%IMG_REPO%%/%%IMG_PREFIX%%ip-address-manager:%%ip-address-manager_version%%-%RELEASE%"
|
||||||
|
LABEL org.openbuildservice.disturl="%DISTURL%"
|
||||||
|
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
||||||
|
LABEL com.suse.eula="SUSE Combined EULA February 2024"
|
||||||
|
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle"
|
||||||
|
LABEL com.suse.image-type="application"
|
||||||
|
LABEL com.suse.release-stage="released"
|
||||||
|
# endlabelprefix
|
||||||
|
|
||||||
|
COPY --from=base /installroot /
|
||||||
|
RUN mv /usr/bin/ip-address-manager /manager
|
||||||
|
# Use uid of nonroot user (65532) because kubernetes expects numeric user when applying pod security policies
|
||||||
|
USER 65532
|
||||||
|
ENTRYPOINT [ "/manager" ]
|
@ -1,6 +1,12 @@
|
|||||||
<services>
|
<services>
|
||||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||||
<service mode="buildtime" name="docker_label_helper"/>
|
<service mode="buildtime" name="docker_label_helper"/>
|
||||||
|
<service name="replace_using_package_version" mode="buildtime">
|
||||||
|
<param name="file">Dockerfile</param>
|
||||||
|
<param name="regex">%%ip-address-manager_version%%</param>
|
||||||
|
<param name="package">ip-address-manager</param>
|
||||||
|
<param name="parse-version">patch</param>
|
||||||
|
</service>
|
||||||
<service name="replace_using_env" mode="buildtime">
|
<service name="replace_using_env" mode="buildtime">
|
||||||
<param name="file">Dockerfile</param>
|
<param name="file">Dockerfile</param>
|
||||||
<param name="eval">IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})</param>
|
<param name="eval">IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})</param>
|
23
ip-address-manager/_service
Normal file
23
ip-address-manager/_service
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm">
|
||||||
|
<param name="url">https://github.com/metal3-io/ip-address-manager</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">v1.7.2</param>
|
||||||
|
<param name="version">_auto_</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="changesauthor">steven.hardy@suse.com</param>
|
||||||
|
<param name="match-tag">v*</param>
|
||||||
|
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
|
||||||
|
<param name="without-version">yes</param>
|
||||||
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="tar" />
|
||||||
|
<service mode="buildtime" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
<service name="go_modules">
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="set_version" />
|
||||||
|
</services>
|
51
ip-address-manager/ip-address-manager.spec
Normal file
51
ip-address-manager/ip-address-manager.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ip-address-manager
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: ip-address-manager
|
||||||
|
Version: 1.7.2
|
||||||
|
Release: 0
|
||||||
|
Summary: Metal3 IPAM controller
|
||||||
|
License: Apache-2.0
|
||||||
|
URL: https://github.com/metal3-io/ip-address-manager
|
||||||
|
Source: ip-address-manager-%{version}.tar.gz
|
||||||
|
Source1: vendor.tar.gz
|
||||||
|
BuildRequires: golang(API) = 1.22
|
||||||
|
ExcludeArch: s390
|
||||||
|
ExcludeArch: %{ix86}
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
Metal3 IPAM controller
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -a1 -n ip-address-manager-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
go build \
|
||||||
|
-mod=vendor \
|
||||||
|
-buildmode=pie \
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -D -m0755 ip-address-manager %{buildroot}%{_bindir}/ip-address-manager
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/ip-address-manager
|
||||||
|
|
||||||
|
%changelog
|
Binary file not shown.
@ -1,6 +1,5 @@
|
|||||||
#!BuildTag: %%IMG_PREFIX%%kiwi-builder:10.1.16.0
|
#!BuildTag: kiwi-builder:10.1
|
||||||
#!BuildTag: %%IMG_PREFIX%%kiwi-builder:10.1.16.0-%RELEASE%
|
FROM registry.suse.com/bci/kiwi:10.1.10
|
||||||
FROM registry.suse.com/bci/kiwi:10.1.16
|
|
||||||
MAINTAINER SUSE LLC (https://www.suse.com/)
|
MAINTAINER SUSE LLC (https://www.suse.com/)
|
||||||
|
|
||||||
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
||||||
@ -12,7 +11,7 @@ LABEL org.opencontainers.image.version="%PACKAGE_VERSION%"
|
|||||||
LABEL org.opencontainers.image.url="https://www.suse.com/solutions/edge-computing/"
|
LABEL org.opencontainers.image.url="https://www.suse.com/solutions/edge-computing/"
|
||||||
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||||
LABEL org.opencontainers.image.vendor="SUSE LLC"
|
LABEL org.opencontainers.image.vendor="SUSE LLC"
|
||||||
LABEL org.opensuse.reference="%%IMG_REPO%%/%%IMG_PREFIX%%kiwi-builder:10.1.16.0"
|
LABEL org.opensuse.reference="%%IMG_REPO%%/%%IMG_PREFIX%%kiwi-builder:10.1"
|
||||||
LABEL org.openbuildservice.disturl="%DISTURL%"
|
LABEL org.openbuildservice.disturl="%DISTURL%"
|
||||||
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
||||||
LABEL com.suse.eula="SUSE Combined EULA February 2024"
|
LABEL com.suse.eula="SUSE Combined EULA February 2024"
|
||||||
@ -21,6 +20,10 @@ LABEL com.suse.image-type="application"
|
|||||||
LABEL com.suse.release-stage="released"
|
LABEL com.suse.release-stage="released"
|
||||||
# endlabelprefix
|
# endlabelprefix
|
||||||
|
|
||||||
|
# Install required packages for Kiwi to function as expected
|
||||||
|
# Should be provided via https://github.com/SUSE/BCI-dockerfile-generator/pull/1770
|
||||||
|
# RUN zypper in -y gawk && zypper clean -a
|
||||||
|
|
||||||
# Configure Kiwi to use kpartx
|
# Configure Kiwi to use kpartx
|
||||||
RUN echo -e "mapper:\n - part_mapper: kpartx" > /etc/kiwi.yml
|
RUN echo -e "mapper:\n - part_mapper: kpartx" > /etc/kiwi.yml
|
||||||
|
|
||||||
|
@ -8,40 +8,32 @@ Please ensure that you're running this on a registered SLE Micro 6.0 system, and
|
|||||||
|
|
||||||
Next, download the podman image:
|
Next, download the podman image:
|
||||||
|
|
||||||
# podman pull %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10.1.16.0
|
# podman pull %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10
|
||||||
|
|
||||||
Make a local output directory (where the images will reside):
|
Make a local output directory (where the images will reside):
|
||||||
|
|
||||||
# mkdir output
|
# mkdir output
|
||||||
|
|
||||||
Then, to build a standard "Base" image, run the following in podman:
|
|
||||||
|
|
||||||
# podman run --privileged -v /etc/zypp/repos.d:/micro-sdk/repos/ -v ./output:/tmp/output -it %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10.1.16.0 build-image
|
|
||||||
|
|
||||||
To build a "Base" SelfInstall ISO, you can add additional flags, for example:
|
|
||||||
|
|
||||||
# podman run --privileged -v /etc/zypp/repos.d:/micro-sdk/repos/ -v ./output:/tmp/output -it %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10.1.16.0 build-image -p Base-SelfInstall
|
|
||||||
|
|
||||||
Then, to build a standard "Default" image, run the following in podman:
|
Then, to build a standard "Default" image, run the following in podman:
|
||||||
|
|
||||||
# podman run --privileged -v /etc/zypp/repos.d:/micro-sdk/repos/ -v ./output:/tmp/output -it %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10.1.16.0 build-image -p Default
|
# podman run --privileged -v /etc/zypp/repos.d:/micro-sdk/repos/ -v ./output:/tmp/output -it %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10 build-image
|
||||||
|
|
||||||
To build a "Default" SelfInstall ISO, you can add additional flags, for example:
|
To build a SelfInstall ISO, you can add additional flags, for example:
|
||||||
|
|
||||||
# podman run --privileged -v /etc/zypp/repos.d:/micro-sdk/repos/ -v ./output:/tmp/output -it %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10.1.16.0 build-image -p Default-SelfInstall
|
# podman run --privileged -v /etc/zypp/repos.d:/micro-sdk/repos/ -v ./output:/tmp/output -it %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10 build-image -p Default-SelfInstall
|
||||||
|
|
||||||
To build an image with a RealTime kernel, e.g. a RAW disk image ("Default"), use the following:
|
To build an image with a RealTime kernel, e.g. a RAW disk image ("Default"), use the following:
|
||||||
|
|
||||||
# podman run --privileged -v /etc/zypp/repos.d:/micro-sdk/repos/ -v ./output:/tmp/output -it %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10.1.16.0 build-image -p Base-RT
|
# podman run --privileged -v /etc/zypp/repos.d:/micro-sdk/repos/ -v ./output:/tmp/output -it %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10 build-image -p Base-RT
|
||||||
|
|
||||||
To build an image that supports a large block/sectorsize (4096), use the "-b" flag, for example:
|
To build an image that supports a large block/sectorsize (4096), use the "-b" flag, for example:
|
||||||
|
|
||||||
# podman run --privileged -v /etc/zypp/repos.d:/micro-sdk/repos/ -v ./output:/tmp/output -it %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10.1.16.0 build-image -p Default-SelfInstall -b
|
# podman run --privileged -v /etc/zypp/repos.d:/micro-sdk/repos/ -v ./output:/tmp/output -it %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10 build-image -p Default-SelfInstall -b
|
||||||
|
|
||||||
# mkdir mydefs/
|
# mkdir mydefs/
|
||||||
# cp /path/to/SL-Micro.kiwi mydefs/
|
# cp /path/to/SL-Micro.kiwi mydefs/
|
||||||
# cp /path/to/config.sh mydefs/
|
# cp /path/to/config.sh mydefs/
|
||||||
# podman run --privileged -v /etc/zypp/repos.d:/micro-sdk/repos/ -v ./output:/tmp/output -v ./mydefs/:/micro-sdk/defs/ -it %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10.1.16.0 build-image
|
# podman run --privileged -v /etc/zypp/repos.d:/micro-sdk/repos/ -v ./output:/tmp/output -v ./mydefs/:/micro-sdk/defs/ -it %%IMG_REPO%%/%%IMG_PREFIXkiwi-builder:10 build-image
|
||||||
|
|
||||||
All output will be in the local $(pwd)/output directory, for example:
|
All output will be in the local $(pwd)/output directory, for example:
|
||||||
|
|
||||||
|
@ -21,45 +21,43 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Set image build defaults, blocksize is an empty string
|
# Set image build defaults, blocksize is an empty string
|
||||||
PROFILE="Base"
|
PROFILE="Default"
|
||||||
LARGEBLOCK=false
|
LARGEBLOCK=false
|
||||||
|
|
||||||
# Print usage
|
# Print usage
|
||||||
usage(){
|
usage(){
|
||||||
cat <<-EOF
|
cat <<-EOF
|
||||||
==============================
|
==============================
|
||||||
SLE Micro 6.0 Kiwi SDK Builder
|
SLE Micro 6.0 Kiwi SDK Builder
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
Usage: ${0} [-p <profile>] [-b]
|
Usage: ${0} [-p <profile>] [-b]
|
||||||
|
|
||||||
Profile Options (-p):
|
Profile Options (-p):
|
||||||
* Base: RAW Disk Image with podman
|
* Default: RAW Disk Image with kernel-default
|
||||||
* Base-SelfInstall: SelfInstall ISO with podman
|
* Default-SelfInstall: SelfInstall ISO with kernel-default
|
||||||
* Default: RAW Disk Image with podman and kvm
|
* Base-RT: RAW Disk Image with kernel-rt
|
||||||
* Default-SelfInstall: SelfInstall ISO with podman and kvm
|
* Base-RT-SelfInstall: SelfInstall ISO with kernel-rt
|
||||||
* Base-RT: RAW Disk Image with kernel-rt
|
|
||||||
* Base-RT-SelfInstall: SelfInstall ISO with kernel-rt
|
|
||||||
|
|
||||||
4096 Blocksize (-b): If specified, use a 4096 blocksize (rather than 512) when generating the image.
|
4096 Blocksize (-b): If specified, use a 4096 blocksize (rather than 512) when generating the image.
|
||||||
|
|
||||||
NOTE: If both options are omitted, the "Base" profile with a standard "512" blocksize is used.
|
NOTE: If both options are omitted, the "Default" profile with a standard "512" blocksize is used.
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
# Grab CLI options and handle
|
# Grab CLI options and handle
|
||||||
while getopts 'p:bh' OPTION; do
|
while getopts 'p:bh' OPTION; do
|
||||||
case "${OPTION}" in
|
case "${OPTION}" in
|
||||||
p)
|
p)
|
||||||
PROFILE="${OPTARG}"
|
PROFILE="${OPTARG}"
|
||||||
;;
|
;;
|
||||||
b)
|
b)
|
||||||
LARGEBLOCK=true
|
LARGEBLOCK=true
|
||||||
;;
|
;;
|
||||||
?)
|
?)
|
||||||
usage && exit 2
|
usage && exit 2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
# To avoid wasting time, perform the loop creation test first, and exit with a warning to re-run.
|
# To avoid wasting time, perform the loop creation test first, and exit with a warning to re-run.
|
||||||
@ -90,4 +88,4 @@ if [ $RESULT -eq 0 ]; then
|
|||||||
echo -e "\n\nINFO: Image build successful, generated images are available in the 'output' directory."
|
echo -e "\n\nINFO: Image build successful, generated images are available in the 'output' directory."
|
||||||
else
|
else
|
||||||
echo -e "\n\nERROR: Failed to build the image, please see above logs."
|
echo -e "\n\nERROR: Failed to build the image, please see above logs."
|
||||||
fi
|
fi
|
@ -1,34 +0,0 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
#!BuildTag: %%IMG_PREFIX%%kubectl:1.30.3
|
|
||||||
#!BuildTag: %%IMG_PREFIX%%kubectl:1.30.3-%RELEASE%
|
|
||||||
#!BuildVersion: 15.6
|
|
||||||
ARG SLE_VERSION
|
|
||||||
FROM registry.suse.com/bci/bci-micro:$SLE_VERSION AS micro
|
|
||||||
|
|
||||||
FROM registry.suse.com/bci/bci-base:$SLE_VERSION AS base
|
|
||||||
COPY --from=micro / /installroot/
|
|
||||||
RUN zypper --installroot /installroot --non-interactive install --no-recommends kubectl; zypper -n clean; rm -rf /var/log/*
|
|
||||||
|
|
||||||
FROM micro AS final
|
|
||||||
|
|
||||||
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
|
||||||
# labelprefix=com.suse.application.kubectl
|
|
||||||
LABEL org.opencontainers.image.authors="SUSE LLC (https://www.suse.com/)"
|
|
||||||
LABEL org.opencontainers.image.title="SLE kubectl image"
|
|
||||||
LABEL org.opencontainers.image.description="kubectl on the SLE Base Container Image."
|
|
||||||
LABEL org.opencontainers.image.version="1.30.3"
|
|
||||||
LABEL org.opencontainers.image.url="https://www.suse.com/solutions/edge-computing/"
|
|
||||||
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
|
||||||
LABEL org.opencontainers.image.vendor="SUSE LLC"
|
|
||||||
LABEL org.opensuse.reference="%%IMG_REPO%%/%%IMG_PREFIX%%kubectl:1.30.3-%RELEASE%"
|
|
||||||
LABEL org.openbuildservice.disturl="%DISTURL%"
|
|
||||||
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
|
||||||
LABEL com.suse.eula="SUSE Combined EULA February 2024"
|
|
||||||
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle"
|
|
||||||
LABEL com.suse.image-type="application"
|
|
||||||
LABEL com.suse.release-stage="released"
|
|
||||||
# endlabelprefix
|
|
||||||
|
|
||||||
COPY --from=base /installroot /
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/kubectl"]
|
|
@ -1,6 +1,6 @@
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: kubectl
|
Name: kubectl-1303
|
||||||
Version: 1.30.3
|
Version: 1.30.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Command-line utility for interacting with a Kubernetes cluster
|
Summary: Command-line utility for interacting with a Kubernetes cluster
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!BuildTag: %%IMG_PREFIX%%kubevirt-chart:%%CHART_MAJOR%%.0.0_up0.4.0-%RELEASE%
|
#!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:%%CHART_MAJOR%%.0.0_up0.4.0-%RELEASE%
|
||||||
#!BuildTag: %%IMG_PREFIX%%kubevirt-chart:%%CHART_MAJOR%%.0.0_up0.4.0
|
#!BuildTag: %%IMG_PREFIX%%sriov-crd-chart:%%CHART_MAJOR%%.0.0_up0.4.0
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 1.3.1
|
appVersion: 1.3.1
|
||||||
description: A Helm chart for KubeVirt
|
description: A Helm chart for KubeVirt
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!BuildTag: %%IMG_PREFIX%%kubevirt-dashboard-extension-chart:%%CHART_MAJOR%%.0.0_up1.2.1
|
#!BuildTag: %%IMG_PREFIX%%kubevirt-dashboard-extension-chart:%%CHART_MAJOR%%.0.0_up1.2.0
|
||||||
#!BuildTag: %%IMG_PREFIX%%kubevirt-dashboard-extension-chart:%%CHART_MAJOR%%.0.0_up1.2.1-%RELEASE%
|
#!BuildTag: %%IMG_PREFIX%%kubevirt-dashboard-extension-chart:%%CHART_MAJOR%%.0.0_up1.2.0-%RELEASE%
|
||||||
annotations:
|
annotations:
|
||||||
catalog.cattle.io/certified: rancher
|
catalog.cattle.io/certified: rancher
|
||||||
catalog.cattle.io/display-name: KubeVirt
|
catalog.cattle.io/display-name: KubeVirt
|
||||||
@ -10,11 +10,11 @@ annotations:
|
|||||||
catalog.cattle.io/rancher-version: '>= 2.10.0-0'
|
catalog.cattle.io/rancher-version: '>= 2.10.0-0'
|
||||||
catalog.cattle.io/scope: management
|
catalog.cattle.io/scope: management
|
||||||
catalog.cattle.io/ui-component: plugins
|
catalog.cattle.io/ui-component: plugins
|
||||||
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
|
catalog.cattle.io/ui-extensions-version: '>= 3.0.0'
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 1.2.1
|
appVersion: 1.2.0
|
||||||
description: 'SUSE Edge: KubeVirt extension for Rancher Dashboard'
|
description: 'SUSE Edge: KubeVirt extension for Rancher Dashboard'
|
||||||
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/kubevirt/icon/color/kubevirt-icon-color.svg
|
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/kubevirt/icon/color/kubevirt-icon-color.svg
|
||||||
name: kubevirt-dashboard-extension
|
name: kubevirt-dashboard-extension
|
||||||
type: application
|
type: application
|
||||||
version: "%%CHART_MAJOR%%.0.0+up1.2.1"
|
version: "%%CHART_MAJOR%%.0.0+up1.2.0"
|
||||||
|
@ -8,7 +8,7 @@ spec:
|
|||||||
plugin:
|
plugin:
|
||||||
name: {{ include "extension-server.fullname" . }}
|
name: {{ include "extension-server.fullname" . }}
|
||||||
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
|
version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
|
||||||
endpoint: https://raw.githubusercontent.com/suse-edge/dashboard-extensions/gh-pages/extensions/kubevirt-dashboard-extension/1.2.1
|
endpoint: https://raw.githubusercontent.com/suse-edge/dashboard-extensions/gh-pages/extensions/kubevirt-dashboard-extension/1.2.0
|
||||||
noCache: {{ .Values.plugin.noCache }}
|
noCache: {{ .Values.plugin.noCache }}
|
||||||
noAuth: {{ .Values.plugin.noAuth }}
|
noAuth: {{ .Values.plugin.noAuth }}
|
||||||
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
|
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
|
@ -8,5 +8,5 @@ plugin:
|
|||||||
metadata:
|
metadata:
|
||||||
catalog.cattle.io/display-name: KubeVirt
|
catalog.cattle.io/display-name: KubeVirt
|
||||||
catalog.cattle.io/rancher-version: ">= 2.10.0-0"
|
catalog.cattle.io/rancher-version: ">= 2.10.0-0"
|
||||||
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
|
catalog.cattle.io/ui-extensions-version: ">= 3.0.0"
|
||||||
catalog.cattle.io/kube-version: ">= v1.26.0-0"
|
catalog.cattle.io/kube-version: ">= v1.26.0-0"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#!BuildTag: %%IMG_PREFIX%%rancher-turtles-airgap-resources-chart:%%CHART_MAJOR%%.0.0_up0.14.1
|
#!BuildTag: %%IMG_PREFIX%%rancher-turtles-airgap-resources-chart:%%CHART_MAJOR%%.0.0_up0.13.0
|
||||||
#!BuildTag: %%IMG_PREFIX%%rancher-turtles-airgap-resources-chart:%%CHART_MAJOR%%.0.0_up0.14.1
|
#!BuildTag: %%IMG_PREFIX%%rancher-turtles-airgap-resources-chart:%%CHART_MAJOR%%.0.0_up0.13.0
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.14.1
|
appVersion: 0.13.0
|
||||||
description: Rancher Turtles utility chart for airgap scenarios
|
description: Rancher Turtles utility chart for airgap scenarios
|
||||||
home: https://github.com/rancher/turtles/
|
home: https://github.com/rancher/turtles/
|
||||||
icon: https://raw.githubusercontent.com/rancher/turtles/main/logos/capi.svg
|
icon: https://raw.githubusercontent.com/rancher/turtles/main/logos/capi.svg
|
||||||
name: rancher-turtles-airgap-resources
|
name: rancher-turtles-airgap-resources
|
||||||
type: application
|
type: application
|
||||||
version: "%%CHART_MAJOR%%.0.0+up0.14.1"
|
version: "%%CHART_MAJOR%%.0.0+up0.13.0"
|
||||||
|
File diff suppressed because one or more lines are too long
@ -35,6 +35,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: ipam-webhook-service
|
name: ipam-webhook-service
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
@ -207,6 +208,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: ipam-webhook-service
|
name: ipam-webhook-service
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
@ -367,6 +369,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: ipam-webhook-service
|
name: ipam-webhook-service
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
@ -533,6 +536,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: capm3-webhook-service
|
name: capm3-webhook-service
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
@ -695,91 +699,6 @@ data:
|
|||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/inject-ca-from: capm3-system/capm3-serving-cert
|
|
||||||
controller-gen.kubebuilder.io/version: v0.13.0
|
|
||||||
labels:
|
|
||||||
cluster.x-k8s.io/provider: infrastructure-metal3
|
|
||||||
cluster.x-k8s.io/v1beta1: v1beta1
|
|
||||||
name: metal3clustertemplates.infrastructure.cluster.x-k8s.io
|
|
||||||
spec:
|
|
||||||
group: infrastructure.cluster.x-k8s.io
|
|
||||||
names:
|
|
||||||
categories:
|
|
||||||
- cluster-api
|
|
||||||
kind: Metal3ClusterTemplate
|
|
||||||
listKind: Metal3ClusterTemplateList
|
|
||||||
plural: metal3clustertemplates
|
|
||||||
shortNames:
|
|
||||||
- m3ct
|
|
||||||
singular: metal3clustertemplate
|
|
||||||
scope: Namespaced
|
|
||||||
versions:
|
|
||||||
- name: v1beta1
|
|
||||||
schema:
|
|
||||||
openAPIV3Schema:
|
|
||||||
description: Metal3ClusterTemplate is the Schema for the metal3clustertemplates
|
|
||||||
API.
|
|
||||||
properties:
|
|
||||||
apiVersion:
|
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
|
||||||
of an object. Servers should convert recognized schemas to the latest
|
|
||||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
|
||||||
type: string
|
|
||||||
kind:
|
|
||||||
description: 'Kind is a string value representing the REST resource this
|
|
||||||
object represents. Servers may infer this from the endpoint the client
|
|
||||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
|
||||||
type: string
|
|
||||||
metadata:
|
|
||||||
type: object
|
|
||||||
spec:
|
|
||||||
description: Metal3ClusterTemplateSpec defines the desired state of Metal3ClusterTemplate.
|
|
||||||
properties:
|
|
||||||
template:
|
|
||||||
description: Metal3ClusterTemplateResource describes the data for
|
|
||||||
creating a Metal3Cluster from a template.
|
|
||||||
properties:
|
|
||||||
spec:
|
|
||||||
description: Metal3ClusterSpec defines the desired state of Metal3Cluster.
|
|
||||||
properties:
|
|
||||||
controlPlaneEndpoint:
|
|
||||||
description: ControlPlaneEndpoint represents the endpoint
|
|
||||||
used to communicate with the control plane.
|
|
||||||
properties:
|
|
||||||
host:
|
|
||||||
description: Host is the hostname on which the API server
|
|
||||||
is serving.
|
|
||||||
type: string
|
|
||||||
port:
|
|
||||||
description: Port is the port on which the API server
|
|
||||||
is serving.
|
|
||||||
type: integer
|
|
||||||
required:
|
|
||||||
- host
|
|
||||||
- port
|
|
||||||
type: object
|
|
||||||
noCloudProvider:
|
|
||||||
description: Determines if the cluster is not to be deployed
|
|
||||||
with an external cloud provider. If set to true, CAPM3 will
|
|
||||||
use node labels to set providerID on the kubernetes nodes.
|
|
||||||
If set to false, providerID is set on nodes by other entities
|
|
||||||
and CAPM3 uses the value of the providerID on the m3m resource.
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- spec
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- template
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
served: true
|
|
||||||
storage: true
|
|
||||||
---
|
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
|
||||||
kind: CustomResourceDefinition
|
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/inject-ca-from: capm3-system/capm3-serving-cert
|
cert-manager.io/inject-ca-from: capm3-system/capm3-serving-cert
|
||||||
@ -793,6 +712,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: capm3-webhook-service
|
name: capm3-webhook-service
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
@ -948,6 +868,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: capm3-webhook-service
|
name: capm3-webhook-service
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
@ -1143,6 +1064,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: capm3-webhook-service
|
name: capm3-webhook-service
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
@ -2156,6 +2078,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: capm3-webhook-service
|
name: capm3-webhook-service
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
@ -2227,17 +2150,6 @@ data:
|
|||||||
- metadata
|
- metadata
|
||||||
- disabled
|
- disabled
|
||||||
type: string
|
type: string
|
||||||
customDeploy:
|
|
||||||
description: A custom deploy procedure.
|
|
||||||
properties:
|
|
||||||
method:
|
|
||||||
description: Custom deploy method name. This name is specific
|
|
||||||
to the deploy ramdisk used. If you don't have a custom deploy
|
|
||||||
ramdisk, you shouldn't use CustomDeploy.
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- method
|
|
||||||
type: object
|
|
||||||
dataTemplate:
|
dataTemplate:
|
||||||
description: MetadataTemplate is a reference to a Metal3DataTemplate
|
description: MetadataTemplate is a reference to a Metal3DataTemplate
|
||||||
object containing a template of metadata to be rendered. Metadata
|
object containing a template of metadata to be rendered. Metadata
|
||||||
@ -2390,6 +2302,8 @@ data:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
|
required:
|
||||||
|
- image
|
||||||
type: object
|
type: object
|
||||||
status:
|
status:
|
||||||
description: Metal3MachineStatus defines the observed state of Metal3Machine.
|
description: Metal3MachineStatus defines the observed state of Metal3Machine.
|
||||||
@ -2607,6 +2521,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: capm3-webhook-service
|
name: capm3-webhook-service
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
@ -2676,17 +2591,6 @@ data:
|
|||||||
- metadata
|
- metadata
|
||||||
- disabled
|
- disabled
|
||||||
type: string
|
type: string
|
||||||
customDeploy:
|
|
||||||
description: A custom deploy procedure.
|
|
||||||
properties:
|
|
||||||
method:
|
|
||||||
description: Custom deploy method name. This name is specific
|
|
||||||
to the deploy ramdisk used. If you don't have a custom
|
|
||||||
deploy ramdisk, you shouldn't use CustomDeploy.
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- method
|
|
||||||
type: object
|
|
||||||
dataTemplate:
|
dataTemplate:
|
||||||
description: MetadataTemplate is a reference to a Metal3DataTemplate
|
description: MetadataTemplate is a reference to a Metal3DataTemplate
|
||||||
object containing a template of metadata to be rendered.
|
object containing a template of metadata to be rendered.
|
||||||
@ -2841,6 +2745,8 @@ data:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-map-type: atomic
|
x-kubernetes-map-type: atomic
|
||||||
|
required:
|
||||||
|
- image
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- spec
|
- spec
|
||||||
@ -2868,6 +2774,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: capm3-webhook-service
|
name: capm3-webhook-service
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
@ -2982,6 +2889,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: capm3-webhook-service
|
name: capm3-webhook-service
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
@ -3265,12 +3173,6 @@ data:
|
|||||||
- patch
|
- patch
|
||||||
- update
|
- update
|
||||||
- watch
|
- watch
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- pods
|
|
||||||
verbs:
|
|
||||||
- list
|
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- infrastructure.cluster.x-k8s.io
|
- infrastructure.cluster.x-k8s.io
|
||||||
resources:
|
resources:
|
||||||
@ -3489,13 +3391,6 @@ data:
|
|||||||
- get
|
- get
|
||||||
- patch
|
- patch
|
||||||
- update
|
- update
|
||||||
- apiGroups:
|
|
||||||
- storage.k8s.io
|
|
||||||
resources:
|
|
||||||
- volumeattachments
|
|
||||||
verbs:
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
@ -3739,7 +3634,7 @@ data:
|
|||||||
containers:
|
containers:
|
||||||
- args:
|
- args:
|
||||||
- --webhook-port=9443
|
- --webhook-port=9443
|
||||||
- --enableBMHNameBasedPreallocation=${ENABLE_BMH_NAME_BASED_PREALLOCATION:=false}
|
- --enableBMHNameBasedPreallocation=${enableBMHNameBasedPreallocation:=false}
|
||||||
- --diagnostics-address=${CAPM3_DIAGNOSTICS_ADDRESS:=:8443}
|
- --diagnostics-address=${CAPM3_DIAGNOSTICS_ADDRESS:=:8443}
|
||||||
- --insecure-diagnostics=${CAPM3_INSECURE_DIAGNOSTICS:=false}
|
- --insecure-diagnostics=${CAPM3_INSECURE_DIAGNOSTICS:=false}
|
||||||
command:
|
command:
|
||||||
@ -3752,7 +3647,7 @@ data:
|
|||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: capm3-capm3fasttrack-configmap
|
name: capm3-capm3fasttrack-configmap
|
||||||
image: registry.rancher.com/rancher/cluster-api-provider-metal3:v1.8.2
|
image: quay.io/metal3-io/cluster-api-provider-metal3:v1.7.2
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
@ -3781,7 +3676,6 @@ data:
|
|||||||
privileged: false
|
privileged: false
|
||||||
runAsGroup: 65532
|
runAsGroup: 65532
|
||||||
runAsUser: 65532
|
runAsUser: 65532
|
||||||
terminationMessagePolicy: FallbackToLogsOnError
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
||||||
name: cert
|
name: cert
|
||||||
@ -3837,7 +3731,7 @@ data:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
image: quay.io/metal3-io/ip-address-manager:v1.8.1
|
image: quay.io/metal3-io/ip-address-manager:v1.7.2
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
@ -3866,7 +3760,6 @@ data:
|
|||||||
privileged: false
|
privileged: false
|
||||||
runAsGroup: 65532
|
runAsGroup: 65532
|
||||||
runAsUser: 65532
|
runAsUser: 65532
|
||||||
terminationMessagePolicy: FallbackToLogsOnError
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
||||||
name: cert
|
name: cert
|
||||||
@ -3971,28 +3864,6 @@ data:
|
|||||||
resources:
|
resources:
|
||||||
- metal3clusters
|
- metal3clusters
|
||||||
sideEffects: None
|
sideEffects: None
|
||||||
- admissionReviewVersions:
|
|
||||||
- v1
|
|
||||||
- v1beta1
|
|
||||||
clientConfig:
|
|
||||||
service:
|
|
||||||
name: capm3-webhook-service
|
|
||||||
namespace: capm3-system
|
|
||||||
path: /mutate-infrastructure-cluster-x-k8s-io-v1beta1-metal3clustertemplate
|
|
||||||
failurePolicy: Fail
|
|
||||||
matchPolicy: Equivalent
|
|
||||||
name: default.metal3clustertemplate.infrastructure.cluster.x-k8s.io
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- infrastructure.cluster.x-k8s.io
|
|
||||||
apiVersions:
|
|
||||||
- v1beta1
|
|
||||||
operations:
|
|
||||||
- CREATE
|
|
||||||
- UPDATE
|
|
||||||
resources:
|
|
||||||
- metal3clustertemplates
|
|
||||||
sideEffects: None
|
|
||||||
- admissionReviewVersions:
|
- admissionReviewVersions:
|
||||||
- v1
|
- v1
|
||||||
- v1beta1
|
- v1beta1
|
||||||
@ -4255,28 +4126,6 @@ data:
|
|||||||
resources:
|
resources:
|
||||||
- metal3clusters
|
- metal3clusters
|
||||||
sideEffects: None
|
sideEffects: None
|
||||||
- admissionReviewVersions:
|
|
||||||
- v1
|
|
||||||
- v1beta1
|
|
||||||
clientConfig:
|
|
||||||
service:
|
|
||||||
name: capm3-webhook-service
|
|
||||||
namespace: capm3-system
|
|
||||||
path: /validate-infrastructure-cluster-x-k8s-io-v1beta1-metal3clustertemplate
|
|
||||||
failurePolicy: Fail
|
|
||||||
matchPolicy: Equivalent
|
|
||||||
name: validation.metal3clustertemplate.infrastructure.cluster.x-k8s.io
|
|
||||||
rules:
|
|
||||||
- apiGroups:
|
|
||||||
- infrastructure.cluster.x-k8s.io
|
|
||||||
apiVersions:
|
|
||||||
- v1beta1
|
|
||||||
operations:
|
|
||||||
- CREATE
|
|
||||||
- UPDATE
|
|
||||||
resources:
|
|
||||||
- metal3clustertemplates
|
|
||||||
sideEffects: None
|
|
||||||
- admissionReviewVersions:
|
- admissionReviewVersions:
|
||||||
- v1
|
- v1
|
||||||
- v1beta1
|
- v1beta1
|
||||||
@ -4511,9 +4360,6 @@ data:
|
|||||||
apiVersion: clusterctl.cluster.x-k8s.io/v1alpha3
|
apiVersion: clusterctl.cluster.x-k8s.io/v1alpha3
|
||||||
kind: Metadata
|
kind: Metadata
|
||||||
releaseSeries:
|
releaseSeries:
|
||||||
- major: 1
|
|
||||||
minor: 8
|
|
||||||
contract: v1beta1
|
|
||||||
- major: 1
|
- major: 1
|
||||||
minor: 7
|
minor: 7
|
||||||
contract: v1beta1
|
contract: v1beta1
|
||||||
@ -4538,7 +4384,7 @@ data:
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: v1.8.2
|
name: v1.7.2
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
labels:
|
labels:
|
||||||
provider-components: metal3
|
provider-components: metal3
|
||||||
|
@ -32,6 +32,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: rke2-bootstrap-webhook-service
|
name: rke2-bootstrap-webhook-service
|
||||||
namespace: rke2-bootstrap-system
|
namespace: rke2-bootstrap-system
|
||||||
@ -1236,6 +1237,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: rke2-bootstrap-webhook-service
|
name: rke2-bootstrap-webhook-service
|
||||||
namespace: rke2-bootstrap-system
|
namespace: rke2-bootstrap-system
|
||||||
@ -2543,7 +2545,7 @@ data:
|
|||||||
- --insecure-diagnostics=${CAPRKE2_INSECURE_DIAGNOSTICS:=false}
|
- --insecure-diagnostics=${CAPRKE2_INSECURE_DIAGNOSTICS:=false}
|
||||||
command:
|
command:
|
||||||
- /manager
|
- /manager
|
||||||
image: ghcr.io/rancher/cluster-api-provider-rke2-bootstrap:v0.9.0
|
image: ghcr.io/rancher/cluster-api-provider-rke2-bootstrap:v0.8.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
@ -2572,7 +2574,6 @@ data:
|
|||||||
privileged: false
|
privileged: false
|
||||||
runAsGroup: 65532
|
runAsGroup: 65532
|
||||||
runAsUser: 65532
|
runAsUser: 65532
|
||||||
terminationMessagePolicy: FallbackToLogsOnError
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
||||||
name: cert
|
name: cert
|
||||||
@ -2754,13 +2755,10 @@ data:
|
|||||||
- major: 0
|
- major: 0
|
||||||
minor: 8
|
minor: 8
|
||||||
contract: v1beta1
|
contract: v1beta1
|
||||||
- major: 0
|
|
||||||
minor: 9
|
|
||||||
contract: v1beta1
|
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: v0.9.0
|
name: v0.8.0
|
||||||
namespace: rke2-bootstrap-system
|
namespace: rke2-bootstrap-system
|
||||||
labels:
|
labels:
|
||||||
provider-components: rke2-bootstrap
|
provider-components: rke2-bootstrap
|
||||||
|
@ -32,6 +32,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: rke2-control-plane-webhook-service
|
name: rke2-control-plane-webhook-service
|
||||||
namespace: rke2-control-plane-system
|
namespace: rke2-control-plane-system
|
||||||
@ -2619,6 +2620,7 @@ data:
|
|||||||
strategy: Webhook
|
strategy: Webhook
|
||||||
webhook:
|
webhook:
|
||||||
clientConfig:
|
clientConfig:
|
||||||
|
caBundle: Cg==
|
||||||
service:
|
service:
|
||||||
name: rke2-control-plane-webhook-service
|
name: rke2-control-plane-webhook-service
|
||||||
namespace: rke2-control-plane-system
|
namespace: rke2-control-plane-system
|
||||||
@ -4293,7 +4295,7 @@ data:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.uid
|
fieldPath: metadata.uid
|
||||||
image: ghcr.io/rancher/cluster-api-provider-rke2-controlplane:v0.9.0
|
image: ghcr.io/rancher/cluster-api-provider-rke2-controlplane:v0.8.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
@ -4329,7 +4331,6 @@ data:
|
|||||||
privileged: false
|
privileged: false
|
||||||
runAsGroup: 65532
|
runAsGroup: 65532
|
||||||
runAsUser: 65532
|
runAsUser: 65532
|
||||||
terminationMessagePolicy: FallbackToLogsOnError
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
||||||
name: cert
|
name: cert
|
||||||
@ -4511,13 +4512,10 @@ data:
|
|||||||
- major: 0
|
- major: 0
|
||||||
minor: 8
|
minor: 8
|
||||||
contract: v1beta1
|
contract: v1beta1
|
||||||
- major: 0
|
|
||||||
minor: 9
|
|
||||||
contract: v1beta1
|
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: v0.9.0
|
name: v0.8.0
|
||||||
namespace: rke2-control-plane-system
|
namespace: rke2-control-plane-system
|
||||||
labels:
|
labels:
|
||||||
provider-components: rke2-control-plane
|
provider-components: rke2-control-plane
|
||||||
|
@ -3,4 +3,4 @@ dependencies:
|
|||||||
repository: https://kubernetes-sigs.github.io/cluster-api-operator
|
repository: https://kubernetes-sigs.github.io/cluster-api-operator
|
||||||
version: 0.14.0
|
version: 0.14.0
|
||||||
digest: sha256:9e9e851dbab3212c279efec06bcf0da147228ea1590470f3a8cbbb5806a250d4
|
digest: sha256:9e9e851dbab3212c279efec06bcf0da147228ea1590470f3a8cbbb5806a250d4
|
||||||
generated: "2024-12-03T09:34:12.871417074Z"
|
generated: "2024-10-28T11:44:34.392387979Z"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!BuildTag: %%IMG_PREFIX%%rancher-turtles-chart:%%CHART_MAJOR%%.0.0_up0.14.1
|
#!BuildTag: %%IMG_PREFIX%%rancher-turtles-chart:%%CHART_MAJOR%%.0.0_up0.13.0
|
||||||
#!BuildTag: %%IMG_PREFIX%%rancher-turtles-chart:%%CHART_MAJOR%%.0.0_up0.14.1-%RELEASE%
|
#!BuildTag: %%IMG_PREFIX%%rancher-turtles-chart:%%CHART_MAJOR%%.0.0_up0.13.0-%RELEASE%
|
||||||
annotations:
|
annotations:
|
||||||
catalog.cattle.io/certified: rancher
|
catalog.cattle.io/certified: rancher
|
||||||
catalog.cattle.io/display-name: Rancher Turtles - the Cluster API Extension
|
catalog.cattle.io/display-name: Rancher Turtles - the Cluster API Extension
|
||||||
@ -7,12 +7,12 @@ annotations:
|
|||||||
catalog.cattle.io/namespace: rancher-turtles-system
|
catalog.cattle.io/namespace: rancher-turtles-system
|
||||||
catalog.cattle.io/os: linux
|
catalog.cattle.io/os: linux
|
||||||
catalog.cattle.io/permits-os: linux
|
catalog.cattle.io/permits-os: linux
|
||||||
catalog.cattle.io/rancher-version: '>= 2.10.0-1'
|
catalog.cattle.io/rancher-version: '>= 2.9.0-1'
|
||||||
catalog.cattle.io/release-name: rancher-turtles
|
catalog.cattle.io/release-name: rancher-turtles
|
||||||
catalog.cattle.io/scope: management
|
catalog.cattle.io/scope: management
|
||||||
catalog.cattle.io/type: cluster-tool
|
catalog.cattle.io/type: cluster-tool
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.14.1
|
appVersion: 0.13.0
|
||||||
dependencies:
|
dependencies:
|
||||||
- condition: cluster-api-operator.enabled
|
- condition: cluster-api-operator.enabled
|
||||||
name: cluster-api-operator
|
name: cluster-api-operator
|
||||||
@ -29,4 +29,4 @@ keywords:
|
|||||||
- provisioning
|
- provisioning
|
||||||
name: rancher-turtles
|
name: rancher-turtles
|
||||||
type: application
|
type: application
|
||||||
version: "%%CHART_MAJOR%%.0.0+up0.14.1"
|
version: "%%CHART_MAJOR%%.0.0+up0.13.0"
|
||||||
|
@ -2,6 +2,17 @@
|
|||||||
{{- $namespace := index .Values "cluster-api-operator" "cluster-api" "metal3" "infrastructure" "namespace" }}
|
{{- $namespace := index .Values "cluster-api-operator" "cluster-api" "metal3" "infrastructure" "namespace" }}
|
||||||
{{- if not (lookup "v1" "Namespace" "" $namespace) }}
|
{{- if not (lookup "v1" "Namespace" "" $namespace) }}
|
||||||
---
|
---
|
||||||
|
apiVersion: turtles-capi.cattle.io/v1alpha1
|
||||||
|
kind: ClusterctlConfig
|
||||||
|
metadata:
|
||||||
|
name: clusterctl-config
|
||||||
|
namespace: rancher-turtles-system
|
||||||
|
spec:
|
||||||
|
providers:
|
||||||
|
- name: metal3
|
||||||
|
url: "https://github.com/metal3-io/cluster-api-provider-metal3/releases/v1.7.2/infrastructure-components.yaml"
|
||||||
|
type: InfrastructureProvider
|
||||||
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
@ -12,20 +23,6 @@ metadata:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
---
|
---
|
||||||
apiVersion: turtles-capi.cattle.io/v1alpha1
|
apiVersion: turtles-capi.cattle.io/v1alpha1
|
||||||
kind: ClusterctlConfig
|
|
||||||
metadata:
|
|
||||||
name: clusterctl-config
|
|
||||||
namespace: rancher-turtles-system
|
|
||||||
annotations:
|
|
||||||
"helm.sh/hook": "post-install, post-upgrade"
|
|
||||||
"helm.sh/hook-weight": "1"
|
|
||||||
spec:
|
|
||||||
providers:
|
|
||||||
- name: metal3
|
|
||||||
url: "https://github.com/metal3-io/cluster-api-provider-metal3/releases/v1.7.2/infrastructure-components.yaml"
|
|
||||||
type: InfrastructureProvider
|
|
||||||
---
|
|
||||||
apiVersion: turtles-capi.cattle.io/v1alpha1
|
|
||||||
kind: CAPIProvider
|
kind: CAPIProvider
|
||||||
metadata:
|
metadata:
|
||||||
name: metal3
|
name: metal3
|
||||||
@ -36,8 +33,8 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
name: metal3
|
name: metal3
|
||||||
type: infrastructure
|
type: infrastructure
|
||||||
{{- if index .Values "cluster-api-operator" "cluster-api" "metal3" "version" }}
|
{{- if index .Values "cluster-api-operator" "cluster-api" "rke2" "version" }}
|
||||||
version: {{ index .Values "cluster-api-operator" "cluster-api" "metal3" "version" }}
|
version: {{ index .Values "cluster-api-operator" "cluster-api" "rke2" "version" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
configSecret:
|
configSecret:
|
||||||
{{- if index .Values "cluster-api-operator" "cluster-api" "configSecret" "name" }}
|
{{- if index .Values "cluster-api-operator" "cluster-api" "configSecret" "name" }}
|
||||||
|
@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/inject-ca-from: {{ index .Values "rancherTurtles" "namespace" }}/rancher-turtles-etcdsnapshotrestore-serving-cert
|
cert-manager.io/inject-ca-from: rancher-turtles-system/rancher-turtles-etcdsnapshotrestore-serving-cert
|
||||||
controller-gen.kubebuilder.io/version: v0.14.0
|
controller-gen.kubebuilder.io/version: v0.14.0
|
||||||
labels:
|
labels:
|
||||||
turtles-capi.cattle.io: etcd-restore
|
turtles-capi.cattle.io: etcd-restore
|
||||||
@ -45,65 +45,77 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
clusterName:
|
clusterName:
|
||||||
type: string
|
type: string
|
||||||
|
configRef:
|
||||||
|
type: string
|
||||||
location:
|
location:
|
||||||
type: string
|
type: string
|
||||||
machineName:
|
machineName:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- clusterName
|
- clusterName
|
||||||
|
- configRef
|
||||||
|
- location
|
||||||
|
- machineName
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-validations:
|
x-kubernetes-validations:
|
||||||
- message: ETCD snapshot location can't be empty.
|
- message: ETCD snapshot location can't be empty.
|
||||||
rule: size(self.clusterName)>0
|
rule: size(self.location)>0
|
||||||
status:
|
status:
|
||||||
default: {}
|
default: {}
|
||||||
description: EtcdSnapshotRestoreStatus defines observed state of EtcdSnapshotRestore
|
description: EtcdSnapshotRestoreStatus defines observed state of EtcdSnapshotRestore
|
||||||
properties:
|
properties:
|
||||||
error:
|
conditions:
|
||||||
type: string
|
description: Conditions provide observations of the operational state
|
||||||
|
of a Cluster API resource.
|
||||||
|
items:
|
||||||
|
description: Condition defines an observation of a Cluster API resource
|
||||||
|
operational state.
|
||||||
|
properties:
|
||||||
|
lastTransitionTime:
|
||||||
|
description: |-
|
||||||
|
Last time the condition transitioned from one status to another.
|
||||||
|
This should be when the underlying condition changed. If that is not known, then using the time when
|
||||||
|
the API field changed is acceptable.
|
||||||
|
format: date-time
|
||||||
|
type: string
|
||||||
|
message:
|
||||||
|
description: |-
|
||||||
|
A human readable message indicating details about the transition.
|
||||||
|
This field may be empty.
|
||||||
|
type: string
|
||||||
|
reason:
|
||||||
|
description: |-
|
||||||
|
The reason for the condition's last transition in CamelCase.
|
||||||
|
The specific API may choose whether or not this field is considered a guaranteed API.
|
||||||
|
This field may not be empty.
|
||||||
|
type: string
|
||||||
|
severity:
|
||||||
|
description: |-
|
||||||
|
Severity provides an explicit classification of Reason code, so the users or machines can immediately
|
||||||
|
understand the current situation and act accordingly.
|
||||||
|
The Severity field MUST be set only when Status=False.
|
||||||
|
type: string
|
||||||
|
status:
|
||||||
|
description: Status of the condition, one of True, False, Unknown.
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
description: |-
|
||||||
|
Type of condition in CamelCase or in foo.example.com/CamelCase.
|
||||||
|
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
|
||||||
|
can be useful (see .node.status.conditions), the ability to deconflict is important.
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- lastTransitionTime
|
||||||
|
- status
|
||||||
|
- type
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
manual:
|
||||||
|
type: boolean
|
||||||
phase:
|
phase:
|
||||||
description: ETCDSnapshotPhase is a string representation of the phase
|
description: ETCDSnapshotPhase is a string representation of the phase
|
||||||
of the etcd snapshot
|
of the etcd snapshot
|
||||||
type: string
|
type: string
|
||||||
s3Snapshots:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
creationTime:
|
|
||||||
description: CreationTime is the timestamp when the snapshot
|
|
||||||
was taken by etcd.
|
|
||||||
format: date-time
|
|
||||||
type: string
|
|
||||||
location:
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- location
|
|
||||||
- name
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
snapshotFileName:
|
|
||||||
type: string
|
|
||||||
snapshots:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
creationTime:
|
|
||||||
description: CreationTime is the timestamp when the snapshot
|
|
||||||
was taken by etcd.
|
|
||||||
format: date-time
|
|
||||||
type: string
|
|
||||||
location:
|
|
||||||
type: string
|
|
||||||
machineName:
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- location
|
|
||||||
- machineName
|
|
||||||
- name
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
served: true
|
served: true
|
||||||
@ -115,7 +127,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/inject-ca-from: {{ index .Values "rancherTurtles" "namespace" }}/rancher-turtles-etcdsnapshotrestore-serving-cert
|
cert-manager.io/inject-ca-from: rancher-turtles-system/rancher-turtles-etcdsnapshotrestore-serving-cert
|
||||||
controller-gen.kubebuilder.io/version: v0.14.0
|
controller-gen.kubebuilder.io/version: v0.14.0
|
||||||
labels:
|
labels:
|
||||||
turtles-capi.cattle.io: etcd-restore
|
turtles-capi.cattle.io: etcd-restore
|
||||||
@ -234,7 +246,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/inject-ca-from: {{ index .Values "rancherTurtles" "namespace" }}/rancher-turtles-etcdsnapshotrestore-serving-cert
|
cert-manager.io/inject-ca-from: rancher-turtles-system/rancher-turtles-etcdsnapshotrestore-serving-cert
|
||||||
controller-gen.kubebuilder.io/version: v0.14.0
|
controller-gen.kubebuilder.io/version: v0.14.0
|
||||||
labels:
|
labels:
|
||||||
turtles-capi.cattle.io: etcd-restore
|
turtles-capi.cattle.io: etcd-restore
|
||||||
@ -294,6 +306,8 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
insecure:
|
insecure:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
location:
|
||||||
|
type: string
|
||||||
region:
|
region:
|
||||||
type: string
|
type: string
|
||||||
s3CredentialSecret:
|
s3CredentialSecret:
|
||||||
@ -323,7 +337,7 @@ metadata:
|
|||||||
app.kubernetes.io/part-of: rancher-turtles
|
app.kubernetes.io/part-of: rancher-turtles
|
||||||
turtles-capi.cattle.io: etcd-restore
|
turtles-capi.cattle.io: etcd-restore
|
||||||
name: rancher-turtles-etcdsnapshotrestore-manager
|
name: rancher-turtles-etcdsnapshotrestore-manager
|
||||||
namespace: {{ index .Values "rancherTurtles" "namespace" }}
|
namespace: rancher-turtles-system
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
kind: Role
|
||||||
@ -337,7 +351,7 @@ metadata:
|
|||||||
app.kubernetes.io/part-of: rancher-turtles
|
app.kubernetes.io/part-of: rancher-turtles
|
||||||
turtles-capi.cattle.io: etcd-restore
|
turtles-capi.cattle.io: etcd-restore
|
||||||
name: rancher-turtles-etcdsnapshotrestore-leader-election-role
|
name: rancher-turtles-etcdsnapshotrestore-leader-election-role
|
||||||
namespace: {{ index .Values "rancherTurtles" "namespace" }}
|
namespace: rancher-turtles-system
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
@ -586,7 +600,7 @@ metadata:
|
|||||||
app.kubernetes.io/part-of: rancher-turtles
|
app.kubernetes.io/part-of: rancher-turtles
|
||||||
turtles-capi.cattle.io: etcd-restore
|
turtles-capi.cattle.io: etcd-restore
|
||||||
name: rancher-turtles-etcdsnapshotrestore-leader-election-rolebinding
|
name: rancher-turtles-etcdsnapshotrestore-leader-election-rolebinding
|
||||||
namespace: {{ index .Values "rancherTurtles" "namespace" }}
|
namespace: rancher-turtles-system
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: Role
|
kind: Role
|
||||||
@ -594,7 +608,7 @@ roleRef:
|
|||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: rancher-turtles-etcdsnapshotrestore-manager
|
name: rancher-turtles-etcdsnapshotrestore-manager
|
||||||
namespace: {{ index .Values "rancherTurtles" "namespace" }}
|
namespace: rancher-turtles-system
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
@ -615,7 +629,7 @@ roleRef:
|
|||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: rancher-turtles-etcdsnapshotrestore-manager
|
name: rancher-turtles-etcdsnapshotrestore-manager
|
||||||
namespace: {{ index .Values "rancherTurtles" "namespace" }}
|
namespace: rancher-turtles-system
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
@ -623,7 +637,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
turtles-capi.cattle.io: etcd-restore
|
turtles-capi.cattle.io: etcd-restore
|
||||||
name: rancher-turtles-etcdsnapshotrestore-webhook-service
|
name: rancher-turtles-etcdsnapshotrestore-webhook-service
|
||||||
namespace: {{ index .Values "rancherTurtles" "namespace" }}
|
namespace: rancher-turtles-system
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- port: 443
|
- port: 443
|
||||||
@ -638,7 +652,7 @@ metadata:
|
|||||||
control-plane: controller-manager
|
control-plane: controller-manager
|
||||||
turtles-capi.cattle.io: etcd-restore
|
turtles-capi.cattle.io: etcd-restore
|
||||||
name: rancher-turtles-etcdsnapshotrestore-controller-manager
|
name: rancher-turtles-etcdsnapshotrestore-controller-manager
|
||||||
namespace: {{ index .Values "rancherTurtles" "namespace" }}
|
namespace: rancher-turtles-system
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@ -657,7 +671,7 @@ spec:
|
|||||||
- args:
|
- args:
|
||||||
- --leader-elect
|
- --leader-elect
|
||||||
command:
|
command:
|
||||||
- ./etcd-snapshot-restore
|
- /manager
|
||||||
env:
|
env:
|
||||||
- name: POD_NAMESPACE
|
- name: POD_NAMESPACE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@ -671,13 +685,8 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.uid
|
fieldPath: metadata.uid
|
||||||
{{- $imageVersion := index .Values "rancherTurtles" "features" "etcd-snapshot-restore" "imageVersion" -}}
|
image: ghcr.io/rancher/turtles-etcd-snapshot-restore:dev
|
||||||
{{- if contains "sha256:" $imageVersion }}
|
imagePullPolicy: IfNotPresent
|
||||||
image: {{ index .Values "rancherTurtles" "features" "etcd-snapshot-restore" "image" }}@{{ index .Values "rancherTurtles" "features" "etcd-snapshot-restore" "imageVersion" }}
|
|
||||||
{{- else }}
|
|
||||||
image: {{ index .Values "rancherTurtles" "features" "etcd-snapshot-restore" "image" }}:{{ index .Values "rancherTurtles" "features" "etcd-snapshot-restore" "imageVersion" }}
|
|
||||||
{{- end }}
|
|
||||||
imagePullPolicy: '{{ index .Values "rancherTurtles" "features" "etcd-snapshot-restore" "imagePullPolicy" }}'
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
@ -724,11 +733,11 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
turtles-capi.cattle.io: etcd-restore
|
turtles-capi.cattle.io: etcd-restore
|
||||||
name: rancher-turtles-etcdsnapshotrestore-serving-cert
|
name: rancher-turtles-etcdsnapshotrestore-serving-cert
|
||||||
namespace: {{ index .Values "rancherTurtles" "namespace" }}
|
namespace: rancher-turtles-system
|
||||||
spec:
|
spec:
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- rancher-turtles-etcdsnapshotrestore-webhook-service.{{ index .Values "rancherTurtles" "namespace" }}.svc
|
- rancher-turtles-etcdsnapshotrestore-webhook-service.rancher-turtles-system.svc
|
||||||
- rancher-turtles-etcdsnapshotrestore-webhook-service.{{ index .Values "rancherTurtles" "namespace" }}.svc.cluster.local
|
- rancher-turtles-etcdsnapshotrestore-webhook-service.rancher-turtles-system.svc.cluster.local
|
||||||
issuerRef:
|
issuerRef:
|
||||||
kind: Issuer
|
kind: Issuer
|
||||||
name: rancher-turtles-etcdsnapshotrestore-selfsigned-issuer
|
name: rancher-turtles-etcdsnapshotrestore-selfsigned-issuer
|
||||||
@ -740,7 +749,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
turtles-capi.cattle.io: etcd-restore
|
turtles-capi.cattle.io: etcd-restore
|
||||||
name: rancher-turtles-etcdsnapshotrestore-selfsigned-issuer
|
name: rancher-turtles-etcdsnapshotrestore-selfsigned-issuer
|
||||||
namespace: {{ index .Values "rancherTurtles" "namespace" }}
|
namespace: rancher-turtles-system
|
||||||
spec:
|
spec:
|
||||||
selfSigned: {}
|
selfSigned: {}
|
||||||
---
|
---
|
||||||
@ -748,7 +757,7 @@ apiVersion: admissionregistration.k8s.io/v1
|
|||||||
kind: MutatingWebhookConfiguration
|
kind: MutatingWebhookConfiguration
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/inject-ca-from: {{ index .Values "rancherTurtles" "namespace" }}/rancher-turtles-etcdsnapshotrestore-serving-cert
|
cert-manager.io/inject-ca-from: rancher-turtles-system/rancher-turtles-etcdsnapshotrestore-serving-cert
|
||||||
labels:
|
labels:
|
||||||
turtles-capi.cattle.io: etcd-restore
|
turtles-capi.cattle.io: etcd-restore
|
||||||
name: rancher-turtles-etcdsnapshotrestore-mutating-webhook-configuration
|
name: rancher-turtles-etcdsnapshotrestore-mutating-webhook-configuration
|
||||||
@ -758,7 +767,7 @@ webhooks:
|
|||||||
clientConfig:
|
clientConfig:
|
||||||
service:
|
service:
|
||||||
name: rancher-turtles-etcdsnapshotrestore-webhook-service
|
name: rancher-turtles-etcdsnapshotrestore-webhook-service
|
||||||
namespace: {{ index .Values "rancherTurtles" "namespace" }}
|
namespace: rancher-turtles-system
|
||||||
path: /mutate-bootstrap-cluster-x-k8s-io-v1beta1-rke2config
|
path: /mutate-bootstrap-cluster-x-k8s-io-v1beta1-rke2config
|
||||||
failurePolicy: Fail
|
failurePolicy: Fail
|
||||||
name: systemagentrke2config.kb.io
|
name: systemagentrke2config.kb.io
|
||||||
@ -778,7 +787,7 @@ apiVersion: admissionregistration.k8s.io/v1
|
|||||||
kind: ValidatingWebhookConfiguration
|
kind: ValidatingWebhookConfiguration
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/inject-ca-from: {{ index .Values "rancherTurtles" "namespace" }}/rancher-turtles-etcdsnapshotrestore-serving-cert
|
cert-manager.io/inject-ca-from: rancher-turtles-system/rancher-turtles-etcdsnapshotrestore-serving-cert
|
||||||
labels:
|
labels:
|
||||||
turtles-capi.cattle.io: etcd-restore
|
turtles-capi.cattle.io: etcd-restore
|
||||||
name: rancher-turtles-etcdsnapshotrestore-validating-webhook-configuration
|
name: rancher-turtles-etcdsnapshotrestore-validating-webhook-configuration
|
||||||
@ -788,7 +797,7 @@ webhooks:
|
|||||||
clientConfig:
|
clientConfig:
|
||||||
service:
|
service:
|
||||||
name: rancher-turtles-etcdsnapshotrestore-webhook-service
|
name: rancher-turtles-etcdsnapshotrestore-webhook-service
|
||||||
namespace: {{ index .Values "rancherTurtles" "namespace" }}
|
namespace: rancher-turtles-system
|
||||||
path: /validate-turtles-capi-cattle-io-v1alpha1-etcdmachinesnapshot
|
path: /validate-turtles-capi-cattle-io-v1alpha1-etcdmachinesnapshot
|
||||||
failurePolicy: Fail
|
failurePolicy: Fail
|
||||||
matchPolicy: Equivalent
|
matchPolicy: Equivalent
|
||||||
@ -809,7 +818,7 @@ webhooks:
|
|||||||
clientConfig:
|
clientConfig:
|
||||||
service:
|
service:
|
||||||
name: rancher-turtles-etcdsnapshotrestore-webhook-service
|
name: rancher-turtles-etcdsnapshotrestore-webhook-service
|
||||||
namespace: {{ index .Values "rancherTurtles" "namespace" }}
|
namespace: rancher-turtles-system
|
||||||
path: /validate-turtles-capi-cattle-io-v1alpha1-etcdsnapshotrestore
|
path: /validate-turtles-capi-cattle-io-v1alpha1-etcdsnapshotrestore
|
||||||
failurePolicy: Fail
|
failurePolicy: Fail
|
||||||
matchPolicy: Equivalent
|
matchPolicy: Equivalent
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
rancherTurtles:
|
rancherTurtles:
|
||||||
image: registry.rancher.com/rancher/rancher/turtles
|
image: registry.rancher.com/rancher/rancher/turtles
|
||||||
imageVersion: v0.14.1
|
imageVersion: v0.13.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
namespace: rancher-turtles-system
|
namespace: rancher-turtles-system
|
||||||
managerArguments: []
|
managerArguments: []
|
||||||
@ -25,9 +25,6 @@ rancherTurtles:
|
|||||||
enabled: false
|
enabled: false
|
||||||
etcd-snapshot-restore:
|
etcd-snapshot-restore:
|
||||||
enabled: false
|
enabled: false
|
||||||
image: registry.rancher.com/rancher/rancher/turtles
|
|
||||||
imageVersion: v0.14.1
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
addon-provider-fleet:
|
addon-provider-fleet:
|
||||||
enabled: false
|
enabled: false
|
||||||
cluster-api-operator:
|
cluster-api-operator:
|
||||||
@ -60,30 +57,34 @@ cluster-api-operator:
|
|||||||
defaultName: capi-env-variables
|
defaultName: capi-env-variables
|
||||||
core:
|
core:
|
||||||
namespace: capi-system
|
namespace: capi-system
|
||||||
|
imageUrl: ""
|
||||||
fetchConfig:
|
fetchConfig:
|
||||||
url: ""
|
url: ""
|
||||||
selector: ""
|
selector: ""
|
||||||
rke2:
|
rke2:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
version: ""
|
||||||
bootstrap:
|
bootstrap:
|
||||||
namespace: rke2-bootstrap-system
|
namespace: rke2-bootstrap-system
|
||||||
|
imageUrl: "registry.rancher.com/rancher/cluster-api-provider-rke2-bootstrap:v0.8.0"
|
||||||
fetchConfig:
|
fetchConfig:
|
||||||
url: ""
|
url: ""
|
||||||
selector: ""
|
selector: ""
|
||||||
controlPlane:
|
controlPlane:
|
||||||
namespace: rke2-control-plane-system
|
namespace: rke2-control-plane-system
|
||||||
|
imageUrl: "registry.rancher.com/rancher/cluster-api-provider-rke2-controlplane:v0.8.0"
|
||||||
fetchConfig:
|
fetchConfig:
|
||||||
url: ""
|
url: ""
|
||||||
selector: ""
|
selector: ""
|
||||||
metal3:
|
metal3:
|
||||||
enabled: true
|
enabled: true
|
||||||
version: "v1.8.2"
|
version: ""
|
||||||
infrastructure:
|
infrastructure:
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
imageUrl: "registry.rancher.com/rancher/cluster-api-metal3-controller:v1.8.2"
|
imageUrl: "%%IMG_REPO%%/%%IMG_PREFIX%%cluster-api-provider-metal3:1.7.2"
|
||||||
fetchConfig:
|
fetchConfig:
|
||||||
url: ""
|
url: ""
|
||||||
selector: ""
|
selector: ""
|
||||||
ipam:
|
ipam:
|
||||||
namespace: capm3-system
|
namespace: capm3-system
|
||||||
imageUrl: "registry.rancher.com/rancher/cluster-api-metal3-ipam-controller:v1.8.1"
|
imageUrl: "%%IMG_REPO%%/%%IMG_PREFIX%%images/ip-address-manager:1.7.2"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!BuildTag: %%IMG_PREFIX%%release-manifest:3.2.0
|
#!BuildTag: %%IMG_PREFIX%%release-manifest:3.1.1
|
||||||
ARG SLE_VERSION
|
ARG SLE_VERSION
|
||||||
FROM registry.suse.com/bci/bci-micro:$SLE_VERSION
|
FROM registry.suse.com/bci/bci-micro:$SLE_VERSION
|
||||||
|
|
||||||
@ -7,11 +7,11 @@ FROM registry.suse.com/bci/bci-micro:$SLE_VERSION
|
|||||||
LABEL org.opencontainers.image.authors="SUSE LLC (https://www.suse.com/)"
|
LABEL org.opencontainers.image.authors="SUSE LLC (https://www.suse.com/)"
|
||||||
LABEL org.opencontainers.image.title="SUSE Edge Release Manifest"
|
LABEL org.opencontainers.image.title="SUSE Edge Release Manifest"
|
||||||
LABEL org.opencontainers.image.description="Release Manifest containing information about a specific SUSE Edge release"
|
LABEL org.opencontainers.image.description="Release Manifest containing information about a specific SUSE Edge release"
|
||||||
LABEL org.opencontainers.image.version="3.2.0"
|
LABEL org.opencontainers.image.version="3.1.1"
|
||||||
LABEL org.opencontainers.image.url="https://www.suse.com/solutions/edge-computing/"
|
LABEL org.opencontainers.image.url="https://www.suse.com/solutions/edge-computing/"
|
||||||
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||||
LABEL org.opencontainers.image.vendor="SUSE LLC"
|
LABEL org.opencontainers.image.vendor="SUSE LLC"
|
||||||
LABEL org.opensuse.reference="%%IMG_REPO%%/%%IMG_PREFIX%%release-manifest:3.2.0"
|
LABEL org.opensuse.reference="%%IMG_REPO%%/%%IMG_PREFIX%%release-manifest:3.1.1"
|
||||||
LABEL org.openbuildservice.disturl="%DISTURL%"
|
LABEL org.openbuildservice.disturl="%DISTURL%"
|
||||||
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
||||||
LABEL com.suse.eula="SUSE Combined EULA February 2024"
|
LABEL com.suse.eula="SUSE Combined EULA February 2024"
|
||||||
|
@ -4,18 +4,12 @@
|
|||||||
<param name="file">Dockerfile</param>
|
<param name="file">Dockerfile</param>
|
||||||
<param name="eval">IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})</param>
|
<param name="eval">IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})</param>
|
||||||
<param name="var">IMG_PREFIX</param>
|
<param name="var">IMG_PREFIX</param>
|
||||||
<param name="eval">IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %manifest_repo)</param>
|
<param name="eval">IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo)</param>
|
||||||
<param name="var">IMG_REPO</param>
|
<param name="var">IMG_REPO</param>
|
||||||
|
<param name="file">release_manifest.yaml</param>
|
||||||
|
<param name="eval">CHART_REPO=$(rpm --macros=/root/.rpmmacros -E %chart_repo)</param>
|
||||||
|
<param name="var">CHART_REPO</param>
|
||||||
<param name="eval">SUPPORT_LEVEL=$(rpm --macros=/root/.rpmmacros -E %support_level)</param>
|
<param name="eval">SUPPORT_LEVEL=$(rpm --macros=/root/.rpmmacros -E %support_level)</param>
|
||||||
<param name="var">SUPPORT_LEVEL</param>
|
<param name="var">SUPPORT_LEVEL</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="replace_using_env" mode="buildtime">
|
|
||||||
<param name="file">release_manifest.yaml</param>
|
|
||||||
<param name="eval">IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix})</param>
|
|
||||||
<param name="var">IMG_PREFIX</param>
|
|
||||||
<param name="eval">CHART_REPO=$(rpm --macros=/root/.rpmmacros -E %chart_repo)</param>
|
|
||||||
<param name="var">CHART_REPO</param>
|
|
||||||
<param name="eval">CHART_MAJOR=$(rpm --macros=/root/.rpmmacros -E %{?chart_major})</param>
|
|
||||||
<param name="var">CHART_MAJOR</param>
|
|
||||||
</service>
|
|
||||||
</services>
|
</services>
|
||||||
|
@ -1,80 +1,15 @@
|
|||||||
apiVersion: lifecycle.suse.com/v1alpha1
|
apiVersion: lifecycle.suse.com/v1alpha1
|
||||||
kind: ReleaseManifest
|
kind: ReleaseManifest
|
||||||
metadata:
|
metadata:
|
||||||
name: release-manifest-3-2-0
|
name: release-manifest-3-1-1
|
||||||
spec:
|
spec:
|
||||||
releaseVersion: 3.2.0
|
releaseVersion: 3.1.1
|
||||||
components:
|
components:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
k3s:
|
k3s:
|
||||||
version: v1.31.3+k3s1
|
version: v1.30.5+k3s1
|
||||||
coreComponents:
|
|
||||||
- name: traefik-crd
|
|
||||||
version: 27.0.201+up27.0.2
|
|
||||||
type: HelmChart
|
|
||||||
- name: traefik
|
|
||||||
version: 27.0.201+up27.0.2
|
|
||||||
type: HelmChart
|
|
||||||
- name: local-path-provisioner
|
|
||||||
containers:
|
|
||||||
- name: local-path-provisioner
|
|
||||||
image: rancher/local-path-provisioner:v0.0.30
|
|
||||||
type: Deployment
|
|
||||||
- name: coredns
|
|
||||||
containers:
|
|
||||||
- name: coredns
|
|
||||||
image: rancher/mirrored-coredns-coredns:1.11.3
|
|
||||||
type: Deployment
|
|
||||||
- name: metrics-server
|
|
||||||
containers:
|
|
||||||
- name: metrics-server
|
|
||||||
image: rancher/mirrored-metrics-server:v0.7.2
|
|
||||||
type: Deployment
|
|
||||||
rke2:
|
rke2:
|
||||||
version: v1.31.3+rke2r1
|
version: v1.30.5+rke2r1
|
||||||
coreComponents:
|
|
||||||
- name: rke2-cilium
|
|
||||||
version: 1.16.303
|
|
||||||
type: HelmChart
|
|
||||||
- name: rke2-canal
|
|
||||||
version: v3.29.0-build2024110400
|
|
||||||
type: HelmChart
|
|
||||||
- name: rke2-calico-crd
|
|
||||||
version: v3.29.000
|
|
||||||
type: HelmChart
|
|
||||||
- name: rke2-calico
|
|
||||||
version: v3.29.000
|
|
||||||
type: HelmChart
|
|
||||||
- name: rke2-coredns
|
|
||||||
version: 1.33.005
|
|
||||||
type: HelmChart
|
|
||||||
- name: rke2-ingress-nginx
|
|
||||||
version: 4.10.502
|
|
||||||
type: HelmChart
|
|
||||||
- name: rke2-metrics-server
|
|
||||||
version: 3.12.004
|
|
||||||
type: HelmChart
|
|
||||||
- name: rancher-vsphere-csi
|
|
||||||
version: 3.3.1-rancher700
|
|
||||||
type: HelmChart
|
|
||||||
- name: rancher-vsphere-cpi
|
|
||||||
version: 1.9.100
|
|
||||||
type: HelmChart
|
|
||||||
- name: harvester-cloud-provider
|
|
||||||
version: 0.2.600
|
|
||||||
type: HelmChart
|
|
||||||
- name: harvester-csi-driver
|
|
||||||
version: 0.1.2000
|
|
||||||
type: HelmChart
|
|
||||||
- name: rke2-snapshot-controller-crd
|
|
||||||
version: 3.0.601
|
|
||||||
type: HelmChart
|
|
||||||
- name: rke2-snapshot-controller
|
|
||||||
version: 3.0.601
|
|
||||||
type: HelmChart
|
|
||||||
- name: rke2-snapshot-validation-webhook
|
|
||||||
version: 1.9.001
|
|
||||||
type: HelmChart
|
|
||||||
operatingSystem:
|
operatingSystem:
|
||||||
version: "6.0"
|
version: "6.0"
|
||||||
zypperID: "SL-Micro"
|
zypperID: "SL-Micro"
|
||||||
@ -88,90 +23,82 @@ spec:
|
|||||||
- prettyName: Rancher
|
- prettyName: Rancher
|
||||||
releaseName: rancher
|
releaseName: rancher
|
||||||
chart: rancher
|
chart: rancher
|
||||||
version: 2.10.1
|
version: v2.9.3
|
||||||
repository: https://charts.rancher.com/server-charts/prime
|
repository: https://charts.rancher.com/server-charts/prime
|
||||||
values:
|
|
||||||
postDelete:
|
|
||||||
enabled: false
|
|
||||||
- prettyName: Longhorn
|
- prettyName: Longhorn
|
||||||
releaseName: longhorn
|
releaseName: longhorn
|
||||||
chart: longhorn
|
chart: longhorn
|
||||||
version: 105.1.0+up1.7.2
|
version: 104.2.0+up1.7.1
|
||||||
repository: https://charts.rancher.io
|
repository: https://charts.rancher.io
|
||||||
dependencyCharts:
|
dependencyCharts:
|
||||||
- releaseName: longhorn-crd
|
- releaseName: longhorn-crd
|
||||||
chart: longhorn-crd
|
chart: longhorn-crd
|
||||||
version: 105.1.0+up1.7.2
|
version: 104.2.0+up1.7.1
|
||||||
repository: https://charts.rancher.io
|
repository: https://charts.rancher.io
|
||||||
- prettyName: MetalLB
|
- prettyName: MetalLB
|
||||||
releaseName: metallb
|
releaseName: metallb
|
||||||
chart: %%CHART_REPO%%/%%IMG_PREFIX%%metallb-chart
|
chart: %%CHART_REPO%%/%%IMAGE_PREFIX%%metallb-chart
|
||||||
version: %%CHART_MAJOR%%.0.0+up0.14.9
|
version: 0.14.9
|
||||||
- prettyName: CDI
|
- prettyName: CDI
|
||||||
releaseName: cdi
|
releaseName: cdi
|
||||||
chart: %%CHART_REPO%%/%%IMG_PREFIX%%cdi-chart
|
chart: %%CHART_REPO%%/%%IMAGE_PREFIX%%cdi-chart
|
||||||
version: %%CHART_MAJOR%%.0.0+up0.4.0
|
version: 0.4.0
|
||||||
- prettyName: KubeVirt
|
- prettyName: KubeVirt
|
||||||
releaseName: kubevirt
|
releaseName: kubevirt
|
||||||
chart: %%CHART_REPO%%/%%IMG_PREFIX%%kubevirt-chart
|
chart: %%CHART_REPO%%/%%IMAGE_PREFIX%%kubevirt-chart
|
||||||
version: %%CHART_MAJOR%%.0.0+up0.4.0
|
version: 0.4.0
|
||||||
addonCharts:
|
addonCharts:
|
||||||
- releaseName: kubevirt-dashboard-extension
|
- releaseName: kubevirt-dashboard-extension
|
||||||
chart: %%CHART_REPO%%/%%IMG_PREFIX%%kubevirt-dashboard-extension-chart
|
chart: %%CHART_REPO%%/%%IMAGE_PREFIX%%kubevirt-dashboard-extension-chart
|
||||||
version: %%CHART_MAJOR%%.0.0+up1.2.1
|
version: 1.1.0
|
||||||
- prettyName: NeuVector
|
- prettyName: NeuVector
|
||||||
releaseName: neuvector
|
releaseName: neuvector
|
||||||
chart: neuvector
|
chart: neuvector
|
||||||
version: 105.0.0+up2.8.3
|
version: 104.0.2+up2.8.0
|
||||||
repository: https://charts.rancher.io
|
repository: https://charts.rancher.io
|
||||||
dependencyCharts:
|
dependencyCharts:
|
||||||
- releaseName: neuvector-crd
|
- releaseName: neuvector-crd
|
||||||
chart: neuvector-crd
|
chart: neuvector-crd
|
||||||
version: 105.0.0+up2.8.3
|
version: 104.0.2+up2.8.0
|
||||||
repository: https://charts.rancher.io
|
repository: https://charts.rancher.io
|
||||||
addonCharts:
|
addonCharts:
|
||||||
- releaseName: neuvector-ui-ext
|
- releaseName: neuvector-ui-ext
|
||||||
chart: neuvector-ui-ext
|
chart: neuvector-ui-ext
|
||||||
repository: https://github.com/rancher/ui-plugin-charts/raw/main
|
repository: https://github.com/rancher/ui-plugin-charts/raw/main
|
||||||
version: 2.0.1
|
version: 2.0.0
|
||||||
- prettyName: EndpointCopierOperator
|
- prettyName: EndpointCopierOperator
|
||||||
releaseName: endpoint-copier-operator
|
releaseName: endpoint-copier-operator
|
||||||
chart: %%CHART_REPO%%/%%IMG_PREFIX%%endpoint-copier-operator-chart
|
chart: %%CHART_REPO%%/%%IMAGE_PREFIX%%endpoint-copier-operator-chart
|
||||||
version: %%CHART_MAJOR%%.0.0+up0.2.1
|
version: 0.2.1
|
||||||
- prettyName: Elemental
|
- prettyName: Elemental
|
||||||
releaseName: elemental-operator
|
releaseName: elemental-operator
|
||||||
chart: oci://registry.suse.com/rancher/elemental-operator-chart
|
chart: oci://registry.suse.com/rancher/elemental-operator-chart
|
||||||
version: 1.6.5
|
version: 1.6.4
|
||||||
dependencyCharts:
|
dependencyCharts:
|
||||||
- releaseName: elemental-operator-crds
|
- releaseName: elemental-operator-crds
|
||||||
chart: oci://registry.suse.com/rancher/elemental-operator-crds-chart
|
chart: oci://registry.suse.com/rancher/elemental-operator-crds-chart
|
||||||
version: 1.6.5
|
version: 1.6.4
|
||||||
addonCharts:
|
|
||||||
- releaseName: elemental
|
|
||||||
chart: elemental
|
|
||||||
repository: https://github.com/rancher/ui-plugin-charts/raw/main
|
|
||||||
version: 3.0.0
|
|
||||||
- prettyName: SRIOV
|
- prettyName: SRIOV
|
||||||
releaseName: sriov-network-operator
|
releaseName: sriov-network-operator
|
||||||
chart: %%CHART_REPO%%/%%IMG_PREFIX%%sriov-network-operator-chart
|
chart: %%CHART_REPO%%/%%IMAGE_PREFIX%%sriov-network-operator-chart
|
||||||
version: %%CHART_MAJOR%%.0.0+up1.4.0
|
version: 1.3.0
|
||||||
dependencyCharts:
|
dependencyCharts:
|
||||||
- releaseName: sriov-crd
|
- releaseName: sriov-crd
|
||||||
chart: %%CHART_REPO%%/%%IMG_PREFIX%%sriov-crd-chart
|
chart: %%CHART_REPO%%/%%IMAGE_PREFIX%%sriov-crd-chart
|
||||||
version: %%CHART_MAJOR%%.0.0+up1.4.0
|
version: 1.3.0
|
||||||
- prettyName: Akri
|
- prettyName: Akri
|
||||||
releaseName: akri
|
releaseName: akri
|
||||||
chart: %%CHART_REPO%%/%%IMG_PREFIX%%akri-chart
|
chart: %%CHART_REPO%%/%%IMAGE_PREFIX%%akri-chart
|
||||||
version: %%CHART_MAJOR%%.0.0+up0.12.20
|
version: 0.12.20
|
||||||
addonCharts:
|
addonCharts:
|
||||||
- releaseName: akri-dashboard-extension
|
- releaseName: akri-dashboard-extension
|
||||||
chart: %%CHART_REPO%%/%%IMG_PREFIX%%akri-dashboard-extension-chart
|
chart: %%CHART_REPO%%/%%IMAGE_PREFIX%%akri-dashboard-extension-chart
|
||||||
version: %%CHART_MAJOR%%.0.0+up1.2.1
|
version: 1.1.0
|
||||||
- prettyName: Metal3
|
- prettyName: Metal3
|
||||||
releaseName: metal3
|
releaseName: metal3
|
||||||
chart: %%CHART_REPO%%/%%IMG_PREFIX%%metal3-chart
|
chart: %%CHART_REPO%%/%%IMAGE_PREFIX%%metal3-chart
|
||||||
version: %%CHART_MAJOR%%.0.0+up0.9.0
|
version: 0.8.3
|
||||||
- prettyName: RancherTurtles
|
- prettyName: RancherTurtles
|
||||||
releaseName: rancher-turtles
|
releaseName: rancher-turtles
|
||||||
chart: %%CHART_REPO%%/%%IMG_PREFIX%%rancher-turtles-chart
|
chart: %%CHART_REPO%%/%%IMAGE_PREFIX%%rancher-turtles-chart
|
||||||
version: %%CHART_MAJOR%%.0.0+up0.14.1
|
version: 0.3.3
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
#!BuildTag: %%IMG_PREFIX%%upgrade-controller-chart:%%CHART_MAJOR%%.0.0_up0.1.1
|
#!BuildTag: %%IMG_PREFIX%%upgrade-controller-chart:%%CHART_MAJOR%%.0.0_up0.1.0
|
||||||
#!BuildTag: %%IMG_PREFIX%%upgrade-controller-chart:%%CHART_MAJOR%%.0.0_up0.1.1-%RELEASE%
|
#!BuildTag: %%IMG_PREFIX%%upgrade-controller-chart:%%CHART_MAJOR%%.0.0_up0.1.0-%RELEASE%
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.1.1
|
appVersion: 0.1.0
|
||||||
dependencies:
|
dependencies:
|
||||||
- condition: crds.enabled
|
- condition: crds.enabled
|
||||||
name: lifecycle-crds
|
name: lifecycle-crds
|
||||||
repository: file://./charts/lifecycle-crds
|
repository: file://./charts/lifecycle-crds
|
||||||
version: 0.1.1
|
version: 0.1.0
|
||||||
description: A Helm chart for Upgrade Controller
|
description: A Helm chart for Upgrade Controller
|
||||||
name: upgrade-controller
|
name: upgrade-controller
|
||||||
type: application
|
type: application
|
||||||
version: "%%CHART_MAJOR%%.0.0+up0.1.1"
|
version: "%%CHART_MAJOR%%.0.0+up0.1.0"
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
<param name="var">IMG_PREFIX</param>
|
<param name="var">IMG_PREFIX</param>
|
||||||
<param name="eval">IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo)</param>
|
<param name="eval">IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo)</param>
|
||||||
<param name="var">IMG_REPO</param>
|
<param name="var">IMG_REPO</param>
|
||||||
<param name="eval">MANIFEST_REPO=$(rpm --macros=/root/.rpmmacros -E %manifest_repo)</param>
|
|
||||||
<param name="var">MANIFEST_REPO</param>
|
|
||||||
</service>
|
</service>
|
||||||
<service name="replace_using_env" mode="buildtime">
|
<service name="replace_using_env" mode="buildtime">
|
||||||
<param name="file">Chart.yaml</param>
|
<param name="file">Chart.yaml</param>
|
||||||
@ -17,3 +15,4 @@
|
|||||||
<param name="var">CHART_MAJOR</param>
|
<param name="var">CHART_MAJOR</param>
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.1.1
|
appVersion: 0.1.0
|
||||||
description: A Helm chart containing SUSE Lifecycle CRDs
|
description: A Helm chart containing SUSE Lifecycle CRDs
|
||||||
name: lifecycle-crds
|
name: lifecycle-crds
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.1
|
version: 0.1.0
|
||||||
|
@ -43,35 +43,6 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
k3s:
|
k3s:
|
||||||
properties:
|
properties:
|
||||||
coreComponents:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
containers:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
image:
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- image
|
|
||||||
- name
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
enum:
|
|
||||||
- HelmChart
|
|
||||||
- Deployment
|
|
||||||
type: string
|
|
||||||
version:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- name
|
|
||||||
- type
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
version:
|
version:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
@ -79,35 +50,6 @@ spec:
|
|||||||
type: object
|
type: object
|
||||||
rke2:
|
rke2:
|
||||||
properties:
|
properties:
|
||||||
coreComponents:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
containers:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
image:
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- image
|
|
||||||
- name
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
enum:
|
|
||||||
- HelmChart
|
|
||||||
- Deployment
|
|
||||||
type: string
|
|
||||||
version:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- name
|
|
||||||
- type
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
version:
|
version:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
|
@ -29,14 +29,6 @@ rules:
|
|||||||
- customresourcedefinitions
|
- customresourcedefinitions
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- apiGroups:
|
|
||||||
- apps
|
|
||||||
resources:
|
|
||||||
- deployments
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- batch
|
- batch
|
||||||
resources:
|
resources:
|
||||||
|
@ -12,7 +12,7 @@ image:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
releaseManifest:
|
releaseManifest:
|
||||||
image: %%MANIFEST_REPO%%/%%IMG_PREFIX%%release-manifest
|
image: %%IMG_REPO%%/%%IMG_PREFIX%%release-manifest
|
||||||
kubectl:
|
kubectl:
|
||||||
image: %%IMG_REPO%%/%%IMG_PREFIX%%kubectl
|
image: %%IMG_REPO%%/%%IMG_PREFIX%%kubectl
|
||||||
version: 1.30.3
|
version: 1.30.3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#!BuildTag: %%IMG_PREFIX%%upgrade-controller:0.1.1
|
#!BuildTag: %%IMG_PREFIX%%upgrade-controller:0.1.0
|
||||||
#!BuildTag: %%IMG_PREFIX%%upgrade-controller:0.1.1-%RELEASE%
|
#!BuildTag: %%IMG_PREFIX%%upgrade-controller:0.1.0-%RELEASE%
|
||||||
#!BuildVersion: 15.6
|
#!BuildVersion: 15.6
|
||||||
ARG SLE_VERSION
|
ARG SLE_VERSION
|
||||||
FROM registry.suse.com/bci/bci-micro:$SLE_VERSION AS micro
|
FROM registry.suse.com/bci/bci-micro:$SLE_VERSION AS micro
|
||||||
@ -16,11 +16,11 @@ FROM micro AS final
|
|||||||
LABEL org.opencontainers.image.authors="SUSE LLC (https://www.suse.com/)"
|
LABEL org.opencontainers.image.authors="SUSE LLC (https://www.suse.com/)"
|
||||||
LABEL org.opencontainers.image.title="SLE Edge Upgrade Controller Container Image"
|
LABEL org.opencontainers.image.title="SLE Edge Upgrade Controller Container Image"
|
||||||
LABEL org.opencontainers.image.description="Edge Update Controller Image based on the SLE Base Container Image."
|
LABEL org.opencontainers.image.description="Edge Update Controller Image based on the SLE Base Container Image."
|
||||||
LABEL org.opencontainers.image.version="0.1.1"
|
LABEL org.opencontainers.image.version="0.1.0"
|
||||||
LABEL org.opencontainers.image.url="https://www.suse.com/solutions/edge-computing/"
|
LABEL org.opencontainers.image.url="https://www.suse.com/solutions/edge-computing/"
|
||||||
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||||
LABEL org.opencontainers.image.vendor="SUSE LLC"
|
LABEL org.opencontainers.image.vendor="SUSE LLC"
|
||||||
LABEL org.opensuse.reference="%%IMG_REPO%%/%%IMG_PREFIX%%upgrade-controller:0.1.1-%RELEASE%"
|
LABEL org.opensuse.reference="%%IMG_REPO%%/%%IMG_PREFIX%%upgrade-controller:0.1.0-%RELEASE%"
|
||||||
LABEL org.openbuildservice.disturl="%DISTURL%"
|
LABEL org.openbuildservice.disturl="%DISTURL%"
|
||||||
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
||||||
LABEL com.suse.eula="SUSE Combined EULA February 2024"
|
LABEL com.suse.eula="SUSE Combined EULA February 2024"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="exclude">.git</param>
|
<param name="exclude">.git</param>
|
||||||
<param name="revision">v0.1.1</param>
|
<param name="revision">v0.1.0</param>
|
||||||
<param name="versionrewrite-pattern">v(\d+).(\d+).(\d+)</param>
|
<param name="versionrewrite-pattern">v(\d+).(\d+).(\d+)</param>
|
||||||
<param name="versionrewrite-replacement">\1.\2.\3</param>
|
<param name="versionrewrite-replacement">\1.\2.\3</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: upgrade-controller
|
Name: upgrade-controller
|
||||||
Version: 0.1.1
|
Version: 0.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Upgrade Controller
|
Summary: Upgrade Controller
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user