From 495c3d25ef315218379ee8e6c862fb7cbef886e8 Mon Sep 17 00:00:00 2001 From: Sebastian Florek Date: Thu, 26 Oct 2023 14:39:48 +0200 Subject: [PATCH] fix chart deploy token check --- charts/deployment-operator/Chart.yaml | 2 +- charts/deployment-operator/templates/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/deployment-operator/Chart.yaml b/charts/deployment-operator/Chart.yaml index 2d35e117..e9375950 100644 --- a/charts/deployment-operator/Chart.yaml +++ b/charts/deployment-operator/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: deployment-operator description: creates a new instance of the plural deployment operator type: application -version: 0.2.0 +version: 0.2.1 appVersion: "0.3.9" maintainers: - name: Plural diff --git a/charts/deployment-operator/templates/deployment.yaml b/charts/deployment-operator/templates/deployment.yaml index f2d6e722..42f77dea 100644 --- a/charts/deployment-operator/templates/deployment.yaml +++ b/charts/deployment-operator/templates/deployment.yaml @@ -111,7 +111,7 @@ spec: - name: service-account-token-volume mountPath: /var/run/secrets/kubernetes.io/serviceaccount readOnly: true - {{- if or .Values.service.token }} + {{- if .Values.secrets.deployToken }} - name: token-volume mountPath: /etc/agentk/secrets readOnly: true @@ -137,7 +137,7 @@ spec: - serviceAccountToken: expirationSeconds: 3600 path: token - {{- if or .Values.secrets.deployToken }} + {{- if .Values.secrets.deployToken }} - name: token-volume secret: defaultMode: 0444