4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
21 namespace: kube-system
25 - name: kube-apiserver
26 image: {{ container_image_names | select('search', '/hyperkube') | list | last }}
28 runAsUser: {{ caas.uid.kube }}
31 {{ apiserver_params | to_nice_yaml | indent(8) }}
34 mountPath: /etc/localtime
36 - name: secret-kubernetes
37 mountPath: /etc/kubernetes/ssl
39 - name: secret-root-ca
40 mountPath: /etc/openssl/ca.pem
43 mountPath: /etc/etcd/ssl
45 - name: audit-kube-apiserver
46 mountPath: /var/log/audit/kube_apiserver/
48 - name: audit-policy-dir
49 mountPath: {{ caas.caas_policy_directory }}
55 - name: secret-kubernetes
57 path: /etc/kubernetes/ssl
58 - name: secret-root-ca
60 path: /etc/openssl/ca.pem
64 - name: audit-kube-apiserver
66 path: /var/log/audit/kube_apiserver/
67 - name: audit-policy-dir
69 path: {{ caas.caas_policy_directory }}