diff --git a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/controller-manager-config.yaml b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/controller-manager-config.yaml index 6211d00..e6d4502 100644 --- a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/controller-manager-config.yaml +++ b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/controller-manager-config.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-controller-manager-config + name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-ctrl-mgr-config labels: app.kubernetes.io/component: manager app.kubernetes.io/created-by: svc-lb-to-cilium-netpolicy @@ -9,4 +9,4 @@ metadata: control-plane: controller-manager {{- include "svc-lb-to-cilium-netpolicy-operator.labels" . | nindent 4 }} data: - conf: {{ .Values.controllerManagerConfig.conf | toYaml | indent 1 }} \ No newline at end of file + conf: {{ .Values.controllerManagerConfig.conf | toYaml | indent 1 }} diff --git a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/deployment.yaml b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/deployment.yaml index c77f4b9..2900c53 100644 --- a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/deployment.yaml +++ b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/deployment.yaml @@ -1,7 +1,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-controller-manager + name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-ctrl-mgr labels: app.kubernetes.io/component: manager app.kubernetes.io/created-by: svc-lb-to-cilium-netpolicy @@ -84,12 +84,12 @@ spec: name: config securityContext: runAsNonRoot: true - serviceAccountName: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-controller-manager + serviceAccountName: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-ctrl-mgr terminationGracePeriodSeconds: 10 volumes: - configMap: items: - key: conf path: config.yaml - name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-controller-manager-config - name: config \ No newline at end of file + name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-ctrl-mgr-config + name: config diff --git a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/leader-election-rbac.yaml b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/leader-election-rbac.yaml index 7aef515..1836aa7 100644 --- a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/leader-election-rbac.yaml +++ b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/leader-election-rbac.yaml @@ -55,5 +55,5 @@ roleRef: name: '{{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-leader-election-role' subjects: - kind: ServiceAccount - name: '{{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-controller-manager' - namespace: '{{ .Release.Namespace }}' \ No newline at end of file + name: '{{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-ctrl-mgr' + namespace: '{{ .Release.Namespace }}' diff --git a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/manager-rbac.yaml b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/manager-rbac.yaml index 30c4b85..6420580 100644 --- a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/manager-rbac.yaml +++ b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/manager-rbac.yaml @@ -1,7 +1,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-manager-role + name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-mgr-role labels: {{- include "svc-lb-to-cilium-netpolicy-operator.labels" . | nindent 4 }} rules: @@ -51,7 +51,7 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-manager-rolebinding + name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-mgr-rolebinding labels: app.kubernetes.io/component: rbac app.kubernetes.io/created-by: svc-lb-to-cilium-netpolicy @@ -60,8 +60,8 @@ metadata: roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole - name: '{{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-manager-role' + name: '{{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-mgr-role' subjects: - kind: ServiceAccount - name: '{{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-controller-manager' - namespace: '{{ .Release.Namespace }}' \ No newline at end of file + name: '{{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-ctrl-mgr' + namespace: '{{ .Release.Namespace }}' diff --git a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/metrics-service.yaml b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/metrics-service.yaml index 09f5bb9..153a881 100644 --- a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/metrics-service.yaml +++ b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/metrics-service.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-controller-manager-metrics-service + name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-ctrl-mgr-metrics-service labels: app.kubernetes.io/component: kube-rbac-proxy app.kubernetes.io/created-by: svc-lb-to-cilium-netpolicy @@ -14,4 +14,4 @@ spec: control-plane: controller-manager {{- include "svc-lb-to-cilium-netpolicy-operator.selectorLabels" . | nindent 4 }} ports: - {{- .Values.metricsService.ports | toYaml | nindent 2 -}} \ No newline at end of file + {{- .Values.metricsService.ports | toYaml | nindent 2 -}} diff --git a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/proxy-rbac.yaml b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/proxy-rbac.yaml index 5ec2707..8f65a98 100644 --- a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/proxy-rbac.yaml +++ b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/proxy-rbac.yaml @@ -36,5 +36,5 @@ roleRef: name: '{{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-proxy-role' subjects: - kind: ServiceAccount - name: '{{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-controller-manager' - namespace: '{{ .Release.Namespace }}' \ No newline at end of file + name: '{{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-ctrl-mgr' + namespace: '{{ .Release.Namespace }}' diff --git a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/serviceaccount.yaml b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/serviceaccount.yaml index 7a29219..d05d418 100644 --- a/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/serviceaccount.yaml +++ b/deploy/charts/svc-lb-to-cilium-netpolicy-operator/templates/serviceaccount.yaml @@ -1,11 +1,11 @@ apiVersion: v1 kind: ServiceAccount metadata: - name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-controller-manager + name: {{ include "svc-lb-to-cilium-netpolicy-operator.fullname" . }}-ctrl-mgr labels: app.kubernetes.io/component: rbac app.kubernetes.io/created-by: svc-lb-to-cilium-netpolicy app.kubernetes.io/part-of: svc-lb-to-cilium-netpolicy {{- include "svc-lb-to-cilium-netpolicy-operator.labels" . | nindent 4 }} annotations: - {{- toYaml .Values.controllerManager.serviceAccount.annotations | nindent 4 }} \ No newline at end of file + {{- toYaml .Values.controllerManager.serviceAccount.annotations | nindent 4 }}