feat: add chart source
This commit is contained in:
13
templates/secret.yaml
Normal file
13
templates/secret.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: blog-backend
|
||||
labels:
|
||||
{{- include "chart.labels" . | nindent 4 }}
|
||||
app.kubernetes.io/component: backend
|
||||
data:
|
||||
{{- if .Values.secrets }}
|
||||
{{- range $key, $value := .Values.secrets }}
|
||||
{{ $key | quote }}: {{ $value | toString | b64enc | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user