From be7a820ef1f3959f51b3d9459040ab498de23fa9 Mon Sep 17 00:00:00 2001 From: nick-gorse Date: Fri, 15 May 2026 18:36:14 +0100 Subject: [PATCH] remove rollout --- .../argo-rollouts/demo-rollout.yaml | 38 +++++++++++++++++++ .../overlays/production/argocd-cm-patch.yaml | 2 +- .../overlays/production/kustomization.yaml | 1 - 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 manifest/overlays/production/argo-rollouts/demo-rollout.yaml diff --git a/manifest/overlays/production/argo-rollouts/demo-rollout.yaml b/manifest/overlays/production/argo-rollouts/demo-rollout.yaml new file mode 100644 index 0000000..ebad234 --- /dev/null +++ b/manifest/overlays/production/argo-rollouts/demo-rollout.yaml @@ -0,0 +1,38 @@ +# This example demonstrates a Rollout using the canary update strategy with a customized rollout +# plan. The prescribed steps initially sets a canary weight of 20%, then pauses indefinitely. Once +# resumed, the rollout performs a gradual, automated 20% weight increase until it reaches 100%. +apiVersion: argoproj.io/v1alpha1 +kind: Rollout +metadata: + name: rollout-canary + namespace: argo-rollouts +spec: + replicas: 5 + revisionHistoryLimit: 2 + selector: + matchLabels: + app: rollout-canary + template: + metadata: + labels: + app: rollout-canary + spec: + containers: + - name: rollouts-demo + image: argoproj/rollouts-demo:blue + imagePullPolicy: Always + ports: + - containerPort: 8080 + strategy: + canary: + steps: + - setWeight: 20 + # The following pause step will pause the rollout indefinitely until manually resumed. + # Rollouts can be manually resumed by running `kubectl argo rollouts promote ROLLOUT` + - pause: {} + - setWeight: 40 + - pause: {duration: 40s} + - setWeight: 60 + - pause: {duration: 20s} + - setWeight: 80 + - pause: {duration: 20s} \ No newline at end of file diff --git a/manifest/overlays/production/argocd-cm-patch.yaml b/manifest/overlays/production/argocd-cm-patch.yaml index 7cf02cf..d6f6aba 100644 --- a/manifest/overlays/production/argocd-cm-patch.yaml +++ b/manifest/overlays/production/argocd-cm-patch.yaml @@ -10,7 +10,7 @@ data: exec.enabled: "true" kustomize.buildOptions: --enable-helm ui.bannercontent: "Homepage" - ui.bannerurl: "home.olb42.com" + ui.bannerurl: "https://home.olb42.com" ui.bannerpermanent: "true" ui.bannerposition: "top" resource.customizations.ignoreResourceUpdates.ConfigMap: | diff --git a/manifest/overlays/production/kustomization.yaml b/manifest/overlays/production/kustomization.yaml index 32c966d..34db865 100644 --- a/manifest/overlays/production/kustomization.yaml +++ b/manifest/overlays/production/kustomization.yaml @@ -3,7 +3,6 @@ kind: Kustomization resources: - ../../base - - argo-rollouts - argocd-image-updater - argocd-cmp-cm.yaml - ingressroute.yaml