From ac704875225122962865448b55a49998a10c4bf5 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 c5162f1..3297f4f 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 62f85ad..18a5585 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: "" @@ -31,8 +31,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: {}