aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorhu xinhui <xinhui_hu@foxmail.com>2018-09-13 14:28:41 +0800
committerhu xinhui <xinhui_hu@foxmail.com>2018-09-13 14:34:19 +0800
commit7f1e18319e7f4a4dc53e61b10b0655609a56d3d9 (patch)
tree9b5e9d76c79d318277eef6acdc970647e7135a9b /deploy
parent052f11551e0c817e41454ea877ca90dc56c9580d (diff)
Change k8s version from 1.9.1 to 1.10.4
Change-Id: Ib471ca9c27a1ffea0d5017241f7602083d8f14df Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
Diffstat (limited to 'deploy')
-rw-r--r--deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml b/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml
index 0e253129..861bbfa1 100644
--- a/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml
+++ b/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml
@@ -91,63 +91,63 @@
- name: enable helm
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/k8s-cluster.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/k8s-cluster.yml
regexp: '^helm_enabled:'
line: 'helm_enabled: {{ helm_flag }}'
- name: enable external lb | set lb domain_nam
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^## apiserver_loadbalancer_domain_name:'
line: 'apiserver_loadbalancer_domain_name: {{ apiserver_loadbalancer_domain_name }}'
- name: enable external lb |
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^#loadbalancer_apiserver:'
line: 'loadbalancer_apiserver:'
- name: enable external lb | set vip address
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^# address: 1.2.3.4'
line: ' address: {{ vipaddress }}'
- name: enable external lb | set vip port
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^# port: 1234'
line: ' port: {{ exlb_port }}'
- name: enable internal lb
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^#loadbalancer_apiserver_localhost: true'
line: 'loadbalancer_apiserver_localhost: true'
- name: enable http proxy
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^#http_proxy:'
line: 'http_proxy: {{ http_proxy }}'
when: http_proxy != ''
- name: enable https proxy
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^#https_proxy:'
line: 'https_proxy: {{ https_proxy }}'
when: https_proxy !=''
- name: use the user name and password login the dashboard
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/k8s-cluster.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/k8s-cluster.yml
regexp: '^#kube_basic_auth: false'
line: 'kube_basic_auth: true'
- name: add vip to ssl keys
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/k8s-cluster.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/k8s-cluster.yml
line: 'supplementary_addresses_in_ssl_keys: [{{ vipaddress }}]'
- name: rm openssl file