Skip to content

Commit

Permalink
Add Required kustomize changes to remove kube-rbac-proxy
Browse files Browse the repository at this point in the history
Signed-off-by: Furkat gofurov <furkat.gofurov@suse.com>
  • Loading branch information
furkatgofurov7 committed Nov 30, 2023
1 parent c929997 commit 344e72d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,10 @@ spec:
containers:
- name: manager
args:
- --metrics-bind-addr=:8080
- --leader-elect
- --leader-elect-retry-period=5s
- "--diagnostics-address=${CAPI_OPERATOR_DIAGNOSTICS_ADDRESS:=:8443}"
- "--insecure-diagnostics=${CAPI_OPERATOR_INSECURE_DIAGNOSTICS:=false}"
- --v=5
env:...
```
Expand Down
3 changes: 0 additions & 3 deletions hack/charts/cluster-api-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ spec:
{{- if .Values.healthAddr }}
- --health-addr={{ .Values.healthAddr }}
{{- end }}
{{- if .Values.metricsBindAddr }}
- --metrics-bind-addr={{ .Values.metricsBindAddr }}
{{- end }}
{{- with .Values.leaderElection }}
- --leader-elect={{ .enabled }}
{{- if .leaseDuration }}
Expand Down
1 change: 0 additions & 1 deletion hack/charts/cluster-api-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ image:
tag: dev
pullPolicy: IfNotPresent
healthAddr: ":8081"
metricsBindAddr: "127.0.0.1:8080"
imagePullSecrets: {}
resources:
manager:
Expand Down
1 change: 0 additions & 1 deletion test/e2e/resources/full-chart-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14091,7 +14091,6 @@ spec:
- args:
- --v=2
- --health-addr=:8081
- --metrics-bind-addr=127.0.0.1:8080
- --leader-elect=true
command:
- /manager
Expand Down

0 comments on commit 344e72d

Please sign in to comment.