Staging instance, all changes can be removed at any time

Skip to content

test-staging-rke2: Install redis-operator through cluster-config

Antoine R. Dumont requested to merge mr/align-redis into production

This used to be installed by the k8s-cluster-config repository.

This now installs it with redis-operator install in the cluster-configuration chart. This aligns the installation of operators (including redis) in the other clusters (local-cluster, staging, next-version, ...).

helm diff
make ccf-helm-diff
[cluster-configuration] Comparing changes between branches production and mr/align-redis...
Switched to branch 'production'
Your branch is up to date with 'origin/production'.
[cluster-configuration] Generate config in production branch for cluster-configuration/values/admin-rke2.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/archive-production-rke2.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/archive-staging-rke2.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/gitlab-production.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/gitlab-staging.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/local-cluster.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/rancher.yaml...
[cluster-configuration] Generate config in production branch for cluster-configuration/values/test-staging-rke2.yaml...
Switched to branch 'mr/align-redis'
[cluster-configuration] Generate config in mr/align-redis branch for cluster-configuration/values/admin-rke2.yaml...
[cluster-configuration] Generate config in mr/align-redis branch for cluster-configuration/values/archive-production-rke2.yaml...
[cluster-configuration] Generate config in mr/align-redis branch for cluster-configuration/values/archive-staging-rke2.yaml...
[cluster-configuration] Generate config in mr/align-redis branch for cluster-configuration/values/gitlab-production.yaml...
[cluster-configuration] Generate config in mr/align-redis branch for cluster-configuration/values/gitlab-staging.yaml...
[cluster-configuration] Generate config in mr/align-redis branch for cluster-configuration/values/local-cluster.yaml...
[cluster-configuration] Generate config in mr/align-redis branch for cluster-configuration/values/rancher.yaml...
[cluster-configuration] Generate config in mr/align-redis branch for cluster-configuration/values/test-staging-rke2.yaml...


------------- diff for cluster-configuration/values/admin-rke2.yaml -------------

No differences


------------- diff for cluster-configuration/values/archive-production-rke2.yaml -------------

No differences


------------- diff for cluster-configuration/values/archive-staging-rke2.yaml -------------

No differences


------------- diff for cluster-configuration/values/gitlab-production.yaml -------------

No differences


------------- diff for cluster-configuration/values/gitlab-staging.yaml -------------

No differences


------------- diff for cluster-configuration/values/local-cluster.yaml -------------

No differences


------------- diff for cluster-configuration/values/rancher.yaml -------------

No differences


------------- diff for cluster-configuration/values/test-staging-rke2.yaml -------------

--- /tmp/swh-chart.cluster-configuration.cr6E7z1Z/test-staging-rke2.yaml.before 2024-10-21 15:54:58.489410587 +0200
+++ /tmp/swh-chart.cluster-configuration.cr6E7z1Z/test-staging-rke2.yaml.after  2024-10-21 15:54:58.781410589 +0200
@@ -274,10 +274,37 @@
       # must match the application name (https://github.com/argoproj/argo-cd/issues/2871)
       releaseName: test-staging-rke2-rabbitmq-operator

   destination:
     server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-m-hb9j7h5g
     namespace: "rabbitmq"
   syncPolicy:
     automated:
       prune: false
       selfHeal: false
+---
+# Source: Argocd applications commonly used in to configure a SWH cluster/templates/redis/operator.yaml
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+  name: cc-test-staging-rke2-redis-operator
+  namespace: argocd
+spec:
+  revisionHistoryLimit: 2
+  project: default
+  source:
+    chart: redis-operator
+    repoURL: https://ot-container-kit.github.io/helm-charts/
+    targetRevision: 0.15.10
+    helm:
+      # must match the application name (https://github.com/argoproj/argo-cd/issues/2871)
+      releaseName: cc-test-staging-rke2-redis-operator
+
+  destination:
+    server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-m-hb9j7h5g
+    namespace: "redis"
+  syncPolicy:
+    automated:
+      prune: false
+      selfHeal: false
+    syncOptions:
+    - ServerSideApply=true

Refs. swh/infra/sysadm-environment#5462 (closed)

Merge request reports

Loading