Skip to content

Commit 745f07a

Browse files
authored
helmchart: fix deployment and namespace label duplicates (#28)
* fix deployment and namespace labels Signed-off-by: Filip Rafaj <filiprafaj@gmail.com> * fix labels in pod template of deployment.yaml Signed-off-by: Filip Rafaj <filip.rafaj@prusa3d.cz> --------- Signed-off-by: Filip Rafaj <filiprafaj@gmail.com> Signed-off-by: Filip Rafaj <filip.rafaj@prusa3d.cz>
1 parent 87098c0 commit 745f07a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

helm/argocd-rbac-operator/templates/deployment.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ kind: Deployment
33
metadata:
44
labels:
55
{{- include "argocd-rbac-operator.labels" . | nindent 4 }}
6-
{{- include "argocd-rbac-operator.selectorLabels" . | nindent 4 }}
76
name: {{ include "argocd-rbac-operator.name" . }}
87
namespace: {{ include "argocd-rbac-operator.namespace" . }}
98
spec:
@@ -14,9 +13,8 @@ spec:
1413
metadata:
1514
annotations:
1615
kubectl.kubernetes.io/default-container: rbac-operator
17-
labels:
16+
labels:
1817
{{- include "argocd-rbac-operator.labels" . | nindent 8 }}
19-
{{- include "argocd-rbac-operator.selectorLabels" . | nindent 8 }}
2018
spec:
2119
affinity:
2220
nodeAffinity:

helm/argocd-rbac-operator/templates/namespace.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ kind: Namespace
33
metadata:
44
labels:
55
{{- include "argocd-rbac-operator.labels" . | nindent 4 }}
6-
{{- include "argocd-rbac-operator.selectorLabels" . | nindent 4 }}
76
name: {{ include "argocd-rbac-operator.namespace" . }}

0 commit comments

Comments
 (0)