Mohammed Naser | bdb9774 | 2022-09-26 15:20:49 -0400 | [diff] [blame] | 1 | NODE_SELECTOR_CONTROL_PLANE = { |
| 2 | "openstack-control-plane": "enabled", |
| 3 | } |
| 4 | |
| 5 | NAMESPACE_CERT_MANAGER = "cert-manager" |
| 6 | NAMESPACE_KUBE_SYSTEM = "kube-system" |
| 7 | NAMESPACE_MONITORING = "monitoring" |
| 8 | NAMESPACE_OPENSTACK = "openstack" |
| 9 | |
| 10 | HELM_REPOSITORY_BITNAMI = "bitnami" |
| 11 | HELM_REPOSITORY_CEPH = "ceph" |
| 12 | HELM_REPOSITORY_COREDNS = "coredns" |
| 13 | HELM_REPOSITORY_INGRESS_NGINX = "ingress-nginx" |
| 14 | HELM_REPOSITORY_JETSTACK = "jetstack" |
| 15 | HELM_REPOSITORY_NODE_FEATURE_DISCOVERY = "node-feature-discovery" |
| 16 | HELM_REPOSITORY_OPENSTACK_HELM = "openstack-helm" |
| 17 | HELM_REPOSITORY_OPENSTACK_HELM_INFRA = "openstack-helm-infra" |
| 18 | HELM_REPOSITORY_PERCONA = "percona" |
| 19 | HELM_REPOSITORY_PROMETHEUS_COMMUINTY = "prometheus-community" |
| 20 | |
Mohammed Naser | e1e1ae4 | 2022-09-26 20:03:27 -0400 | [diff] [blame] | 21 | HELM_RELEASE_CERT_MANAGER_NAME = "cert-manager" |
| 22 | HELM_RELEASE_CERT_MANAGER_VERSION = "v1.7.1" |
| 23 | HELM_RELEASE_CERT_MANAGER_VALUES = { |
| 24 | "installCRDs": True, |
| 25 | "volumes": [ |
| 26 | { |
| 27 | "name": "etc-ssl-certs", |
| 28 | "hostPath": { |
| 29 | "path": "/etc/ssl/certs", |
| 30 | }, |
| 31 | } |
| 32 | ], |
| 33 | "volumeMounts": [ |
| 34 | { |
| 35 | "name": "etc-ssl-certs", |
| 36 | "mountPath": "/etc/ssl/certs", |
| 37 | "readOnly": True, |
| 38 | } |
| 39 | ], |
| 40 | "nodeSelector": NODE_SELECTOR_CONTROL_PLANE, |
| 41 | "webhook": { |
| 42 | "nodeSelector": NODE_SELECTOR_CONTROL_PLANE, |
| 43 | }, |
| 44 | "cainjector": { |
| 45 | "nodeSelector": NODE_SELECTOR_CONTROL_PLANE, |
| 46 | }, |
| 47 | "startupapicheck": { |
| 48 | "nodeSelector": NODE_SELECTOR_CONTROL_PLANE, |
| 49 | }, |
| 50 | } |
Mohammed Naser | e1e1ae4 | 2022-09-26 20:03:27 -0400 | [diff] [blame] | 51 | |
Mohammed Naser | bdb9774 | 2022-09-26 15:20:49 -0400 | [diff] [blame] | 52 | HELM_RELEASE_NODE_FEATURE_DISCOVERY_VALUES = { |
| 53 | "master": {"nodeSelector": NODE_SELECTOR_CONTROL_PLANE} |
| 54 | } |
| 55 | |
Mohammed Naser | e1e1ae4 | 2022-09-26 20:03:27 -0400 | [diff] [blame] | 56 | HELM_RELEASE_RABBITMQ_OPERATOR_NAME = "rabbitmq-cluster-operator" |
| 57 | HELM_RELEASE_RABBITMQ_OPERATOR_VERSION = "2.5.2" |
| 58 | HELM_RELEASE_RABBITMQ_OPERATOR_VALUES = { |
| 59 | "rabbitmqImage": {"repository": "library/rabbitmq", "tag": "3.10.2-management"}, |
| 60 | "credentialUpdaterImage": { |
| 61 | "repository": "rabbitmqoperator/default-user-credential-updater", |
| 62 | "tag": "1.0.2", |
| 63 | }, |
| 64 | "clusterOperator": { |
| 65 | "fullnameOverride": "rabbitmq-cluster-operator", |
| 66 | "nodeSelector": NODE_SELECTOR_CONTROL_PLANE, |
| 67 | "image": { |
| 68 | "repository": "rabbitmqoperator/cluster-operator", |
| 69 | "tag": "1.13.1", |
| 70 | }, |
| 71 | }, |
| 72 | "msgTopologyOperator": { |
| 73 | "fullnameOverride": "rabbitmq-messaging-topology-operator", |
| 74 | "nodeSelector": NODE_SELECTOR_CONTROL_PLANE, |
| 75 | "image": { |
| 76 | "repository": "rabbitmqoperator/messaging-topology-operator", |
| 77 | "tag": "1.6.0", |
| 78 | }, |
| 79 | }, |
| 80 | "useCertManager": True, |
| 81 | } |
Mohammed Naser | 5e1dce9 | 2022-09-28 15:50:57 -0400 | [diff] [blame^] | 82 | HELM_RELEASE_RABBITMQ_OPERATOR_REQUIRES = set( |
| 83 | [ |
| 84 | f"helm-release-{NAMESPACE_CERT_MANAGER}-{HELM_RELEASE_CERT_MANAGER_NAME}", |
| 85 | ] |
| 86 | ) |
Mohammed Naser | e1e1ae4 | 2022-09-26 20:03:27 -0400 | [diff] [blame] | 87 | |
Mohammed Naser | bdb9774 | 2022-09-26 15:20:49 -0400 | [diff] [blame] | 88 | HELM_RELEASE_PXC_OPERATOR_NAME = "pxc-operator" |
| 89 | HELM_RELEASE_PXC_OPERATOR_VERSION = "1.10.0" |
| 90 | HELM_RELEASE_PXC_OPERATOR_VALUES = { |
| 91 | "nodeSelector": NODE_SELECTOR_CONTROL_PLANE, |
| 92 | } |
Mohammed Naser | 196945a | 2022-09-26 22:40:32 -0400 | [diff] [blame] | 93 | |
| 94 | HELM_RELEASE_KEYSTONE_NAME = "keystone" |
| 95 | |
| 96 | HELM_RELEASE_BARBICAN_NAME = "barbican" |
| 97 | |
| 98 | HELM_RELEASE_GLANCE_NAME = "glance" |
| 99 | |
| 100 | HELM_RELEASE_CINDER_NAME = "cinder" |
| 101 | |
| 102 | HELM_RELEASE_NEUTRON_NAME = "neutron" |
| 103 | |
| 104 | HELM_RELEASE_NOVA_NAME = "nova" |
| 105 | |
| 106 | HELM_RELEASE_SENLIN_NAME = "senlin" |
| 107 | |
| 108 | HELM_RELEASE_HEAT_NAME = "heat" |