Skip to content

Commit

Permalink
feat: adds new required helm labels to charts
Browse files Browse the repository at this point in the history
Signed-off-by: wilmardo <info@wilmardenouden.nl>
  • Loading branch information
wilmardo committed Mar 10, 2020
1 parent c13507e commit 90b18c3
Show file tree
Hide file tree
Showing 31 changed files with 141 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/ceph-csi-cephfs/templates/csiplugin-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
data:
config.json: |-
{{ toJson .Values.csiConfig | indent 4 -}}
9 changes: 9 additions & 0 deletions charts/ceph-csi-cephfs/templates/nodeplugin-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
selector:
matchLabels:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
updateStrategy:
type: {{ .Values.nodeplugin.updateStrategy }}
template:
Expand All @@ -20,6 +26,9 @@ spec:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
serviceAccountName: {{ include "ceph-csi-cephfs.serviceAccountName.nodeplugin" . }}
hostNetwork: true
Expand Down
6 changes: 6 additions & 0 deletions charts/ceph-csi-cephfs/templates/nodeplugin-grpc-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ metadata:
app: {{ include "ceph-csi-cephfs.fullname" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
{{- if .Values.nodeplugin.grpcMetrics.service.clusterIP }}
clusterIP: "{{ .Values.nodeplugin.grpcMetrics.service.clusterIP }}"
Expand All @@ -34,5 +37,8 @@ spec:
selector:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
type: "{{ .Values.nodeplugin.grpcMetrics.service.type }}"
{{- end -}}
6 changes: 6 additions & 0 deletions charts/ceph-csi-cephfs/templates/nodeplugin-http-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ metadata:
app: {{ include "ceph-csi-cephfs.fullname" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
{{- if .Values.nodeplugin.httpMetrics.service.clusterIP }}
clusterIP: "{{ .Values.nodeplugin.httpMetrics.service.clusterIP }}"
Expand All @@ -34,5 +37,8 @@ spec:
selector:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
type: "{{ .Values.nodeplugin.httpMetrics.service.type }}"
{{- end -}}
3 changes: 3 additions & 0 deletions charts/ceph-csi-cephfs/templates/nodeplugin-rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
subjects:
- kind: ServiceAccount
name: {{ include "ceph-csi-cephfs.serviceAccountName.nodeplugin" . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
{{- end -}}
3 changes: 3 additions & 0 deletions charts/ceph-csi-cephfs/templates/provisioner-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
aggregationRule:
clusterRoleSelectors:
- matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
subjects:
- kind: ServiceAccount
name: {{ include "ceph-csi-cephfs.serviceAccountName.provisioner" . }}
Expand Down
9 changes: 9 additions & 0 deletions charts/ceph-csi-cephfs/templates/provisioner-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,27 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
replicas: {{ .Values.provisioner.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
serviceAccountName: {{ include "ceph-csi-cephfs.serviceAccountName.provisioner" . }}
containers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ metadata:
app: {{ include "ceph-csi-cephfs.fullname" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
{{- if .Values.provisioner.grpcMetrics.service.clusterIP }}
clusterIP: "{{ .Values.provisioner.grpcMetrics.service.clusterIP }}"
Expand All @@ -34,5 +37,8 @@ spec:
selector:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
type: "{{ .Values.provisioner.grpcMetrics.service.type }}"
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ metadata:
app: {{ include "ceph-csi-cephfs.fullname" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
{{- if .Values.provisioner.httpMetrics.service.clusterIP }}
clusterIP: "{{ .Values.provisioner.httpMetrics.service.clusterIP }}"
Expand All @@ -34,5 +37,8 @@ spec:
selector:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
type: "{{ .Values.provisioner.httpMetrics.service.type }}"
{{- end -}}
3 changes: 3 additions & 0 deletions charts/ceph-csi-cephfs/templates/provisioner-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
rules:
- apiGroups: [""]
resources: ["configmaps"]
Expand Down
3 changes: 3 additions & 0 deletions charts/ceph-csi-cephfs/templates/provisioner-rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
subjects:
- kind: ServiceAccount
name: {{ include "ceph-csi-cephfs.serviceAccountName.provisioner" . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
rbac.cephfs.csi.ceph.com/aggregate-to-{{ include "ceph-csi-cephfs.provisioner.fullname" . }}: "true"
rules:
- apiGroups: [""]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-cephfs.name" . }}
helm.sh/chart: {{ include "ceph-csi-cephfs.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
{{- end -}}
3 changes: 3 additions & 0 deletions charts/ceph-csi-rbd/templates/csiplugin-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
data:
config.json: |-
{{ toJson .Values.csiConfig | indent 4 -}}
9 changes: 9 additions & 0 deletions charts/ceph-csi-rbd/templates/nodeplugin-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
selector:
matchLabels:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
updateStrategy:
type: {{ .Values.nodeplugin.updateStrategy }}
template:
Expand All @@ -20,6 +26,9 @@ spec:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
serviceAccountName: {{ include "ceph-csi-rbd.serviceAccountName.nodeplugin" . }}
hostNetwork: true
Expand Down
6 changes: 6 additions & 0 deletions charts/ceph-csi-rbd/templates/nodeplugin-grpc-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ metadata:
app: {{ include "ceph-csi-rbd.fullname" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
{{- if .Values.nodeplugin.grpcMetrics.service.clusterIP }}
clusterIP: "{{ .Values.nodeplugin.grpcMetrics.service.clusterIP }}"
Expand All @@ -34,5 +37,8 @@ spec:
selector:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
type: "{{ .Values.nodeplugin.grpcMetrics.service.type }}"
{{- end -}}
6 changes: 6 additions & 0 deletions charts/ceph-csi-rbd/templates/nodeplugin-http-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ metadata:
app: {{ include "ceph-csi-rbd.fullname" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
{{- if .Values.nodeplugin.httpMetrics.service.clusterIP }}
clusterIP: "{{ .Values.nodeplugin.httpMetrics.service.clusterIP }}"
Expand All @@ -34,5 +37,8 @@ spec:
selector:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
type: "{{ .Values.nodeplugin.httpMetrics.service.type }}"
{{- end -}}
3 changes: 3 additions & 0 deletions charts/ceph-csi-rbd/templates/nodeplugin-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
rules:
- apiGroups: ['policy']
resources: ['podsecuritypolicies']
Expand Down
3 changes: 3 additions & 0 deletions charts/ceph-csi-rbd/templates/nodeplugin-rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
subjects:
- kind: ServiceAccount
name: {{ include "ceph-csi-rbd.serviceAccountName.nodeplugin" . }}
Expand Down
3 changes: 3 additions & 0 deletions charts/ceph-csi-rbd/templates/nodeplugin-serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.nodeplugin.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
{{- end -}}
3 changes: 3 additions & 0 deletions charts/ceph-csi-rbd/templates/provisioner-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
aggregationRule:
clusterRoleSelectors:
- matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
subjects:
- kind: ServiceAccount
name: {{ include "ceph-csi-rbd.serviceAccountName.provisioner" . }}
Expand Down
9 changes: 9 additions & 0 deletions charts/ceph-csi-rbd/templates/provisioner-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,27 @@ metadata:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
replicas: {{ .Values.provisioner.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
serviceAccountName: {{ include "ceph-csi-rbd.serviceAccountName.provisioner" . }}
containers:
Expand Down
6 changes: 6 additions & 0 deletions charts/ceph-csi-rbd/templates/provisioner-grpc-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ metadata:
app: {{ include "ceph-csi-rbd.fullname" . }}
helm.sh/chart: {{ include "ceph-csi-rbd.chart" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
spec:
{{- if .Values.provisioner.grpcMetrics.service.clusterIP }}
clusterIP: "{{ .Values.provisioner.grpcMetrics.service.clusterIP }}"
Expand All @@ -34,5 +37,8 @@ spec:
selector:
app.kubernetes.io/name: {{ include "ceph-csi-rbd.name" . }}
app.kubernetes.io/component: {{ .Values.provisioner.name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
type: "{{ .Values.provisioner.grpcMetrics.service.type }}"
{{- end -}}
Loading

0 comments on commit 90b18c3

Please sign in to comment.