Skip to content

Commit

Permalink
fix: replaced skipped app labels
Browse files Browse the repository at this point in the history
Signed-off-by: wilmardo <info@wilmardenouden.nl>
  • Loading branch information
wilmardo committed Mar 12, 2020
1 parent 90b18c3 commit 4dac8a0
Show file tree
Hide file tree
Showing 14 changed files with 44 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: {{ include "ceph-csi-cephfs.nodeplugin.fullname" . }}-grpc-metrics
namespace: {{ .Release.Namespace }}
labels:
app: {{ include "ceph-csi-cephfs.fullname" . }}
app.kubernetes.io/name: {{ 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 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: {{ include "ceph-csi-cephfs.nodeplugin.fullname" . }}-http-metrics
namespace: {{ .Release.Namespace }}
labels:
app: {{ include "ceph-csi-cephfs.fullname" . }}
app.kubernetes.io/name: {{ 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 }}
Expand Down
11 changes: 6 additions & 5 deletions charts/ceph-csi-cephfs/templates/nodeplugin-psp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ kind: PodSecurityPolicy
metadata:
name: {{ include "ceph-csi-cephfs.nodeplugin.fullname" . }}
labels:
app: {{ include "ceph-csi-cephfs.fullname" . }}
chart: {{ include "ceph-csi-cephfs.chart" . }}
component: {{ .Values.nodeplugin.name }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
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:
allowPrivilegeEscalation: true
allowedCapabilities:
Expand Down
11 changes: 6 additions & 5 deletions charts/ceph-csi-cephfs/templates/nodeplugin-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ metadata:
name: {{ include "ceph-csi-cephfs.nodeplugin.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ include "ceph-csi-cephfs.fullname" . }}
chart: {{ include "ceph-csi-cephfs.chart" . }}
component: {{ .Values.nodeplugin.name }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
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 }}
rules:
- apiGroups: ['policy']
resources: ['podsecuritypolicies']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: {{ include "ceph-csi-cephfs.provisioner.fullname" . }}-grpc-metrics
namespace: {{ .Release.Namespace }}
labels:
app: {{ include "ceph-csi-cephfs.fullname" . }}
app.kubernetes.io/name: {{ 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 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: {{ include "ceph-csi-cephfs.provisioner.fullname" . }}-http-metrics
namespace: {{ .Release.Namespace }}
labels:
app: {{ include "ceph-csi-cephfs.fullname" . }}
app.kubernetes.io/name: {{ 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 }}
Expand Down
11 changes: 6 additions & 5 deletions charts/ceph-csi-cephfs/templates/provisioner-psp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ kind: PodSecurityPolicy
metadata:
name: {{ include "ceph-csi-cephfs.provisioner.fullname" . }}
labels:
app: {{ include "ceph-csi-cephfs.name" . }}
chart: {{ include "ceph-csi-cephfs.chart" . }}
component: {{ .Values.provisioner.name }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
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:
allowPrivilegeEscalation: true
allowedCapabilities:
Expand Down
11 changes: 6 additions & 5 deletions charts/ceph-csi-rbd/templates/encryptionkms-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ metadata:
name: {{ .Values.kmsConfigMapName | quote }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ include "ceph-csi-rbd.name" . }}
chart: {{ include "ceph-csi-rbd.chart" . }}
component: {{ .Values.nodeplugin.name }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
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.encryptionKMSConfig | indent 4 -}}
2 changes: 1 addition & 1 deletion charts/ceph-csi-rbd/templates/nodeplugin-grpc-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: {{ include "ceph-csi-rbd.nodeplugin.fullname" . }}-grpc-metrics
namespace: {{ .Release.Namespace }}
labels:
app: {{ include "ceph-csi-rbd.fullname" . }}
app.kubernetes.io/name: {{ 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 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/ceph-csi-rbd/templates/nodeplugin-http-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: {{ include "ceph-csi-rbd.nodeplugin.fullname" . }}-http-metrics
namespace: {{ .Release.Namespace }}
labels:
app: {{ include "ceph-csi-rbd.fullname" . }}
app.kubernetes.io/name: {{ 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 }}
Expand Down
11 changes: 6 additions & 5 deletions charts/ceph-csi-rbd/templates/nodeplugin-psp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ kind: PodSecurityPolicy
metadata:
name: {{ include "ceph-csi-rbd.nodeplugin.fullname" . }}
labels:
app: {{ include "ceph-csi-rbd.name" . }}
chart: {{ include "ceph-csi-rbd.chart" . }}
component: {{ .Values.nodeplugin.name }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
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:
allowPrivilegeEscalation: true
allowedCapabilities:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: {{ include "ceph-csi-rbd.provisioner.fullname" . }}-grpc-metrics
namespace: {{ .Release.Namespace }}
labels:
app: {{ include "ceph-csi-rbd.fullname" . }}
app.kubernetes.io/name: {{ 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 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: {{ include "ceph-csi-rbd.provisioner.fullname" . }}-http-metrics
namespace: {{ .Release.Namespace }}
labels:
app: {{ include "ceph-csi-rbd.fullname" . }}
app.kubernetes.io/name: {{ 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 }}
Expand Down
11 changes: 6 additions & 5 deletions charts/ceph-csi-rbd/templates/provisioner-psp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ kind: PodSecurityPolicy
metadata:
name: {{ include "ceph-csi-rbd.provisioner.fullname" . }}
labels:
app: {{ include "ceph-csi-rbd.name" . }}
chart: {{ include "ceph-csi-rbd.chart" . }}
component: {{ .Values.provisioner.name }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
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:
allowPrivilegeEscalation: true
allowedCapabilities:
Expand Down

0 comments on commit 4dac8a0

Please sign in to comment.