From 2f30c7b974d2d9da4d4e5ac10b20e435110a9f9b Mon Sep 17 00:00:00 2001 From: Grace Do Date: Tue, 29 Aug 2023 15:28:06 -0700 Subject: [PATCH] feat(koperator): Pass kommander version to deployment via args --- charts/kommander-operator/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/kommander-operator/templates/deployment.yaml b/charts/kommander-operator/templates/deployment.yaml index 4b9f348aa..d9ba12190 100644 --- a/charts/kommander-operator/templates/deployment.yaml +++ b/charts/kommander-operator/templates/deployment.yaml @@ -28,6 +28,8 @@ spec: - name: {{ .Chart.Name }} image: "{{ .Values.kommanderoperator.image.repository }}:{{ .Values.kommanderoperator.image.tag }}" imagePullPolicy: {{ .Values.kommanderoperator.image.pullPolicy }} + args: + - --kommander-version={{ .Chart.Version }} ports: - name: http containerPort: 80