diff --git a/charts/testkube-api/templates/deployment.yaml b/charts/testkube-api/templates/deployment.yaml index 6e8bc3b99..6790a86a6 100644 --- a/charts/testkube-api/templates/deployment.yaml +++ b/charts/testkube-api/templates/deployment.yaml @@ -158,10 +158,7 @@ spec: - name: TESTKUBE_CLUSTER_NAME value: "{{ .Values.clusterName }}" - name: TESTKUBE_HELMCHART_VERSION - valueFrom: - configMapKeyRef: - name: testkube-global-config - key: helmchartVersion + value: "{{ .Chart.Version }}" - name: ENABLE_SECRETS_ENDPOINT value: "{{ .Values.enableSecretsEndpoint }}" - name: DISABLE_MONGO_MIGRATIONS diff --git a/charts/testkube/templates/configmap.yaml b/charts/testkube/templates/configmap.yaml deleted file mode 100644 index 2beea9cb7..000000000 --- a/charts/testkube/templates/configmap.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: testkube-global-config - {{- if .Values.global.labels }} - labels: - {{- include "global.tplvalues.render" ( dict "value" .Values.global.labels "context" $ ) | nindent 4 }} - {{- end }} - {{- if .Values.global.annotations}} - annotations: - {{- include "global.tplvalues.render" ( dict "value" .Values.global.annotations "context" $ ) | nindent 4 }} - {{- end }} -data: - helmchartVersion: {{ .Chart.Version }}