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.
19 _gid: "{{ caas.uid.kube }}"
29 _uid: "{{ caas.uid.kube }}"
35 instance: "apiserver{{ nodeindex }}"
36 cert_path: /etc/kubernetes/ssl
37 common_name: "system:apiserver"
40 - "{{ caas.apiserver_service_name}}"
41 - "{{ caas.apiserver_in_hosts }}"
43 - "{{ ansible_host }}"
44 - "{{ caas.apiserver_svc_ip }}"
49 # kube-controller-manager cert
51 instance: "kube-controller-manager{{ nodeindex }}"
52 cert_path: /etc/kubernetes/ssl
53 common_name: "system:kube-controller-manager"
54 org_name: "system:masters"
57 - "{{ ansible_host }}"
61 - path: "/etc/kubernetes/kubeconfig/cmc.yml"
62 apiserver: "{{ caas.apiserver_svc_ip }}"
63 apiserver_port: "{{ caas.apiserver_svc_port }}"
68 instance: "kube-scheduler{{ nodeindex }}"
69 cert_path: /etc/kubernetes/ssl
70 common_name: "system:kube-scheduler"
73 - "{{ ansible_host }}"
77 - path: "/etc/kubernetes/kubeconfig/schedulerc.yml"
78 apiserver: "{{ caas.apiserver_svc_ip }}"
79 apiserver_port: "{{ caas.apiserver_svc_port }}"
85 cert_name: "metrics.crt"
86 key_name: "metrics.key"
87 common_name: "metrics"
88 cert_path: /etc/kubernetes/ssl
91 - custom-metrics-apiserver.kube-system.svc.nokia.net
97 - role: docker_image_load