Markus Pesch
286e8945a2
All checks were successful
continuous-integration/drone/push Build is passing
11 lines
352 B
YAML
11 lines
352 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:
|
|
{{ base .Values.config.DRONE_RUNNER_ENV_FILE }}: |
|
|
{{ .Values.envFile.content }}
|
|
{{- end }} |