From 78f3c2a4cbb2f659a01c72d1aab0074ac602ad28 Mon Sep 17 00:00:00 2001 From: Adi Muraru Date: Wed, 22 Dec 2021 18:43:26 +0200 Subject: [PATCH] [INTERNAL] - Helm changes for Spinnaker deployment --- charts/kminion/templates/_helpers.tpl | 1 - charts/kminion/templates/configmap.yaml | 3 +++ charts/kminion/values.yaml | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/charts/kminion/templates/_helpers.tpl b/charts/kminion/templates/_helpers.tpl index 702059d..0690934 100644 --- a/charts/kminion/templates/_helpers.tpl +++ b/charts/kminion/templates/_helpers.tpl @@ -39,7 +39,6 @@ helm.sh/chart: {{ include "kminion.chart" . }} {{- if .Chart.AppVersion }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} {{- if .Values.customLabels}} {{ toYaml .Values.customLabels }} {{- end}} diff --git a/charts/kminion/templates/configmap.yaml b/charts/kminion/templates/configmap.yaml index dbece53..6341a2a 100644 --- a/charts/kminion/templates/configmap.yaml +++ b/charts/kminion/templates/configmap.yaml @@ -3,6 +3,9 @@ kind: ConfigMap metadata: name: {{include "kminion.fullname" .}} namespace: {{ .Release.Namespace | quote }} + annotations: + strategy.spinnaker.io/versioned: "false" + strategy.spinnaker.io/replace: "true" labels: {{- include "kminion.labels" . | nindent 4}} data: diff --git a/charts/kminion/values.yaml b/charts/kminion/values.yaml index 5e36755..cbe539b 100644 --- a/charts/kminion/values.yaml +++ b/charts/kminion/values.yaml @@ -5,7 +5,7 @@ replicaCount: 1 image: - repository: quay.io/cloudhut/kminion + repository: ghcr.io/adobe/kminion pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. tag: "" @@ -34,8 +34,8 @@ podSecurityContext: ## See `kubectl explain poddisruptionbudget.spec` for more ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/ -podDisruptionBudget: - maxUnavailable: 1 +podDisruptionBudget: {} + # maxUnavailable: 1 # minAvailable: 1 securityContext: {}