Skip to content

Commit

Permalink
fix: remove duplicated labels on rbac components
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaribe committed Feb 28, 2023
1 parent feb973a commit 4c216dc
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion helm/cloudflare-zero-trust-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ home: https://github.com/bojanzelic/cloudflare-zero-trust-operator
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "0.2.0"
version: "0.2.1"
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ metadata:
labels:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: bojanzelic-cloudflare-zero-trust-operator
app.kubernetes.io/instance: leader-election-role
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: role
app.kubernetes.io/part-of: bojanzelic-cloudflare-zero-trust-operator
{{- include "cloudflare-zero-trust-operator.labels" . | nindent 4 }}
rules:
Expand Down Expand Up @@ -50,9 +47,6 @@ metadata:
labels:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: bojanzelic-cloudflare-zero-trust-operator
app.kubernetes.io/instance: leader-election-rolebinding
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: rolebinding
app.kubernetes.io/part-of: bojanzelic-cloudflare-zero-trust-operator
{{- include "cloudflare-zero-trust-operator.labels" . | nindent 4 }}
roleRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ metadata:
labels:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: bojanzelic-cloudflare-zero-trust-operator
app.kubernetes.io/instance: manager-rolebinding
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: clusterrolebinding
app.kubernetes.io/part-of: bojanzelic-cloudflare-zero-trust-operator
{{- include "cloudflare-zero-trust-operator.labels" . | nindent 4 }}
roleRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ metadata:
labels:
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: bojanzelic-cloudflare-zero-trust-operator
app.kubernetes.io/instance: metrics-reader
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: clusterrole
app.kubernetes.io/part-of: bojanzelic-cloudflare-zero-trust-operator
{{- include "cloudflare-zero-trust-operator.labels" . | nindent 4 }}
rules:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ metadata:
labels:
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: bojanzelic-cloudflare-zero-trust-operator
app.kubernetes.io/instance: proxy-role
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: clusterrole
app.kubernetes.io/part-of: bojanzelic-cloudflare-zero-trust-operator
{{- include "cloudflare-zero-trust-operator.labels" . | nindent 4 }}
rules:
Expand All @@ -31,9 +28,6 @@ metadata:
labels:
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: bojanzelic-cloudflare-zero-trust-operator
app.kubernetes.io/instance: proxy-rolebinding
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: clusterrolebinding
app.kubernetes.io/part-of: bojanzelic-cloudflare-zero-trust-operator
{{- include "cloudflare-zero-trust-operator.labels" . | nindent 4 }}
roleRef:
Expand Down

0 comments on commit 4c216dc

Please sign in to comment.