airshipctl/manifests/function/hwcc/default/manager_webhook_patch.yaml
Rajat Sharma 57a543478c Add manifests for Hardware-Classification-Controller
Adding Deployment manifests and README.md
Relates-To-Issue: #78

Change-Id: I9fd1aa39a19bd1d60bdbed826016aeb0786bb188
Co-Authored-By: Ashu Kumar <ashughorla@gmail.com>
2020-08-18 09:31:04 +00:00

24 lines
508 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: controller-manager
namespace: system
spec:
template:
spec:
containers:
- name: manager
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: webhook-server-cert