Merge "Apply apiserver parameters on restore and upgrade"
This commit is contained in:
commit
787e3ee5cf
|
@ -542,6 +542,30 @@
|
|||
|
||||
when: check_online.stdout == "online" and ceph_backend.rc == 0
|
||||
|
||||
- name: Apply kube-apiserver parameters
|
||||
block:
|
||||
- name: Update host config data
|
||||
command: "/usr/bin/sysinv-puppet create-host-config"
|
||||
|
||||
- name: Update system config data
|
||||
command: "/usr/bin/sysinv-puppet create-system-config"
|
||||
|
||||
- name: Create a list of apiserver parameters classes to pass to puppet
|
||||
copy:
|
||||
dest: "/tmp/apiserver.yml"
|
||||
content: |
|
||||
classes:
|
||||
- platform::kubernetes::master::change_apiserver_parameters
|
||||
|
||||
- name: Apply puppet apiserver parameters
|
||||
command: >
|
||||
/usr/local/bin/puppet-manifest-apply.sh
|
||||
{{ puppet_permdir }}/hieradata/
|
||||
{{ derived_network_params.controller_0_address }}
|
||||
controller runtime /tmp/apiserver.yml
|
||||
environment:
|
||||
LC_ALL: "en_US.UTF-8"
|
||||
|
||||
- name: Set restore in progress for sysinv
|
||||
shell: "source /etc/platform/openrc; system restore-start"
|
||||
|
||||
|
|
Loading…
Reference in New Issue