Skip to content

Commit

Permalink
config, Align kubemacpool manifest (#363)
Browse files Browse the repository at this point in the history
Kubemacpool is now using kube-proxy, but the manifests were not
updated accordingly.
Aligning manifests.

Signed-off-by: Ram Lavi <[email protected]>
  • Loading branch information
RamLavi authored Mar 17, 2022
1 parent a3a9e56 commit bc360b6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
19 changes: 16 additions & 3 deletions config/release/kubemacpool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,6 @@ spec:
- containerPort: 8000
name: webhook-server
protocol: TCP
- containerPort: 8080
name: metrics
protocol: TCP
readinessProbe:
httpGet:
httpHeaders:
Expand All @@ -403,6 +400,22 @@ spec:
- mountPath: /tmp/k8s-webhook-server/serving-certs/
name: tls-key-pair
readOnly: true
- args:
- --logtostderr
- --secure-listen-address=:8443
- --upstream=http://127.0.0.1:8080
image: quay.io/openshift/origin-kube-rbac-proxy:4.10.0
imagePullPolicy: IfNotPresent
name: kube-rbac-proxy
ports:
- containerPort: 8443
name: metrics
protocol: TCP
resources:
requests:
cpu: 10m
memory: 20Mi
terminationMessagePolicy: FallbackToLogsOnError
priorityClassName: system-cluster-critical
restartPolicy: Always
terminationGracePeriodSeconds: 5
Expand Down
19 changes: 16 additions & 3 deletions config/test/kubemacpool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,6 @@ spec:
- containerPort: 8000
name: webhook-server
protocol: TCP
- containerPort: 8080
name: metrics
protocol: TCP
readinessProbe:
httpGet:
httpHeaders:
Expand All @@ -404,6 +401,22 @@ spec:
- mountPath: /tmp/k8s-webhook-server/serving-certs/
name: tls-key-pair
readOnly: true
- args:
- --logtostderr
- --secure-listen-address=:8443
- --upstream=http://127.0.0.1:8080
image: quay.io/openshift/origin-kube-rbac-proxy:4.10.0
imagePullPolicy: IfNotPresent
name: kube-rbac-proxy
ports:
- containerPort: 8443
name: metrics
protocol: TCP
resources:
requests:
cpu: 10m
memory: 20Mi
terminationMessagePolicy: FallbackToLogsOnError
priorityClassName: system-cluster-critical
restartPolicy: Always
terminationGracePeriodSeconds: 5
Expand Down

0 comments on commit bc360b6

Please sign in to comment.