db-operator
by db-operator
Helm chartv4.1.0App 2.47.0
This operator lets you manage databases in a Kubernetes native way, even if they are not deployed to Kubernetes
About this chart
db-operator
This operator lets you manage databases in a Kubernetes native way, even if they are not deployed to Kubernetes
Homepage: https://github.com/db-operator
Maintainers
| Name | Url | |
|---|---|---|
| Nikolai Rodionov | [email protected] | https://allanger.xyz |
Source Code
Requirements
Kubernetes: >= 1.34-prerelease
Values
| Key | Type | Default | Description |
|---|---|---|---|
| nameOverride | string | "" | |
| clusterDomain | string | "cluster.local" | |
| image.registry | string | "ghcr.io" | |
| image.repository | string | "db-operator/db-operator" | |
| image.tag | string | "" | |
| image.pullPolicy | string | "Always" | |
| metadata.labels | object | {} | |
| metadata.annotations | object | {} | |
| crds.install | bool | true | |
| crds.keep | bool | true | |
| crds.annotations | object | {} | |
| controller.logLevel | string | "info" | |
| controller.extraArgs | list | [] | |
| controller.service.annotations | object | {} | |
| controller.service.type | string | "ClusterIP" | |
| controller.service.port | int | 8080 | |
| controller.serviceAccount.name | string | "" | |
| controller.serviceAccount.create | bool | true | |
| controller.rbac.create | bool | true | |
| controller.config.backup.activeDeadlineSeconds | int | 600 | |
| controller.config.backup.nodeSelector | object | {} | |
| controller.config.backup.postgres.image | string | "ghcr.io/db-operator/pgdump-rclone:0.1.1" | |
| controller.config.backup.mysql.image | string | "ghcr.io/db-operator/mydump-rclone:0.1.1" | |
| controller.config.backup.resources.requests.memory | string | "64Mi" | |
| controller.config.backup.resources.requests.cpu | float | 0.2 | |
| controller.config.monitoring.promPushGateway | string | "" | |
| controller.args.reconcileInterval | string | "60s" | |
| controller.args.watchNamespaces | string | "" | |
| controller.args.checkForChanges | bool | false | |
| controller.serviceMonitor.enabled | bool | false | |
| webhook.enabled | bool | true | |
| webhook.logLevel | string | "info" | |
| webhook.extraArgs | list | [] | |
| webhook.podLabels | object | {} | |
| webhook.rbac.create | bool | true | |
| webhook.serviceAccount.name | string | "" | |
| webhook.serviceAccount.create | bool | true | |
| webhook.service.ipFamilyPolicy | string | "" | |
| webhook.names.mutating | string | "db-operator-mutating-webhook-configuration" | |
| webhook.names.validating | string | "db-operator-validating-webhook-configuration" | |
| webhook.certificate.create | bool | true | ------------------------------------------ |
| webhook.certificate.name | string | "db-operator-webhook" | |
| webhook.certificate.secretName | string | "db-operator-webhook-cert" | |
| webhook.certificate.issuer.create | bool | true | |
| webhook.certificate.issuer.name | string | "db-operator-issuer" | |
| webhook.certificate.issuer.kind | string | "Issuer" | --------------------------------------- |
| podSecurityContext | object | {"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}} | Configure the security context for the operator pods |
| securityContext | object | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]}} | Configure the security context for the operator container |
| hostUsers | bool | true | |
| resources | object | {} | |
| nodeSelector | object | {} | |
| annotations | object | {} | |
| podLabels | object | {} | |
| affinity | object | {} | |
| tolerations | list | [] | |
| secrets.gsql | object | {} | |
| serviceMonitor.enabled | bool | false |
Deploy db-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has db-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 chartdb-operator is pinned at v4.1.0 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