drone-runner-charts/templates/envConfig.yaml

11 lines
333 B
YAML
Raw Permalink Normal View History

2021-09-10 16:37:05 +00:00
{{- 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:
2022-05-24 20:43:23 +00:00
custom-env-vars: |
{{- .Values.envFile.content | nindent 4 }}
2021-09-10 16:37:05 +00:00
{{- end }}