rabbitmq-topology-operator
by KlickTipp
Helm chartv0.4.3App 1.20.3Apache-2.0Verified publisher
Helm chart to deploy the official RabbitMQ Messaging Topology Operator.
About this chart
rabbitmq-topology-operator
Helm chart to deploy the official RabbitMQ Messaging Topology Operator.
Homepage: https://www.rabbitmq.com/kubernetes/operator/using-topology-operator
Source Code
- https://github.com/klicktipp/helm-charts
- https://www.rabbitmq.com/kubernetes/operator/using-topology-operator
- https://github.com/rabbitmq/messaging-topology-operator
Values
| Key | Type | Default | Description |
|---|---|---|---|
| enabled | bool | true | Deploy the RabbitMQ Messaging Topology Operator. |
| image | object | {"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"rabbitmq/messaging-topology-operator","tag":""} | Messaging Topology Operator image |
| image.registry | string | "ghcr.io" | RabbitMQ Messaging Topology Operator image registry |
| image.repository | string | "rabbitmq/messaging-topology-operator" | RabbitMQ Messaging Topology Operator image repository |
| image.tag | string | "" | RabbitMQ Messaging Topology Operator image tag. When empty, .Chart.AppVersion is used |
| image.digest | string | "" | Messaging Topology Operator image digest in the form sha256:...; overrides image.tag when set |
| image.pullPolicy | string | "IfNotPresent" | RabbitMQ Messaging Topology Operator image pull policy |
| image.pullSecrets | list | [] | RabbitMQ Messaging Topology Operator image pull secrets |
| revisionHistoryLimit | int | 10 | Number of old ReplicaSets to retain |
| watchAllNamespaces | bool | true | Watch resources across all namespaces |
| watchNamespaces | list | [] | List of namespaces to watch when watchAllNamespaces=false |
| replicaCount | int | 1 | Number of RabbitMQ Messaging Topology Operator replicas to deploy |
| topologySpreadConstraints | list | [] | The value is evaluated as a template |
| schedulerName | string | "" | Alternative scheduler |
| terminationGracePeriodSeconds | string | "" | Time in seconds to allow the Messaging Topology Operator pod to terminate gracefully |
| hostNetwork | bool | false | Run the pod in the host network namespace |
| dnsPolicy | string | "ClusterFirst" | Alternative DNS policy |
| livenessProbe | object | {"enabled":true,"failureThreshold":5,"initialDelaySeconds":5,"periodSeconds":30,"successThreshold":1,"timeoutSeconds":5} | Health probes for the Messaging Topology Operator container on the dedicated health port |
| livenessProbe.enabled | bool | true | Enable livenessProbe on RabbitMQ Messaging Topology Operator nodes |
| livenessProbe.initialDelaySeconds | int | 5 | Initial delay seconds for livenessProbe |
| livenessProbe.periodSeconds | int | 30 | Period seconds for livenessProbe |
| livenessProbe.timeoutSeconds | int | 5 | Timeout seconds for livenessProbe |
| livenessProbe.successThreshold | int | 1 | Success threshold for livenessProbe |
| livenessProbe.failureThreshold | int | 5 | Failure threshold for livenessProbe |
| readinessProbe.enabled | bool | true | Enable readinessProbe on RabbitMQ Messaging Topology Operator nodes |
| readinessProbe.initialDelaySeconds | int | 5 | Initial delay seconds for readinessProbe |
| readinessProbe.periodSeconds | int | 30 | Period seconds for readinessProbe |
| readinessProbe.timeoutSeconds | int | 5 | Timeout seconds for readinessProbe |
| readinessProbe.successThreshold | int | 1 | Success threshold for readinessProbe |
| readinessProbe.failureThreshold | int | 5 | Failure threshold for readinessProbe |
| startupProbe.enabled | bool | false | Enable startupProbe on RabbitMQ Messaging Topology Operator nodes |
| startupProbe.initialDelaySeconds | int | 5 | Initial delay seconds for startupProbe |
| startupProbe.periodSeconds | int | 30 | Period seconds for startupProbe |
| startupProbe.timeoutSeconds | int | 5 | Timeout seconds for startupProbe |
| startupProbe.successThreshold | int | 1 | Success threshold for startupProbe |
| startupProbe.failureThreshold | int | 5 | Failure threshold for startupProbe |
| customLivenessProbe | object | {} | Custom livenessProbe that overrides the default one |
| customReadinessProbe | object | {} | Custom readinessProbe that overrides the default one |
| customStartupProbe | object | {} | Custom startupProbe that overrides the default one |
| skipCreateAdmissionWebhookConfig | bool | false | Skip creation of the ValidatingWebhookConfiguration |
| existingWebhookCertSecret | string | "" | Name of an existing secret containing the webhook certificates |
| existingWebhookCertCABundle | string | "" | PEM-encoded CA Bundle of the existing secret provided in existingWebhookCertSecret (only if useCertManager=false) |
| useCertManager | bool | false | Deploy cert-manager objects (Issuer and Certificate) for webhooks |
| crdUpgrade | object | {"annotations":{},"backoffLimit":1,"enabled":true,"image":{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"klicktipp/kubectl","tag":"1.36.3"},"resources":{}} | CRD upgrade hook configuration. |
| crdUpgrade.enabled | bool | true | Enable the pre-upgrade hook that reapplies CRDs with kubectl. |
| crdUpgrade.image | object | {"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"klicktipp/kubectl","tag":"1.36.3"} | Kubectl image used by the CRD upgrade hook. |
| crdUpgrade.image.registry | string | "ghcr.io" | Kubectl image registry. |
| crdUpgrade.image.repository | string | "klicktipp/kubectl" | Kubectl image repository. |
| crdUpgrade.image.tag | string | "1.36.3" | Kubectl image tag. |
| crdUpgrade.image.digest | string | "" | Kubectl image digest in the form sha256:...; overrides crdUpgrade.image.tag when set. |
| crdUpgrade.image.pullPolicy | string | "IfNotPresent" | Image pull policy for the CRD upgrade hook. |
| crdUpgrade.image.pullSecrets | list | [] | Image pull secrets for the CRD upgrade hook. |
| crdUpgrade.annotations | object | {} | Annotations added to CRD upgrade hook resources. |
| crdUpgrade.resources | object | {} | Resource requests and limits for the CRD upgrade hook job. |
| crdUpgrade.backoffLimit | int | 1 | Number of retries before the CRD upgrade hook job is marked as failed. |
| resources | object | {} | Container resource requests and limits. |
| pdb | object | {"create":true,"maxUnavailable":"","minAvailable":""} | PodDisruptionBudget settings for the Messaging Topology Operator |
| pdb.create | bool | true | Enable a Pod Disruption Budget creation |
| pdb.minAvailable | string | "" | Minimum number/percentage of pods that should remain scheduled |
| pdb.maxUnavailable | string | "" | Maximum number/percentage of pods that may be made unavailable |
| podSecurityContext | object | {"enabled":true,"fsGroup":1001,"fsGroupChangePolicy":"Always","supplementalGroups":[],"sysctls":[]} | Pod security context for the Messaging Topology Operator pod |
| podSecurityContext.enabled | bool | true | Enable the pod security context for the Messaging Topology Operator |
| podSecurityContext.fsGroupChangePolicy | string | "Always" | Set filesystem group change policy |
| podSecurityContext.sysctls | list | [] | Set kernel settings using the sysctl interface |
| podSecurityContext.supplementalGroups | list | [] | Set filesystem extra groups |
| podSecurityContext.fsGroup | int | 1001 | Set RabbitMQ Messaging Topology Operator pod's Security Context fsGroup |
| containerSecurityContext | object | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":true,"privileged":false,"readOnlyRootFilesystem":true,"runAsGroup":1001,"runAsNonRoot":true,"runAsUser":1001,"seLinuxOptions":{},"seccompProfile":{"type":"RuntimeDefault"}} | Container security context for the Messaging Topology Operator container |
| containerSecurityContext.enabled | bool | true | Enable the container security context for the Messaging Topology Operator |
| containerSecurityContext.seLinuxOptions | object | {} | Set SELinux options in container |
| containerSecurityContext.runAsUser | int | 1001 | Set containers' Security Context runAsUser |
| containerSecurityContext.runAsGroup | int | 1001 | Set containers' Security Context runAsGroup |
| containerSecurityContext.runAsNonRoot | bool | true | Set container's Security Context runAsNonRoot |
| containerSecurityContext.privileged | bool | false | Set container's Security Context privileged |
| containerSecurityContext.readOnlyRootFilesystem | bool | true | Set container's Security Context readOnlyRootFilesystem |
| containerSecurityContext.allowPrivilegeEscalation | bool | false | Set container's Security Context allowPrivilegeEscalation |
| containerSecurityContext.capabilities.drop | list | ["ALL"] | List of capabilities to be dropped |
| containerSecurityContext.seccompProfile.type | string | "RuntimeDefault" | Set container's Security Context seccomp profile |
| command | list | [] | Override the default container command |
| args | list | [] | Override the default container arguments |
| automountServiceAccountToken | bool | true | Mount the service account token into the pod |
| hostAliases | list | [] | https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ |
| podLabels | object | {} | Additional labels for Messaging Topology Operator pods |
| podAnnotations | object | {} | Additional annotations for Messaging Topology Operator pods |
| affinity | object | {} | Affinity rules for Messaging Topology Operator pods |
| nodeSelector | object | {} | Node selector for Messaging Topology Operator pods |
| tolerations | list | [] | Tolerations for Messaging Topology Operator pods |
| updateStrategy | object | {"type":"RollingUpdate"} | Deployment update strategy for the Messaging Topology Operator |
| updateStrategy.type | string | "RollingUpdate" | Can be set to RollingUpdate or OnDelete |
| priorityClassName | string | "" | PriorityClass name for Messaging Topology Operator pods |
| lifecycleHooks | object | {} | Lifecycle hooks for the Messaging Topology Operator container |
| containerPorts | object | {"health":8081,"metrics":8443} | Container ports exposed by the Messaging Topology Operator |
| containerPorts.metrics | int | 8443 | HTTPS metrics port exposed by the Messaging Topology Operator |
| containerPorts.health | int | 8081 | HTTP health probe port exposed by the Messaging Topology Operator |
| extraEnvVars | list | [] | Additional environment variables for the container. |
| extraEnvVarsCM | string | "" | Name of an existing ConfigMap with extra environment variables for the Messaging Topology Operator |
| extraEnvVarsSecret | string | "" | Name of an existing Secret with extra environment variables for the Messaging Topology Operator |
| extraVolumes | list | [] | Additional volumes for Messaging Topology Operator pods |
| extraVolumeMounts | list | [] | Additional volume mounts for the Messaging Topology Operator container |
| sidecars | list | [] | Additional sidecar containers for the pod. |
| initContainers | list | [] | Additional init containers for the pod. |
| service | object | {"annotations":{},"clusterIP":"","externalTrafficPolicy":"Cluster","extraPorts":[],"loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePorts":{"http":""},"ports":{"webhook":443},"sessionAffinity":"None","sessionAffinityConfig":{},"type":"ClusterIP"} | Webhook Service settings |
| service.type | string | "ClusterIP" | Kubernetes Service type for the webhook service |
| service.ports | object | {"webhook":443} | Service port for the webhook endpoint |
| service.nodePorts | object | {"http":""} | Node ports to expose. |
| service.clusterIP | string | "" | ClusterIP for the webhook service. |
| service.loadBalancerIP | string | "" | LoadBalancer IP for the webhook Service |
| service.extraPorts | list | [] | Additional ports to expose on the webhook Service |
| service.loadBalancerSourceRanges | list | [] | Allowed source ranges for the webhook service load balancer. |
| service.externalTrafficPolicy | string | "Cluster" | External traffic policy for the webhook service. |
| service.annotations | object | {} | Additional annotations for the webhook Service |
| service.sessionAffinity | string | "None" | If "ClientIP", consecutive client requests will be directed to the same Pod |
| service.sessionAffinityConfig | object | {} | Session affinity configuration. |
| networkPolicy | object | {"allowExternal":true,"allowExternalEgress":true,"enabled":true,"extraEgress":[],"extraIngress":[],"ingressNSMatchLabels":{},"ingressNSPodMatchLabels":{},"kubeAPIServerPorts":[443,6443,8443]} | NetworkPolicy settings for the Messaging Topology Operator |
| networkPolicy.enabled | bool | true | Create a NetworkPolicy for the Messaging Topology Operator |
| networkPolicy.kubeAPIServerPorts | list | [443,6443,8443] | List of Kubernetes API server ports to allow |
| networkPolicy.allowExternal | bool | true | When set to false, ingress is limited to explicitly allowed sources. |
| networkPolicy.allowExternalEgress | bool | true | Allow unrestricted egress traffic |
| networkPolicy.extraIngress | list | [] | - frontend |
| networkPolicy.extraEgress | list | [] | - frontend |
| networkPolicy.ingressNSMatchLabels | object | {} | Pod labels to match to allow traffic from other namespaces |
| rbac | object | {"clusterRole":{"customRules":[],"extraRules":[]},"create":true} | RBAC configuration |
| rbac.create | bool | true | Specifies whether RBAC resources should be created |
| rbac.clusterRole |
Deploy rabbitmq-topology-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has rabbitmq-topology-operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartrabbitmq-topology-operator is pinned at v0.4.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply