# `mongodb/mongodb-atlas-operator` depends on a series of Custom Resource # Definitions and they need to exist in the Kubernetes cluster in order for the # Operator to work. They are provided by the # `mongodb/mongodb-atlas-operator-crds` Helm chart. # # When installing `mongodb/mongodb-atlas-operator`, by default, the `-crds` # Chart will also be installed. This might not be what you want, specially if # you are installing the Operator in a constrained environment, where you can't # create a clusterwide resource, for instance. # # If the `mongodb/mongodb-atlas-operator-crds` is already installed, its # installation can be disabled by changing this value to `false`. mongodb-atlas-operator-crds: # Make this disabled if you don't want to install # the CRD dependency automatically. enabled: true # atlasURI is the URI of the MongoDB Atlas. You should not change this value. atlasURI: https://cloud.mongodb.com/ # objectDeletionProtection defines the operator will not delete Atlas resource when a Custom Resource is deleted objectDeletionProtection: true # subobjectDeletionProtection defines that the operator will not overwrite (and consequently delete) subresources that were not previously created by the operator subobjectDeletionProtection: true # globalConnectionSecret is a default "global" Secret containing Atlas # authentication information. # # Configure EITHER the API-key fields (publicApiKey + privateApiKey) OR the # Service Account fields (clientId + clientSecret). Setting both at the same # time is rejected at chart-render time. # # You should never check-in these values as part of values.yaml file on your # CVS. Instead set these values with `--set`. globalConnectionSecret: orgId: "" # API key (legacy) publicApiKey: "" privateApiKey: "" # Service Account (recommended) clientId: "" clientSecret: "" # Determines whether RBAC resources should be created across namespaces. # If set to true, RBAC resources will be created across all namespaces specified in watchNamespaces. # If set to false, RBAC resources will be created only within the namespace of the release. crossNamespaceRoles: true # watchNamespaces is the set of namespaces that are watched by the Operator. # # The only possible values are: # - empty (watch all namespaces) or # - the name of the same namespace where the Operator is installed to. watchNamespaces: [] # Use these values to use a different Operator image. image: repository: mongodb/mongodb-atlas-kubernetes-operator pullPolicy: Always # Overrides the image tag whose default is the chart appVersion. tag: "" # imagePullSecret configuration for the Operator Pod. # More information: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ imagePullSecrets: [] # Overrides name and fullname nameOverride: "" fullnameOverride: "" serviceAccount: # Specifies whether a service account should be created create: true # Annotations to add to the service account annotations: {} # The name of the service account to use. # If not set and create is true, a name is generated using the fullname template name: "" # podAnnotations and podLabels can be defined to be set for the Operator Pod. podLabels: {} podAnnotations: {} # podSecurityContext sets the SecurityContext for the Operator Pod. # More information: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ podSecurityContext: runAsNonRoot: true runAsUser: 2000 # securityContext allows you to configure the SecurityContext for the Operator container. # More information: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ securityContext: allowPrivilegeEscalation: false # extraArgs passes additional command-line arguments to the operator binary. # Use this to set flags not exposed as dedicated values, such as --log-level. # Example: # extraArgs: # - --log-level=debug extraArgs: [] # configure extra environment variables # Extra environment variables are writen in kubernetes format and added "as is" to the pod's env variables # https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/ # https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#environment-variables extraEnvs: [] # Exemple of setting environment variables # - name: MY_VAR # value: my-value # - name: GOMEMLIMIT # valueFrom: # resourceFieldRef: # resource: limits.memory # resources sets resources for the Operator container. # More information: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ resources: limits: memory: 1Gi requests: cpu: 100m memory: 256Mi # Assigns the Operator Pod to a specific Node. # More information: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/ nodeSelector: {} # Tolerations for the Operator Pod. # More information: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ tolerations: [] # Operator Pod Affinity. # More information: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity affinity: {} # Resources additional labels extraLabels: {}