We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d1e1f0f + 53eb986 commit 2ddc616Copy full SHA for 2ddc616
k8s/Chart.yaml
@@ -2,4 +2,4 @@
2
apiVersion: v1
3
name: k8s
4
description: Kubernetes Cluster Configuration
5
-version: 0.1.4
+version: 0.1.5
k8s/templates/secret.yaml
@@ -0,0 +1,20 @@
1
+{{- if .Values.secret -}}
+{{- $secret := .Values.secret }}
+---
+apiVersion: v1
+kind: Secret
6
+metadata:
7
+ name: {{ $secret.name | quote }}
8
+ namespace: {{ $secret.namespace | quote }}
9
+ annotations:
10
+ {{- range $key, $value := $secret.annotations }}
11
+ {{ $key }}: {{ $value | quote }}
12
+ {{- end }}
13
+type: {{ $secret.type }}
14
+{{- if $secret.data }}
15
+data: {{ $secret.data | nindent 2 }}
16
+{{- end }}
17
+{{- if $secret.stringData }}
18
+stringData: {{ $secret.stringData | nindent 2 }}
19
20
+{{- end -}}
0 commit comments