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 }}"
34 instance: "kube-proxy"
35 cert_path: /etc/kubernetes/ssl
36 common_name: "system:kube-proxy"
40 - path: "/etc/kubernetes/kubeconfig/proxyc.yml"
41 apiserver: "{{ ansible_host }}"
42 apiserver_port: "{{ caas.apiserver_secure_port }}"
45 when: nodetype | search("caas_master")
47 instance: "kube-proxy"
48 cert_path: /etc/kubernetes/ssl
49 common_name: "system:kube-proxy"
53 - path: "/etc/kubernetes/kubeconfig/proxyc.yml"
54 apiserver: "{{ caas.apiserver_in_hosts }}"
55 apiserver_port: "{{ caas.apiserver_secure_port }}"
58 when: not nodetype | search("caas_master")
60 - role: docker_image_load