master_config_upgrade.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ---
  2. - modify_yaml:
  3. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  4. yaml_key: 'masterClients.externalKubernetesClientConnectionOverrides.acceptContentTypes'
  5. yaml_value: 'application/vnd.kubernetes.protobuf,application/json'
  6. - modify_yaml:
  7. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  8. yaml_key: 'masterClients.externalKubernetesClientConnectionOverrides.contentType'
  9. yaml_value: 'application/vnd.kubernetes.protobuf'
  10. - modify_yaml:
  11. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  12. yaml_key: 'masterClients.externalKubernetesClientConnectionOverrides.burst'
  13. yaml_value: 400
  14. - modify_yaml:
  15. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  16. yaml_key: 'masterClients.externalKubernetesClientConnectionOverrides.qps'
  17. yaml_value: 200
  18. - modify_yaml:
  19. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  20. yaml_key: 'masterClients.openshiftLoopbackClientConnectionOverrides.acceptContentTypes'
  21. yaml_value: 'application/vnd.kubernetes.protobuf,application/json'
  22. - modify_yaml:
  23. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  24. yaml_key: 'masterClients.openshiftLoopbackClientConnectionOverrides.contentType'
  25. yaml_value: 'application/vnd.kubernetes.protobuf'
  26. - modify_yaml:
  27. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  28. yaml_key: 'masterClients.openshiftLoopbackClientConnectionOverrides.burst'
  29. yaml_value: 600
  30. - modify_yaml:
  31. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  32. yaml_key: 'masterClients.openshiftLoopbackClientConnectionOverrides.qps'
  33. yaml_value: 300
  34. - modify_yaml:
  35. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  36. yaml_key: 'controllerConfig.servicesServingCert.signer.certFile'
  37. yaml_value: service-signer.crt
  38. - modify_yaml:
  39. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  40. yaml_key: 'controllerConfig.servicesServingCert.signer.keyFile'
  41. yaml_value: service-signer.key
  42. - modify_yaml:
  43. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  44. yaml_key: 'admissionConfig.pluginConfig'
  45. yaml_value: "{{ openshift.master.admission_plugin_config }}"
  46. when: "'admission_plugin_config' in openshift.master"
  47. - modify_yaml:
  48. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  49. yaml_key: 'admissionConfig.pluginOrderOverride'
  50. yaml_value:
  51. - modify_yaml:
  52. dest: "{{ openshift.common.config_base}}/master/master-config.yaml"
  53. yaml_key: 'kubernetesMasterConfig.admissionConfig'
  54. yaml_value: