16 lines
331 B
YAML
16 lines
331 B
YAML
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: {{ include "droneRunner.fullname" . }}
|
||
|
type: Opaque
|
||
|
stringData:
|
||
|
|
||
|
{{- if not (hasKey .Values "config") -}}
|
||
|
{{- $_ := set .Values "config" dict -}}
|
||
|
{{- end -}}
|
||
|
|
||
|
{{/* SETUP CONFIG */}}
|
||
|
{{ range $key, $value := .Values.config }}
|
||
|
{{ upper $key}}: {{ quote $value }}
|
||
|
{{ end }}
|