upgrade.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. ---
  2. - name: Ensure all node groups have bootstrap settings
  3. include_tasks: create_config.yml
  4. vars:
  5. l_openshift_node_group_name: "{{ node_group.name }}"
  6. l_openshift_node_group_edits:
  7. - key: servingInfo.certFile
  8. value: ""
  9. - key: servingInfo.keyFile
  10. value: ""
  11. - key: servingInfo.clientCA
  12. value: "client-ca.crt"
  13. - key: kubeletArguments.pod-manifest-path
  14. value:
  15. - /etc/origin/node/pods
  16. - key: kubeletArguments.bootstrap-kubeconfig
  17. value:
  18. - /etc/origin/node/bootstrap.kubeconfig
  19. - key: kubeletArguments.feature-gates
  20. value:
  21. - RotateKubeletClientCertificate=true,RotateKubeletServerCertificate=true
  22. - key: kubeletArguments.rotate-certificates
  23. value:
  24. - "true"
  25. - key: kubeletArguments.cert-dir
  26. value:
  27. - /etc/origin/node/certificates
  28. - key: masterKubeConfig
  29. value: node.kubeconfig
  30. l_openshift_node_group_labels: "{{ node_group.labels }}"
  31. with_items: "{{ openshift_node_groups }}"
  32. loop_control:
  33. loop_var: node_group