mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
helm: add annotations secret manifest
To use mutating webhook to modify secrets. For example banzaicloud vault webhook: https://bank-vaults.dev/docs/mutating-webhook/annotations/ Signed-off-by: Ruslan Khizhnyak <mustdiechik@gmail.com>
This commit is contained in:
parent
d0fea3baed
commit
802f22f0ae
@ -4,6 +4,9 @@ kind: Secret
|
|||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.secret.name }}
|
name: {{ .Values.secret.name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
|
{{- with .Values.secret.annotations }}
|
||||||
|
annotations: {{- . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ include "ceph-csi-cephfs.name" . }}
|
app: {{ include "ceph-csi-cephfs.name" . }}
|
||||||
chart: {{ include "ceph-csi-cephfs.chart" . }}
|
chart: {{ include "ceph-csi-cephfs.chart" . }}
|
||||||
|
@ -288,6 +288,7 @@ secret:
|
|||||||
# Specifies whether the secret should be created
|
# Specifies whether the secret should be created
|
||||||
create: false
|
create: false
|
||||||
name: csi-cephfs-secret
|
name: csi-cephfs-secret
|
||||||
|
annotations: {}
|
||||||
# Key values correspond to a user name and its key, as defined in the
|
# Key values correspond to a user name and its key, as defined in the
|
||||||
# ceph cluster. User ID should have required access to the 'pool'
|
# ceph cluster. User ID should have required access to the 'pool'
|
||||||
# specified in the storage class
|
# specified in the storage class
|
||||||
|
@ -4,6 +4,9 @@ kind: Secret
|
|||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.secret.name }}
|
name: {{ .Values.secret.name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
|
{{- with .Values.secret.annotations }}
|
||||||
|
annotations: {{- . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ include "ceph-csi-rbd.name" . }}
|
app: {{ include "ceph-csi-rbd.name" . }}
|
||||||
chart: {{ include "ceph-csi-rbd.chart" . }}
|
chart: {{ include "ceph-csi-rbd.chart" . }}
|
||||||
|
@ -480,6 +480,7 @@ secret:
|
|||||||
# Specifies whether the secret should be created
|
# Specifies whether the secret should be created
|
||||||
create: false
|
create: false
|
||||||
name: csi-rbd-secret
|
name: csi-rbd-secret
|
||||||
|
annotations: {}
|
||||||
# Key values correspond to a user name and its key, as defined in the
|
# Key values correspond to a user name and its key, as defined in the
|
||||||
# ceph cluster. User ID should have required access to the 'pool'
|
# ceph cluster. User ID should have required access to the 'pool'
|
||||||
# specified in the storage class
|
# specified in the storage class
|
||||||
|
Loading…
Reference in New Issue
Block a user