airshipctl/manifests/function/cabpk/v0.3.3/webhook/manager_webhook_patch.yaml
Dmitry Ukov 48bf0b87c3 Add version to bootstrap kubeadm provider
Contents of cabpk moved to appropriate directory to comply with
clusterctl requirements

Change-Id: Ic65ab669155ef3bdb4d1e87bae62506703cd9c04
2020-04-27 17:49:27 +04:00

27 lines
597 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