You've already forked drone-runner-charts
fix: support .env file
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
11
templates/envConfig.yaml
Normal file
11
templates/envConfig.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
{{- 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 }}
|
Reference in New Issue
Block a user