Update versions of addons
[icn.git] / deploy / cpu-manager / base / cmk-webhook-configmap.yaml
1 apiVersion: v1
2 kind: ConfigMap
3 metadata:
4   name: cmk-webhook-configmap
5   #namespace: user-supplied-namespace
6 data:
7   server.yaml: |
8     server:
9       binding-address: "0.0.0.0"
10       port: 443
11       cert: "/etc/ssl/cert.pem"
12       key: "/etc/ssl/key.pem"
13       mutations: "/etc/webhook/mutations.yaml"
14   mutations.yaml: |
15     mutations:
16       perPod:
17         metadata:
18           annotations:
19             cmk.intel.com/resources-injected: "true"
20         spec:
21           serviceAccount: cmk-serviceaccount
22           tolerations:
23           - operator: Exists
24           volumes:
25           - name: cmk-host-proc
26             hostPath:
27               path: "/proc"
28           - name: cmk-config-dir
29             hostPath:
30               path: "/etc/cmk"
31           - name: cmk-install-dir
32             hostPath:
33               path: "/opt/bin"
34       perContainer:
35         env:
36         - name: CMK_PROC_FS
37           value: "/host/proc"
38         volumeMounts:
39         - name: cmk-host-proc
40           mountPath: /host/proc
41           readOnly: true
42         - name: cmk-config-dir
43           mountPath: /etc/cmk
44         - name: cmk-install-dir
45           mountPath: /opt/bin