Merge "Update versions of addons"
[icn.git] / deploy / cpu-manager / base / cmk-install-pod.yaml
1 # Copyright (c) 2017 Intel Corporation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 #
15 apiVersion: v1
16 kind: Pod
17 metadata:
18   labels:
19     app: cmk-install-pod
20   name: cmk-install-pod
21   namespace: cmk-namespace
22 spec:
23   serviceAccountName: cmk-serviceaccount
24   containers:
25   - args:
26     - "/cmk/cmk.py install --install-dir=/opt/bin"
27     command:
28     - "/bin/bash"
29     - "-c"
30     image: cmk:v1.4.1
31     name: cmk-install-pod
32     volumeMounts:
33     - mountPath: "/opt/bin"
34       name: cmk-install-dir
35   restartPolicy: Never
36   volumes:
37   - hostPath:
38       # Change this to modify the CMK installation dir in the host file system.
39       path: "/opt/bin"
40     name: cmk-install-dir