5cf6528dee
Version 0.3.1 has been used as a basis for this function Closes: #161 Change-Id: I7c15fdff0a0cb2ba90295d0a403f737ee4398deb
27 lines
601 B
YAML
27 lines
601 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: controller-manager
|
|
namespace: system
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: manager
|
|
args:
|
|
- "--metrics-addr=127.0.0.1:8080"
|
|
- "--webhook-port=9443"
|
|
ports:
|
|
- containerPort: 9443
|
|
name: webhook-server
|
|
protocol: TCP
|
|
volumeMounts:
|
|
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
|
name: cert
|
|
readOnly: true
|
|
volumes:
|
|
- name: cert
|
|
secret:
|
|
defaultMode: 420
|
|
secretName: $(SERVICE_NAME)-cert
|