Skip to content

Commit 9fb6c32

Browse files
authored
helm: remove kube-rbac-proxy (#2849)
1 parent 4431ac3 commit 9fb6c32

File tree

7 files changed

+6
-139
lines changed
  • internal/constellation/helm
    • charts/edgeless/operators/charts/constellation-operator
    • testdata
      • AWS/constellation-operators/charts/constellation-operator/templates
      • Azure/constellation-operators/charts/constellation-operator/templates
      • GCP/constellation-operators/charts/constellation-operator/templates
      • OpenStack/constellation-operators/charts/constellation-operator/templates
      • QEMU/constellation-operators/charts/constellation-operator/templates

7 files changed

+6
-139
lines changed

internal/constellation/helm/charts/edgeless/operators/charts/constellation-operator/templates/deployment.yaml

+1-18
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,9 @@ spec:
2929
kubectl.kubernetes.io/default-container: manager
3030
spec:
3131
containers:
32-
- args:
33-
- --secure-listen-address=0.0.0.0:8443
34-
- --upstream=http://127.0.0.1:8080/
35-
- --logtostderr=true
36-
- --v=0
37-
env:
38-
- name: KUBERNETES_CLUSTER_DOMAIN
39-
value: {{ .Values.kubernetesClusterDomain }}
40-
image: {{ .Values.controllerManager.kubeRbacProxy.image.repository }}:{{ .Values.controllerManager.kubeRbacProxy.image.tag
41-
| default .Chart.AppVersion }}
42-
name: kube-rbac-proxy
43-
ports:
44-
- containerPort: 8443
45-
name: https
46-
protocol: TCP
47-
resources: {{- toYaml .Values.controllerManager.kubeRbacProxy.resources | nindent
48-
10 }}
4932
- args:
5033
- --health-probe-bind-address=:8081
51-
- --metrics-bind-address=127.0.0.1:8080
34+
- --metrics-bind-address=:8080
5235
- --leader-elect
5336
command:
5437
- /node-operator

internal/constellation/helm/charts/edgeless/operators/charts/constellation-operator/values.yaml

-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
controllerManager:
2-
kubeRbacProxy:
3-
image:
4-
repository: gcr.io/kubebuilder/kube-rbac-proxy
5-
tag: v0.14.1
6-
resources:
7-
limits:
8-
cpu: 500m
9-
memory: 128Mi
10-
requests:
11-
cpu: 5m
12-
memory: 64Mi
132
manager:
143
resources:
154
limits:

internal/constellation/helm/testdata/AWS/constellation-operators/charts/constellation-operator/templates/deployment.yaml

+1-22
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,9 @@ spec:
3737
kubectl.kubernetes.io/default-container: manager
3838
spec:
3939
containers:
40-
- args:
41-
- --secure-listen-address=0.0.0.0:8443
42-
- --upstream=http://127.0.0.1:8080/
43-
- --logtostderr=true
44-
- --v=0
45-
env:
46-
- name: KUBERNETES_CLUSTER_DOMAIN
47-
value: cluster.local
48-
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1
49-
name: kube-rbac-proxy
50-
ports:
51-
- containerPort: 8443
52-
name: https
53-
protocol: TCP
54-
resources:
55-
limits:
56-
cpu: 500m
57-
memory: 128Mi
58-
requests:
59-
cpu: 5m
60-
memory: 64Mi
6140
- args:
6241
- --health-probe-bind-address=:8081
63-
- --metrics-bind-address=127.0.0.1:8080
42+
- --metrics-bind-address=:8080
6443
- --leader-elect
6544
command:
6645
- /node-operator

internal/constellation/helm/testdata/Azure/constellation-operators/charts/constellation-operator/templates/deployment.yaml

+1-22
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,9 @@ spec:
3737
kubectl.kubernetes.io/default-container: manager
3838
spec:
3939
containers:
40-
- args:
41-
- --secure-listen-address=0.0.0.0:8443
42-
- --upstream=http://127.0.0.1:8080/
43-
- --logtostderr=true
44-
- --v=0
45-
env:
46-
- name: KUBERNETES_CLUSTER_DOMAIN
47-
value: cluster.local
48-
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1
49-
name: kube-rbac-proxy
50-
ports:
51-
- containerPort: 8443
52-
name: https
53-
protocol: TCP
54-
resources:
55-
limits:
56-
cpu: 500m
57-
memory: 128Mi
58-
requests:
59-
cpu: 5m
60-
memory: 64Mi
6140
- args:
6241
- --health-probe-bind-address=:8081
63-
- --metrics-bind-address=127.0.0.1:8080
42+
- --metrics-bind-address=:8080
6443
- --leader-elect
6544
command:
6645
- /node-operator

internal/constellation/helm/testdata/GCP/constellation-operators/charts/constellation-operator/templates/deployment.yaml

+1-22
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,9 @@ spec:
3737
kubectl.kubernetes.io/default-container: manager
3838
spec:
3939
containers:
40-
- args:
41-
- --secure-listen-address=0.0.0.0:8443
42-
- --upstream=http://127.0.0.1:8080/
43-
- --logtostderr=true
44-
- --v=0
45-
env:
46-
- name: KUBERNETES_CLUSTER_DOMAIN
47-
value: cluster.local
48-
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1
49-
name: kube-rbac-proxy
50-
ports:
51-
- containerPort: 8443
52-
name: https
53-
protocol: TCP
54-
resources:
55-
limits:
56-
cpu: 500m
57-
memory: 128Mi
58-
requests:
59-
cpu: 5m
60-
memory: 64Mi
6140
- args:
6241
- --health-probe-bind-address=:8081
63-
- --metrics-bind-address=127.0.0.1:8080
42+
- --metrics-bind-address=:8080
6443
- --leader-elect
6544
command:
6645
- /node-operator

internal/constellation/helm/testdata/OpenStack/constellation-operators/charts/constellation-operator/templates/deployment.yaml

+1-22
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,9 @@ spec:
3737
kubectl.kubernetes.io/default-container: manager
3838
spec:
3939
containers:
40-
- args:
41-
- --secure-listen-address=0.0.0.0:8443
42-
- --upstream=http://127.0.0.1:8080/
43-
- --logtostderr=true
44-
- --v=0
45-
env:
46-
- name: KUBERNETES_CLUSTER_DOMAIN
47-
value: cluster.local
48-
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1
49-
name: kube-rbac-proxy
50-
ports:
51-
- containerPort: 8443
52-
name: https
53-
protocol: TCP
54-
resources:
55-
limits:
56-
cpu: 500m
57-
memory: 128Mi
58-
requests:
59-
cpu: 5m
60-
memory: 64Mi
6140
- args:
6241
- --health-probe-bind-address=:8081
63-
- --metrics-bind-address=127.0.0.1:8080
42+
- --metrics-bind-address=:8080
6443
- --leader-elect
6544
command:
6645
- /node-operator

internal/constellation/helm/testdata/QEMU/constellation-operators/charts/constellation-operator/templates/deployment.yaml

+1-22
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,9 @@ spec:
3737
kubectl.kubernetes.io/default-container: manager
3838
spec:
3939
containers:
40-
- args:
41-
- --secure-listen-address=0.0.0.0:8443
42-
- --upstream=http://127.0.0.1:8080/
43-
- --logtostderr=true
44-
- --v=0
45-
env:
46-
- name: KUBERNETES_CLUSTER_DOMAIN
47-
value: cluster.local
48-
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1
49-
name: kube-rbac-proxy
50-
ports:
51-
- containerPort: 8443
52-
name: https
53-
protocol: TCP
54-
resources:
55-
limits:
56-
cpu: 500m
57-
memory: 128Mi
58-
requests:
59-
cpu: 5m
60-
memory: 64Mi
6140
- args:
6241
- --health-probe-bind-address=:8081
63-
- --metrics-bind-address=127.0.0.1:8080
42+
- --metrics-bind-address=:8080
6443
- --leader-elect
6544
command:
6645
- /node-operator

0 commit comments

Comments
 (0)