From e7c249a38127cb942abc7026f51fb829d97487a0 Mon Sep 17 00:00:00 2001 From: mohammad Date: Mon, 9 Dec 2024 15:03:08 -0500 Subject: [PATCH] using default values of mariadb-operator 0.28.0 --- .../mariadb-operator-helm-overrides.yaml | 74 +++---------------- 1 file changed, 10 insertions(+), 64 deletions(-) diff --git a/base-helm-configs/mariadb-operator/mariadb-operator-helm-overrides.yaml b/base-helm-configs/mariadb-operator/mariadb-operator-helm-overrides.yaml index 161e5b82..fc08b254 100644 --- a/base-helm-configs/mariadb-operator/mariadb-operator-helm-overrides.yaml +++ b/base-helm-configs/mariadb-operator/mariadb-operator-helm-overrides.yaml @@ -1,21 +1,11 @@ nameOverride: "" fullnameOverride: "" -# --- CRDs -crds: - # -- Whether the helm chart should create and update the CRDs. It is false by default, which implies that the CRDs must be - # managed independently with the mariadb-operator-crds helm chart. - # **WARNING** This should only be set to true during the initial deployment. If this chart manages the CRDs - # and is later uninstalled, all MariaDB instances will be DELETED. - enabled: false - image: - repository: docker-registry3.mariadb.com/mariadb-operator/mariadb-operator + repository: ghcr.io/mariadb-operator/mariadb-operator pullPolicy: IfNotPresent # -- Image tag to use. By default the chart appVersion is used tag: "" - # Setting a digest will override any tag - # digest: sha256:084a927ee9f3918a5c85d283f73822ae205757df352218de0b935853a0765060 imagePullSecrets: [] # -- Controller log level @@ -24,19 +14,15 @@ logLevel: INFO # -- Cluster DNS name clusterName: cluster.local -# -- Whether the operator should watch CRDs only in its own namespace or not. -currentNamespaceOnly: false - ha: - # -- Enable high availability of the controller. - # If you enable it we recommend to set `affinity` and `pdb` + # -- Enable high availability enabled: false # -- Number of replicas replicas: 3 metrics: # -- Enable operator internal metrics. Prometheus must be installed in the cluster - enabled: true + enabled: false serviceMonitor: # -- Enable controller ServiceMonitor enabled: true @@ -65,20 +51,12 @@ rbac: # -- Specifies whether RBAC resources should be created enabled: true - aggregation: - - # -- Specifies whether the cluster roles aggrate to view and edit predefinied roles - enabled: true - # -- Extra arguments to be passed to the controller entrypoint extrArgs: [] # -- Extra environment variables to be passed to the controller extraEnv: [] -# -- Extra environment variables from preexiting ConfigMap / Secret objects used by the controller using envFrom -extraEnvFrom: [] - # -- Extra volumes to pass to pod. extraVolumes: [] @@ -116,38 +94,13 @@ affinity: operator: In values: - worker - # Sample on how to create an antiAffinity rule that place - # the pods on different nodes, to be used together with `ha.enabled: true` - # podAntiAffinity: - # requiredDuringSchedulingIgnoredDuringExecution: - # - labelSelector: - # matchExpressions: - # - key: app.kubernetes.io/name - # operator: In - # values: - # - mariadb-operator - # - key: app.kubernetes.io/instance - # operator: In - # values: - # - mariadb-operator - # topologyKey: kubernetes.io/hostname - -pdb: - # -- Enable PodDisruptionBudget for the controller. - enabled: false - # -- Maximum number of unavailable Pods. You may also give a percentage, like `50%` - maxUnavailable: 1 webhook: - # -- Specifies whether the webhook should be created. - enabled: true image: - repository: docker-registry3.mariadb.com/mariadb-operator/mariadb-operator + repository: ghcr.io/mariadb-operator/mariadb-operator pullPolicy: IfNotPresent # -- Image tag to use. By default the chart appVersion is used tag: "" - # Setting a digest will override any tag - # digest: sha256:084a927ee9f3918a5c85d283f73822ae205757df352218de0b935853a0765060 imagePullSecrets: [] ha: # -- Enable high availability @@ -160,22 +113,17 @@ webhook: enabled: true # -- Issuer reference to be used in the Certificate resource. If not provided, a self-signed issuer will be used. issuerRef: {} - # -- Duration to be used in the Certificate resource, + # -- Duration to be used in the Certificate resource, duration: "" - # -- Renew before duration to be used in the Certificate resource. + # -- Renew before duration to be used in the Certificate resource. renewBefore: "" - # -- The maximum number of CertificateRequest revisions that are maintained in the Certificate’s history. - revisionHistoryLimit: 3 # -- Annotatioms to be added to webhook TLS secret. secretAnnotations: {} # -- Labels to be added to webhook TLS secret. secretLabels: {} - ca: - # -- Path that contains the full CA trust chain. - path: "" - # -- File under 'ca.path' that contains the full CA trust chain. - key: "" - # -- Path where the certificate will be mounted. 'tls.crt' and 'tls.key' certificates files should be under this path. + # -- Path where the CA certificate will be mounted. + caPath: /tmp/k8s-webhook-server/certificate-authority + # -- Path where the certificate will be mounted. path: /tmp/k8s-webhook-server/serving-certs # -- Port to be used by the webhook server port: 9443 @@ -241,12 +189,10 @@ certController: # -- Specifies whether the cert-controller should be created. enabled: true image: - repository: docker-registry3.mariadb.com/mariadb-operator/mariadb-operator + repository: ghcr.io/mariadb-operator/mariadb-operator pullPolicy: IfNotPresent # -- Image tag to use. By default the chart appVersion is used tag: "" - # Setting a digest will override any tag - # digest: sha256:084a927ee9f3918a5c85d283f73822ae205757df352218de0b935853a0765060 imagePullSecrets: [] ha: # -- Enable high availability