1
0
forked from suse-edge/Factory

Compare commits

...

5 Commits
main ... main

Author SHA256 Message Date
3f9b8c9e22 Merge pull request 'Use manifest_repo var to allow for release manifest in separate repo' (#57) from nbelouin/Factory:manifest-repo-var into main
Reviewed-on: suse-edge/Factory#57
Reviewed-by: Denislav Prodanov <dprodanov@noreply.src.opensuse.org>
2024-12-23 12:11:01 +01:00
2a993e342e Use manifest_repo var to allow for release manifest in separate repo
All checks were successful
OBS: release-manifest-image - test_manifest_images/aarch64
OBS: metallb - standard/aarch64
OBS: upgrade-controller - standard/x86_64
OBS: kubevirt-chart - charts/x86_64
OBS: metallb - standard/x86_64
OBS: release-manifest-image - test_manifest_images/x86_64
OBS: release-manifest-image - images/aarch64
OBS: release-manifest-image - images/x86_64
OBS: hauler - standard/x86_64
OBS: hauler - standard/aarch64
OBS: baremetal-operator-image - images/aarch64
OBS: akri-agent-image - images/aarch64
OBS: endpoint-copier-operator-image - images/x86_64
OBS: baremetal-operator-image - images/x86_64
OBS: endpoint-copier-operator-image - images/aarch64
OBS: kube-rbac-proxy-image - images/aarch64
OBS: ironic-ipa-downloader-image - images/x86_64
OBS: upgrade-controller-image - images/aarch64
OBS: metallb-controller-image - images/aarch64
OBS: metallb-speaker-image - images/aarch64
OBS: ironic-image - images/x86_64
OBS: upgrade-controller-image - images/x86_64
OBS: metallb-controller-image - images/x86_64
OBS: akri-agent-image - images/x86_64
OBS: metallb-speaker-image - images/x86_64
OBS: edge-image-builder-image - images/aarch64
OBS: edge-image-builder-image - test_manifest_images/x86_64
OBS: edge-image-builder-image - images/x86_64
OBS: edge-image-builder-image - test_manifest_images/aarch64
OBS: kube-rbac-proxy-image - images/x86_64
Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>
2024-12-23 11:33:04 +01:00
cab6fe1bcb
release-manifest: Update to Rancher prime 2.10.1
All checks were successful
OBS: kube-rbac-proxy - standard/x86_64
OBS: sriov-crd-chart - charts/x86_64
OBS: sriov-network-operator-chart - charts/x86_64
OBS: frr-k8s - standard/aarch64
OBS: release-manifest-image - test_manifest_images/x86_64
OBS: kiwi-builder-image - images/aarch64
OBS: metallb-speaker-image - images/aarch64
OBS: kube-rbac-proxy - standard/aarch64
OBS: release-manifest-image - images/aarch64
OBS: release-manifest-image - test_manifest_images/aarch64
OBS: upgrade-controller-image - images/x86_64
OBS: upgrade-controller - standard/x86_64
OBS: edge-image-builder-image - test_manifest_images/x86_64
OBS: edge-image-builder-image - images/x86_64
OBS: release-manifest-image - images/x86_64
OBS: kubectl-image - images/x86_64
OBS: upgrade-controller-chart - charts/x86_64
OBS: edge-image-builder-image - images/aarch64
OBS: metallb-controller-image - images/aarch64
OBS: edge-image-builder-image - test_manifest_images/aarch64
OBS: hauler - standard/x86_64
OBS: metallb - standard/x86_64
OBS: kube-rbac-proxy-image - images/x86_64
OBS: upgrade-controller-image - images/aarch64
OBS: metallb - standard/aarch64
OBS: upgrade-controller - standard/aarch64
OBS: nm-configurator - standard/x86_64
OBS: metallb-controller-image - images/x86_64
OBS: metallb-speaker-image - images/x86_64
OBS: ironic-image - images/x86_64
2.10.1 was released so update to the prime version
2024-12-20 09:28:38 +00:00
fde506f9ef Release manifest updates in relation to corner case use-cases (#60)
Changes:

- Rancher version convention was changed from `v2.10.0` to `2.10.0` to better map to the actual version in the upstream helm chart repo which is without the `v` prefix.

- Rancher's `postDelete` hook has been disabled - done to ensure that we will not hit a corner case where:

   1. The Rancher helm chart upgrade fails, because of a core component not yet being ready
   2. The `helm-controller` schedules a `helm uninstall` which deletes the Rancher Helm release and triggers the `postDelete` hook.
   3. The problematic core component is up and running, so `helm-controller` schedules a `helm install` with the new version.
   4. Due to insufficient resources, or network connection (or other unforeseen problems), the `postDelete` hook is still running and it wrongly removes the new Rancher installation resulting in a missing rancher from the cluster after an upgrade.

The `postDelete` hook ensures that no accidental delete of the Rancher application will happen during an upgrade over a machine with fewer resources.

Reviewed-on: suse-edge/Factory#60
Reviewed-by: Denislav Prodanov <dprodanov@noreply.src.opensuse.org>
Reviewed-by: Nicolas Belouin <nbelouin@noreply.src.opensuse.org>
Reviewed-by: Atanas Dinov <atanasdinov@noreply.src.opensuse.org>
Co-authored-by: Ivo Petrov <ivo.petrov@suse.com>
Co-committed-by: Ivo Petrov <ivo.petrov@suse.com>
2024-12-19 12:27:23 +01:00
f49e6be155 Bump K8s version in the release manifest (#58)
- Bumps both RKE2 and K3s versions to the `1.31.3` version that is expected by Rancher `v2.10.1`.

- Bumps the K8s core component versions to the `1.31.3` expected versions.

RKE2 core component versions have been checked against the `Chart Versions` table of the said [release](https://github.com/rancher/rke2/releases/tag/v1.31.3%2Brke2r1).
K3s core component versions have been checked agains the [manifests](https://github.com/k3s-io/k3s/tree/v1.31.3%2Bk3s1/manifests) directory of said release.

Reviewed-on: suse-edge/Factory#58
Reviewed-by: Denislav Prodanov <dprodanov@noreply.src.opensuse.org>
Co-authored-by: Ivo Petrov <ivo.petrov@suse.com>
Co-committed-by: Ivo Petrov <ivo.petrov@suse.com>
2024-12-17 09:06:03 +01:00
4 changed files with 19 additions and 15 deletions

View File

@ -4,7 +4,7 @@
<param name="file">Dockerfile</param>
<param name="eval">IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?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 %manifest_repo)</param>
<param name="var">IMG_REPO</param>
<param name="eval">SUPPORT_LEVEL=$(rpm --macros=/root/.rpmmacros -E %support_level)</param>
<param name="var">SUPPORT_LEVEL</param>

View File

@ -7,7 +7,7 @@ spec:
components:
kubernetes:
k3s:
version: v1.31.2+k3s1
version: v1.31.3+k3s1
coreComponents:
- name: traefik-crd
version: 27.0.201+up27.0.2
@ -31,34 +31,34 @@ spec:
image: rancher/mirrored-metrics-server:v0.7.2
type: Deployment
rke2:
version: v1.31.2+rke2r1
version: v1.31.3+rke2r1
coreComponents:
- name: rke2-cilium
version: 1.16.201
version: 1.16.303
type: HelmChart
- name: rke2-canal
version: v3.28.2-build2024101601
version: v3.29.0-build2024110400
type: HelmChart
- name: rke2-calico-crd
version: v3.28.200
version: v3.29.000
type: HelmChart
- name: rke2-calico
version: v3.28.200
version: v3.29.000
type: HelmChart
- name: rke2-coredns
version: 1.33.002
version: 1.33.005
type: HelmChart
- name: rke2-ingress-nginx
version: 4.10.501
version: 4.10.502
type: HelmChart
- name: rke2-metrics-server
version: 3.12.004
type: HelmChart
- name: rancher-vsphere-csi
version: 3.3.1-rancher100
version: 3.3.1-rancher700
type: HelmChart
- name: rancher-vsphere-cpi
version: 1.9.000
version: 1.9.100
type: HelmChart
- name: harvester-cloud-provider
version: 0.2.600
@ -88,8 +88,11 @@ spec:
- prettyName: Rancher
releaseName: rancher
chart: rancher
version: v2.10.0
repository: https://releases.rancher.com/server-charts/stable
version: 2.10.1
repository: https://charts.rancher.com/server-charts/prime
values:
postDelete:
enabled: false
- prettyName: Longhorn
releaseName: longhorn
chart: longhorn

View File

@ -6,6 +6,8 @@
<param name="var">IMG_PREFIX</param>
<param name="eval">IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %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 name="replace_using_env" mode="buildtime">
<param name="file">Chart.yaml</param>
@ -15,4 +17,3 @@
<param name="var">CHART_MAJOR</param>
</service>
</services>

View File

@ -12,7 +12,7 @@ image:
env:
releaseManifest:
image: %%IMG_REPO%%/%%IMG_PREFIX%%release-manifest
image: %%MANIFEST_REPO%%/%%IMG_PREFIX%%release-manifest
kubectl:
image: %%IMG_REPO%%/%%IMG_PREFIX%%kubectl
version: 1.30.3