drone-runner-charts/templates/envConfig.yaml
Markus Pesch ea2ca22e7c
All checks were successful
continuous-integration/drone/push Build is passing
fix: mounting of env var file
2022-05-24 22:44:04 +02:00

11 lines
333 B
YAML

{{- if and (hasKey .Values.envFile "content") (hasKey .Values.config "DRONE_RUNNER_ENV_FILE") }}
apiVersion: v1
kind: ConfigMap
metadata:
labels:
{{- include "droneRunner.labels" . | nindent 4 }}
name: {{ include "droneRunner.fullname" . }}
data:
custom-env-vars: |
{{- .Values.envFile.content | nindent 4 }}
{{- end }}