@@ -716,6 +716,135 @@ iap:
716716godebug :
717717 disablethp : " 1"
718718
719- # Use the CockroachDB Operator to manage the CockroachDB clusters.
719+ # Use the CRDB Operator to manage the CRDB clusters
720720operator :
721- enabled : false
721+ enabled : true
722+ # Default values for the cluster chart.
723+ image :
724+ repository : cockroachdb/cockroach
725+ pullPolicy : IfNotPresent
726+ # Overrides the image tag whose default is the cluster chart's appVersion.
727+ tag : " "
728+
729+ nameOverride : " "
730+ fullnameOverride : " "
731+
732+ # A map of CRDB cluster settings.
733+ # See https://www.cockroachlabs.com/docs/stable/cluster-settings.html
734+ clusterSettings : ~
735+
736+ # Regions controls the number of CRDB nodes that are deployed per region.
737+ # regions: ~
738+ # - code: us-central1
739+ # nodes: 3
740+
741+ # loggingConf is the logging configuration used by cockroach.
742+ # More details: https://www.cockroachlabs.com/docs/stable/logging-overview.html
743+ loggingConf : ~
744+ # sinks:
745+ # stderr:
746+ # channels: [health, dev]
747+ # filter: INFO
748+
749+ # We usually recommend not to specify default resources and to leave this as a conscious
750+ # choice for the user. This also increases chances charts run on environments with little
751+ # resources, such as K3D. If you do want to specify resources, uncomment the following
752+ # lines, adjust them as necessary, and remove the tilde after 'resources:'.
753+ resources : ~
754+ # limits:
755+ # cpu: 100m
756+ # memory: 128Mi
757+ # requests:
758+ # cpu: 100m
759+ # memory: 128Mi
760+
761+ # dataStore specifies the disk configuration for the CRDB Node.
762+ dataStore :
763+ volumeClaimTemplate :
764+ metadata : {}
765+ spec :
766+ accessModes :
767+ - ReadWriteOnce
768+ resources :
769+ requests :
770+ storage : 10Gi
771+ volumeMode : Filesystem
772+
773+ certificates :
774+ # Any extra alt names that should be added to the node certs.
775+ extraNodeAltNames : []
776+ # - somevalue
777+ # - somevalue.default
778+ # - somevalue.default.svc.local
779+ # the number of days generated certs are valid for
780+ # validForDays: 3650
781+
782+ # External certificates for the CRDB cluster.
783+ externalCertificates :
784+ clientCaConfigMapName : " "
785+ nodeCaConfigMapName : " "
786+ httpSecretName : " "
787+ nodeClientSecretName : " "
788+ nodeSecretName : " "
789+ rootSqlClientSecretName : " "
790+
791+ # RBAC settings for CRDB nodes
792+ rbac :
793+ # By default the service account will be the resource name. It will
794+ # be created during the installation along with a namespaced role and
795+ # a cluster role with the policy rules below.
796+ #
797+ # Uncomment the line below to use a custom SA. If a custom SA is used,
798+ # no roles or bindings will be created.
799+ # serviceAccountName: my-custom-sa
800+
801+ # Rules for the namespaced role bound to the service account.
802+ #
803+ # E.g.
804+ # permissions:
805+ # - apiGroup: [""]
806+ # resources: ["secrets"]
807+ # verbs: ["create", "get"]
808+ rules : []
809+
810+ # Rules for the cluster role bound to the service account.
811+ clusterRules :
812+ # Get nodes allows the locality container to work as expected. It pulls the
813+ # failure-domain.beta.kubernetes.io/zone label to determine node locality.
814+ - apiGroups : [""]
815+ resources : ["nodes"]
816+ verbs : ["get"]
817+ serviceAccountName : ~
818+
819+ regions :
820+ - code : us-east-1
821+ nodes : 3
822+ cloudProvider : k3d
823+ namespace : default
824+
825+ # PodLabels are the labels that should be applied to the underlying CRDB pod
826+ podLabels :
827+ app.kubernetes.io/component : cockroachdb
828+
829+ # Flags passed to the cockroachdb container.
830+ flags :
831+ # Disable backup/restore to local disk by default.
832+ --external-io-dir : disabled
833+
834+ # Environment variables set on cockroachdb pods.
835+ env : []
836+
837+ # Delay between cockroachdb pod restarts. Wait 3m by default to avoid
838+ # unavailability during restarts.
839+ rollingRestartDelay : 3m0s
840+
841+ # Topology spread constraints set on cockroachdb pods. Spread cockroachdb
842+ # pods across zones by default.
843+ topologySpreadConstraints :
844+ - maxSkew : 1
845+ topologyKey : topology.kubernetes.io/zone
846+ whenUnsatisfiable : DoNotSchedule
847+
848+ extras :
849+ # Add a container with dnsutils (nslookup, dig, ping, etc.) installed.
850+ dnsutils : false
0 commit comments