- "--bind-address={{ apiserver }}"
- "--client-ca-file=/etc/openssl/ca.pem"
- "--enable-bootstrap-token-auth=true"
- - "--etcd-servers=http://{{ hostvars[hostname]['networking']['infra_internal']['ip'] }}:{{ caas.etcd_proxy_port }}{% for host in ( groups['caas_master'] | reject('search', hostname) ) %},http://{{ hostvars[host]['networking']['infra_internal']['ip'] }}:{{ caas.etcd_proxy_port }}{% endfor %}"
+ - "--etcd-cafile=/etc/etcd/ssl/ca.pem"
+ - "--etcd-certfile=/etc/etcd/ssl/etcd{{ nodeindex }}.pem"
+ - "--etcd-keyfile=/etc/etcd/ssl/etcd{{ nodeindex }}-key.pem"
+ - "--etcd-servers=http://{{ hostvars[hostname]['networking']['infra_internal']['ip'] }}:{{ caas.etcd_api_port }}{% for host in ( groups['caas_master'] | reject('search', hostname) ) %},http://{{ hostvars[host]['networking']['infra_internal']['ip'] }}:{{ caas.etcd_api_port }}{% endfor %}"
- "--experimental-encryption-provider-config={{ caas.cert_path }}/{{ caas._secrets_conf }}"
- "--feature-gates={{ apiserver_feature_gates | get_kube_options }}"
- "--insecure-port=0"
%define COMPONENT kubernetes
%define RPM_NAME caas-%{COMPONENT}
%define RPM_MAJOR_VERSION 1.15.3
-%define RPM_MINOR_VERSION 3
+%define RPM_MINOR_VERSION 4
%define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION}
%define KUBERNETESPAUSE_VERSION 3.1