Container Infrastructure Management Service for OpenStack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
3.5KB

  1. #cloud-config
  2. merge_how: dict(recurse_array)+list(append)
  3. write_files:
  4. - path: /etc/sysconfig/heat-params
  5. owner: "root:root"
  6. permissions: "0600"
  7. content: |
  8. INSTANCE_NAME="$INSTANCE_NAME"
  9. PROMETHEUS_MONITORING="$PROMETHEUS_MONITORING"
  10. KUBE_API_PUBLIC_ADDRESS="$KUBE_API_PUBLIC_ADDRESS"
  11. KUBE_API_PRIVATE_ADDRESS="$KUBE_API_PRIVATE_ADDRESS"
  12. KUBE_API_PORT="$KUBE_API_PORT"
  13. KUBE_NODE_PUBLIC_IP="$KUBE_NODE_PUBLIC_IP"
  14. KUBE_NODE_IP="$KUBE_NODE_IP"
  15. KUBE_ALLOW_PRIV="$KUBE_ALLOW_PRIV"
  16. ENABLE_CINDER="$ENABLE_CINDER"
  17. ETCD_VOLUME="$ETCD_VOLUME"
  18. ETCD_VOLUME_SIZE="$ETCD_VOLUME_SIZE"
  19. DOCKER_VOLUME="$DOCKER_VOLUME"
  20. DOCKER_VOLUME_SIZE="$DOCKER_VOLUME_SIZE"
  21. DOCKER_STORAGE_DRIVER="$DOCKER_STORAGE_DRIVER"
  22. CGROUP_DRIVER="$CGROUP_DRIVER"
  23. NETWORK_DRIVER="$NETWORK_DRIVER"
  24. FLANNEL_NETWORK_CIDR="$FLANNEL_NETWORK_CIDR"
  25. FLANNEL_NETWORK_SUBNETLEN="$FLANNEL_NETWORK_SUBNETLEN"
  26. FLANNEL_BACKEND="$FLANNEL_BACKEND"
  27. PODS_NETWORK_CIDR="$PODS_NETWORK_CIDR"
  28. PORTAL_NETWORK_CIDR="$PORTAL_NETWORK_CIDR"
  29. ADMISSION_CONTROL_LIST="$ADMISSION_CONTROL_LIST"
  30. ETCD_DISCOVERY_URL="$ETCD_DISCOVERY_URL"
  31. USERNAME="$USERNAME"
  32. PASSWORD="$PASSWORD"
  33. CLUSTER_SUBNET="$CLUSTER_SUBNET"
  34. TLS_DISABLED="$TLS_DISABLED"
  35. KUBE_DASHBOARD_ENABLED="$KUBE_DASHBOARD_ENABLED"
  36. INFLUX_GRAFANA_DASHBOARD_ENABLED="$INFLUX_GRAFANA_DASHBOARD_ENABLED"
  37. VERIFY_CA="$VERIFY_CA"
  38. CLUSTER_UUID="$CLUSTER_UUID"
  39. MAGNUM_URL="$MAGNUM_URL"
  40. VOLUME_DRIVER="$VOLUME_DRIVER"
  41. REGION_NAME="$REGION_NAME"
  42. HTTP_PROXY="$HTTP_PROXY"
  43. HTTPS_PROXY="$HTTPS_PROXY"
  44. NO_PROXY="$NO_PROXY"
  45. KUBE_TAG="$KUBE_TAG"
  46. CLOUD_PROVIDER_TAG="$CLOUD_PROVIDER_TAG"
  47. CLOUD_PROVIDER_ENABLED="$CLOUD_PROVIDER_ENABLED"
  48. ETCD_TAG="$ETCD_TAG"
  49. FLANNEL_TAG="$FLANNEL_TAG"
  50. KUBE_VERSION="$KUBE_VERSION"
  51. KUBE_DASHBOARD_VERSION="$KUBE_DASHBOARD_VERSION"
  52. TRUSTEE_USER_ID="$TRUSTEE_USER_ID"
  53. TRUSTEE_PASSWORD="$TRUSTEE_PASSWORD"
  54. TRUST_ID="$TRUST_ID"
  55. AUTH_URL="$AUTH_URL"
  56. INSECURE_REGISTRY_URL="$INSECURE_REGISTRY_URL"
  57. CONTAINER_INFRA_PREFIX="$CONTAINER_INFRA_PREFIX"
  58. SYSTEM_PODS_INITIAL_DELAY="$SYSTEM_PODS_INITIAL_DELAY"
  59. SYSTEM_PODS_TIMEOUT="$SYSTEM_PODS_TIMEOUT"
  60. ETCD_LB_VIP="$ETCD_LB_VIP"
  61. DNS_SERVICE_IP="$DNS_SERVICE_IP"
  62. DNS_CLUSTER_DOMAIN="$DNS_CLUSTER_DOMAIN"
  63. CERT_MANAGER_API="$CERT_MANAGER_API"
  64. CA_KEY="$CA_KEY"
  65. CALICO_TAG="$CALICO_TAG"
  66. CALICO_CNI_TAG="$CALICO_CNI_TAG"
  67. CALICO_KUBE_CONTROLLERS_TAG="$CALICO_KUBE_CONTROLLERS_TAG"
  68. CALICO_IPV4POOL="$CALICO_IPV4POOL"
  69. INGRESS_CONTROLLER="$INGRESS_CONTROLLER"
  70. INGRESS_CONTROLLER_ROLE="$INGRESS_CONTROLLER_ROLE"
  71. OCTAVIA_INGRESS_CONTROLLER_TAG="$OCTAVIA_INGRESS_CONTROLLER_TAG"
  72. KUBELET_OPTIONS="$KUBELET_OPTIONS"
  73. KUBECONTROLLER_OPTIONS="$KUBECONTROLLER_OPTIONS"
  74. KUBEAPI_OPTIONS="$KUBEAPI_OPTIONS"
  75. KUBEPROXY_OPTIONS="$KUBEPROXY_OPTIONS"
  76. KUBESCHEDULER_OPTIONS="$KUBESCHEDULER_OPTIONS"
  77. OCTAVIA_ENABLED="$OCTAVIA_ENABLED"
  78. KUBE_SERVICE_ACCOUNT_KEY="$KUBE_SERVICE_ACCOUNT_KEY"
  79. KUBE_SERVICE_ACCOUNT_PRIVATE_KEY="$KUBE_SERVICE_ACCOUNT_PRIVATE_KEY"
  80. PROMETHEUS_TAG="$PROMETHEUS_TAG"
  81. GRAFANA_TAG="$GRAFANA_TAG"
  82. HEAT_CONTAINER_AGENT_TAG="$HEAT_CONTAINER_AGENT_TAG"
  83. KEYSTONE_AUTH_ENABLED="$KEYSTONE_AUTH_ENABLED"
  84. K8S_KEYSTONE_AUTH_TAG="$K8S_KEYSTONE_AUTH_TAG"
  85. PROJECT_ID="$PROJECT_ID"
  86. EXTERNAL_NETWORK_ID="$EXTERNAL_NETWORK_ID"