mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Fixed chart
This commit is contained in:
@@ -41,16 +41,11 @@ spec:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default "latest" }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- if and .Values.secrets (not .Values.vault.enabled) }}
|
||||
{{- if or .Values.secrets .Values.vault.enabled }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ include "template.fullname" . }}
|
||||
{{- end }}
|
||||
{{- if .Values.vault.enabled }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ .Values.vault.operatorNamespace | default "vault-secrets-operator-system" }}/{{ include "template.fullname" . }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if .Values.application.isSpring }}
|
||||
- name: SPRING_PROFILES_ACTIVE
|
||||
|
||||
@@ -4,7 +4,7 @@ apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: HCPVaultSecretsApp
|
||||
metadata:
|
||||
name: {{ include "template.fullname" . }}
|
||||
namespace: {{ .Values.vault.operatorNamespace | default "vault-secrets-operator-system" }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
{{- include "template.labels" . | nindent 4 }}
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user