summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks/bootstrap_settings.yml
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-11-08 15:51:17 -0500
committerGitHub <noreply@github.com>2017-11-08 15:51:17 -0500
commita7172e8482124feeccf07671fc8263a79fc281a0 (patch)
tree1838759eba169d41807ec7ed2e0dd319269210ae /roles/openshift_master/tasks/bootstrap_settings.yml
parent52d2eb56e3198ed83c7c9a912aa22919e2180985 (diff)
parent8757073d8509a6301b70ff66383d84416bdd78cb (diff)
downloadopenshift-a7172e8482124feeccf07671fc8263a79fc281a0.tar.gz
openshift-a7172e8482124feeccf07671fc8263a79fc281a0.tar.bz2
openshift-a7172e8482124feeccf07671fc8263a79fc281a0.tar.xz
openshift-a7172e8482124feeccf07671fc8263a79fc281a0.zip
Merge pull request #6016 from kwoodson/bootstrap_enhancements-v3
Bootstrap enhancements.
Diffstat (limited to 'roles/openshift_master/tasks/bootstrap_settings.yml')
-rw-r--r--roles/openshift_master/tasks/bootstrap_settings.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/bootstrap_settings.yml b/roles/openshift_master/tasks/bootstrap_settings.yml
new file mode 100644
index 000000000..cbd7f587b
--- /dev/null
+++ b/roles/openshift_master/tasks/bootstrap_settings.yml
@@ -0,0 +1,14 @@
+---
+- name: modify controller args
+ yedit:
+ src: /etc/origin/master/master-config.yaml
+ edits:
+ - key: kubernetesMasterConfig.controllerArguments.cluster-signing-cert-file
+ value:
+ - /etc/origin/master/ca.crt
+ - key: kubernetesMasterConfig.controllerArguments.cluster-signing-key-file
+ value:
+ - /etc/origin/master/ca.key
+ notify:
+ - restart master controllers
+ when: openshift_master_bootstrap_enabled | default(False)