Skip to content

Commit 50b7f2f

Browse files
committed
Remove kube-rbac-proxy from helm chart
1 parent 7af99ae commit 50b7f2f

File tree

3 files changed

+1
-65
lines changed

3 files changed

+1
-65
lines changed

hack/charts/cluster-api-operator/templates/deployment.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -101,30 +101,6 @@ spec:
101101
volumeMounts:
102102
{{- toYaml . | nindent 12 }}
103103
{{- end }}
104-
- args:
105-
- --secure-listen-address=0.0.0.0:8443
106-
- --upstream=http://127.0.0.1:8080/
107-
- --logtostderr=true
108-
{{- if .Values.logLevel }}
109-
- --v={{ .Values.logLevel }}
110-
{{- end }}
111-
{{- with .Values.image.kubeRBACProxy }}
112-
image: "{{- if .registry -}}{{ .registry }}/{{- end -}}{{ .repository }}{{- if (.digest) -}} @{{ .digest }}{{- else -}}:{{ default $.Chart.AppVersion .tag }} {{- end -}}"
113-
{{- end }}
114-
imagePullPolicy: {{ .Values.image.kubeRBACProxy.pullPolicy }}
115-
name: kube-rbac-proxy
116-
ports:
117-
- containerPort: 8443
118-
name: https
119-
protocol: TCP
120-
{{- with .Values.resources.kubeRBACProxy }}
121-
resources:
122-
{{- toYaml . | nindent 12 }}
123-
{{- end }}
124-
{{- with .Values.containerSecurityContext.kubeRBACProxy }}
125-
securityContext:
126-
{{- toYaml . | nindent 12 }}
127-
{{- end }}
128104
terminationGracePeriodSeconds: 10
129105
{{- with .Values.volumes }}
130106
volumes:

hack/charts/cluster-api-operator/values.yaml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ image:
2626
repository: gcr.io/k8s-staging-capi-operator/cluster-api-operator
2727
tag: dev
2828
pullPolicy: IfNotPresent
29-
kubeRBACProxy:
30-
repository: gcr.io/kubebuilder/kube-rbac-proxy
31-
tag: v0.14.1
32-
pullPolicy: IfNotPresent
3329
healthAddr: ":8081"
3430
metricsBindAddr: "127.0.0.1:8080"
3531
imagePullSecrets: {}
@@ -41,19 +37,7 @@ resources:
4137
requests:
4238
cpu: 100m
4339
memory: 100Mi
44-
kubeRBACProxy:
45-
limits:
46-
cpu: 500m
47-
memory: 128Mi
48-
requests:
49-
cpu: 5m
50-
memory: 64Mi
51-
containerSecurityContext:
52-
kubeRBACProxy:
53-
allowPrivilegeEscalation: false
54-
capabilities:
55-
drop:
56-
- ALL
40+
containerSecurityContext: {}
5741
affinity:
5842
nodeAffinity:
5943
requiredDuringSchedulingIgnoredDuringExecution:

test/e2e/resources/full-chart-install.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14114,30 +14114,6 @@ spec:
1411414114
- mountPath: /tmp/k8s-webhook-server/serving-certs
1411514115
name: cert
1411614116
readOnly: true
14117-
- args:
14118-
- --secure-listen-address=0.0.0.0:8443
14119-
- --upstream=http://127.0.0.1:8080/
14120-
- --logtostderr=true
14121-
- --v=2
14122-
image: "gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1"
14123-
imagePullPolicy: IfNotPresent
14124-
name: kube-rbac-proxy
14125-
ports:
14126-
- containerPort: 8443
14127-
name: https
14128-
protocol: TCP
14129-
resources:
14130-
limits:
14131-
cpu: 500m
14132-
memory: 128Mi
14133-
requests:
14134-
cpu: 5m
14135-
memory: 64Mi
14136-
securityContext:
14137-
allowPrivilegeEscalation: false
14138-
capabilities:
14139-
drop:
14140-
- ALL
1414114117
terminationGracePeriodSeconds: 10
1414214118
volumes:
1414314119
- name: cert

0 commit comments

Comments
 (0)