Skip to content

Commit a1724a9

Browse files
refactor(deploy): remove kube-rbac-proxy configuration from deploy.ya… (#6780)
refactor(deploy): remove kube-rbac-proxy configuration from deploy.ya… (#6779) * refactor(deploy): remove kube-rbac-proxy configuration from deploy.yaml and templates * refactor(webhooks): update conditional checks for image build and registry login * refactor(webhooks): update conditional checks for image build and registry login --------- Signed-off-by: cuisongliu <cuisongliu@qq.com> Co-authored-by: cuisongliu <cuisongliu@qq.com>
1 parent 2aa82b0 commit a1724a9

3 files changed

Lines changed: 0 additions & 69 deletions

File tree

controllers/app/deploy/manifests/deploy.yaml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -583,29 +583,6 @@ spec:
583583
control-plane: controller-manager
584584
spec:
585585
containers:
586-
- args:
587-
- --secure-listen-address=0.0.0.0:8443
588-
- --upstream=http://127.0.0.1:8080/
589-
- --logtostderr=true
590-
- --v=0
591-
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1
592-
name: kube-rbac-proxy
593-
ports:
594-
- containerPort: 8443
595-
name: https
596-
protocol: TCP
597-
resources:
598-
limits:
599-
cpu: 500m
600-
memory: 128Mi
601-
requests:
602-
cpu: 5m
603-
memory: 64Mi
604-
securityContext:
605-
allowPrivilegeEscalation: false
606-
capabilities:
607-
drop:
608-
- ALL
609586
- args:
610587
- --health-probe-bind-address=:8081
611588
- --metrics-bind-address=127.0.0.1:8080

controllers/objectstorage/deploy/manifests/deploy.yaml.tmpl

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -478,29 +478,6 @@ spec:
478478
values:
479479
- linux
480480
containers:
481-
- args:
482-
- --secure-listen-address=0.0.0.0:8443
483-
- --upstream=http://127.0.0.1:8080/
484-
- --logtostderr=true
485-
- --v=0
486-
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.0
487-
name: kube-rbac-proxy
488-
ports:
489-
- containerPort: 8443
490-
name: https
491-
protocol: TCP
492-
resources:
493-
limits:
494-
cpu: 500m
495-
memory: 512Mi
496-
requests:
497-
cpu: 5m
498-
memory: 64Mi
499-
securityContext:
500-
allowPrivilegeEscalation: false
501-
capabilities:
502-
drop:
503-
- ALL
504481
- args:
505482
- --health-probe-bind-address=:8081
506483
- --metrics-bind-address=127.0.0.1:8080

webhooks/admission/deploy/manifests/deploy.yaml.tmpl

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -337,29 +337,6 @@ spec:
337337
- mountPath: /tmp/k8s-webhook-server/serving-certs
338338
name: cert
339339
readOnly: true
340-
- args:
341-
- --secure-listen-address=0.0.0.0:8443
342-
- --upstream=http://127.0.0.1:8080/
343-
- --logtostderr=true
344-
- --v=0
345-
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1
346-
name: kube-rbac-proxy
347-
ports:
348-
- containerPort: 8443
349-
name: https
350-
protocol: TCP
351-
resources:
352-
limits:
353-
cpu: 500m
354-
memory: 128Mi
355-
requests:
356-
cpu: 5m
357-
memory: 64Mi
358-
securityContext:
359-
allowPrivilegeEscalation: false
360-
capabilities:
361-
drop:
362-
- ALL
363340
securityContext:
364341
runAsNonRoot: true
365342
serviceAccountName: admission-controller-manager

0 commit comments

Comments
 (0)