Skip to content
Snippets Groups Projects
Commit e5605446 authored by Andri Joos's avatar Andri Joos :blush:
Browse files

add annotations to secret

parent 201a81de
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,10 @@ apiVersion: v1 ...@@ -3,6 +3,10 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: {{ .Values.name | default "secret" | quote }} name: {{ .Values.name | default "secret" | quote }}
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
type: {{ .Values.type | default "Opaque" }} type: {{ .Values.type | default "Opaque" }}
data: data:
{{- (include "common.secret.data" .) | nindent 2 }} {{- (include "common.secret.data" .) | nindent 2 }}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment