1# This file has been modified by Chainguard, Inc.
3# Copyright Chainguard, Inc. All Rights Reserved.
4# Chainguard, Inc. modifications are subject to the license
5# available at: https://www.chainguard.dev/legal/software-license-agreement
7# Copyright Broadcom, Inc. All Rights Reserved.
8# SPDX-License-Identifier: APACHE-2.0
10## @section Global parameters
11## Global Docker image parameters
12## Please, note that this will override the image parameters, including dependencies, configured to use the global value
13## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
16## @param global.imageRegistry Global Docker image registry
17## @param global.useImageTags Pull every image by tag and ignore all image digests, including digests set in values. Use this when your registry mirror does not have the chart's default image digests.
18## @param global.imagePullSecrets Global Docker registry secret names as an array
19## @param global.storageClass Global StorageClass for Persistent Volume(s)
26 ## - myRegistryKeySecretName
30 ## Compatibility adaptations for Kubernetes platforms
33 ## Compatibility adaptations for Openshift
36 ## @param global.compatibility.openshift.adaptSecurityContext Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)
38 adaptSecurityContext: auto
40## @section Common parameters
43## @param kubeVersion Override Kubernetes version
46## @param apiVersions Override Kubernetes API versions reported by .Capabilities
49## @param nameOverride String to partially override common.names.name
52## @param fullnameOverride String to fully override common.names.fullname
55## @param namespaceOverride String to fully override common.names.namespace
58## @param commonLabels Labels to add to all deployed objects
61## @param commonAnnotations Annotations to add to all deployed objects
64## @param clusterDomain Kubernetes cluster domain name
66clusterDomain: cluster.local
67## @param extraDeploy Array of extra objects to deploy with the release
70## @param usePasswordFiles Mount credentials as files instead of using an environment variable
74## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
75## @param diagnosticMode.command Command to override all containers in the chart release
76## @param diagnosticMode.args Args to override all containers in the chart release
84## @section Superset Parameters
86## Iamguarded Superset image
87## ref: https://hub.docker.com/r/iamguarded/superset/tags/
88## @param image.registry [default: REGISTRY_NAME] Superset image registry
89## @param image.repository [default: REPOSITORY_NAME/superset] Superset image repository
90## @skip image.tag Superset image tag (immutable tags are recommended)
91## @param image.digest Superset image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
92## @param image.pullPolicy Superset image pull policy
93## @param image.pullSecrets Superset image pull secrets
94## @param image.debug Enable Superset image debug mode
98 repository: chainguard-private/superset-iamguarded
101 ## Specify a imagePullPolicy
102 ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
103 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
105 pullPolicy: IfNotPresent
106 ## Optionally specify an array of imagePullSecrets.
107 ## Secrets must be manually created in the namespace.
108 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
111 ## - myRegistryKeySecretName
115## @param config The name of an existing ConfigMap with your custom configuration for Superset
118## @param existingConfigmap The name of an existing ConfigMap with your custom configuration for Superset
121## @param loadExamples If set to true, the Superset examples database will be loaded at startup
124## Authentication parameters
125## ref: https://github.com/iamguarded/containers/tree/main/iamguarded/superset#environment-variables
128 ## @param auth.username Username to access web UI
131 ## @param auth.email Username email
134 ## @param auth.password Password to access web UI
137 ## @param auth.secretKey Secret key to run your flask app
138 ## ref: https://superset.apache.org/docs/configuration/configuring-superset/#specifying-a-secret_key
141 ## @param auth.existingSecret Name of an existing secret to use for Superset credentials
142 ## `auth.password` and `auth.secretKey` will be ignored and picked up from this secret
143 ## The secret must contain the keys `superset-password` and `superset-secret-key'
144 ## The value is evaluated as a template
150 ## @param web.replicaCount Number of Superset webserver replicas to deploy
153 ## @param web.containerPorts.http Superset webserver HTTP container port
157 ## @param web.extraContainerPorts Optionally specify extra list of additional ports for WordPress container(s)
159 ## extraContainerPorts:
161 ## containerPort: 9090
163 extraContainerPorts: []
164 ## Configure extra options for Superset webserver containers' liveness and readiness probes
165 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
166 ## @param web.livenessProbe.enabled Enable livenessProbe on Superset webserver containers
167 ## @param web.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
168 ## @param web.livenessProbe.periodSeconds Period seconds for livenessProbe
169 ## @param web.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
170 ## @param web.livenessProbe.failureThreshold Failure threshold for livenessProbe
171 ## @param web.livenessProbe.successThreshold Success threshold for livenessProbe
175 initialDelaySeconds: 15
180 ## @param web.readinessProbe.enabled Enable readinessProbe on Superset webserver containers
181 ## @param web.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
182 ## @param web.readinessProbe.periodSeconds Period seconds for readinessProbe
183 ## @param web.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
184 ## @param web.readinessProbe.failureThreshold Failure threshold for readinessProbe
185 ## @param web.readinessProbe.successThreshold Success threshold for readinessProbe
189 initialDelaySeconds: 15
194 ## @param web.startupProbe.enabled Enable startupProbe on Superset webserver containers
195 ## @param web.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
196 ## @param web.startupProbe.periodSeconds Period seconds for startupProbe
197 ## @param web.startupProbe.timeoutSeconds Timeout seconds for startupProbe
198 ## @param web.startupProbe.failureThreshold Failure threshold for startupProbe
199 ## @param web.startupProbe.successThreshold Success threshold for startupProbe
203 initialDelaySeconds: 15
208 ## @param web.customLivenessProbe Custom livenessProbe that overrides the default one
210 customLivenessProbe: {}
211 ## @param web.customReadinessProbe Custom readinessProbe that overrides the default one
213 customReadinessProbe: {}
214 ## @param web.customStartupProbe Custom startupProbe that overrides the default one
216 customStartupProbe: {}
217 ## Superset webserver resource requests and limits
218 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
219 ## @param web.resourcesPreset Set Superset webserver container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if web.resources is set (web.resources is recommended for production).
220 ## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
222 resourcesPreset: "small"
223 ## @param web.resources Set Superset webserver container requests and limits for different resources like CPU or memory (essential for production workloads)
234 ## Configure Pods Security Context
235 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
236 ## @param web.podSecurityContext.enabled Enable Superset webserver pods' Security Context
237 ## @param web.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy for Superset webserver pods
238 ## @param web.podSecurityContext.sysctls Set kernel settings using the sysctl interface for Superset webserver pods
239 ## @param web.podSecurityContext.supplementalGroups Set filesystem extra groups for Superset webserver pods
240 ## @param web.podSecurityContext.fsGroup Set fsGroup in Superset webserver pods' Security Context
244 fsGroupChangePolicy: Always
246 supplementalGroups: []
248 ## Configure Container Security Context
249 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
250 ## @param web.containerSecurityContext.enabled Enabled Superset webserver container' Security Context
251 ## @param web.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in Superset webserver container
252 ## @param web.containerSecurityContext.runAsUser Set runAsUser in Superset webserver container' Security Context
253 ## @param web.containerSecurityContext.runAsGroup Set runAsGroup in Superset webserver container' Security Context
254 ## @param web.containerSecurityContext.runAsNonRoot Set runAsNonRoot in Superset webserver container' Security Context
255 ## @param web.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in Superset webserver container' Security Context
256 ## @param web.containerSecurityContext.privileged Set privileged in Superset webserver container' Security Context
257 ## @param web.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in Superset webserver container' Security Context
258 ## @param web.containerSecurityContext.capabilities.drop List of capabilities to be dropped in Superset webserver container
259 ## @param web.containerSecurityContext.seccompProfile.type Set seccomp profile in Superset webserver container
261 containerSecurityContext:
267 readOnlyRootFilesystem: false
269 allowPrivilegeEscalation: false
273 type: "RuntimeDefault"
274 ## @param web.command Override default Superset webserver container command (useful when using custom images)
277 ## @param web.args Override default Superset webserver container args (useful when using custom images)
280 ## @param web.automountServiceAccountToken Mount Service Account token in Superset webserver pods
282 automountServiceAccountToken: false
283 ## @param web.hostAliases Superset webserver pods host aliases
284 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
287 ## @param web.deploymentAnnotations Annotations for Superset webserver deployment
288 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
290 deploymentAnnotations: {}
291 ## @param web.podLabels Extra labels for Superset webserver pods
292 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
295 ## @param web.podAnnotations Annotations for Superset webserver pods
296 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
299 ## @param web.podAffinityPreset Pod affinity preset. Ignored if `web.affinity` is set. Allowed values: `soft` or `hard`
300 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
302 podAffinityPreset: ""
303 ## @param web.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `web.affinity` is set. Allowed values: `soft` or `hard`
304 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
306 podAntiAffinityPreset: soft
307 ## Node web.affinity preset
308 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
311 ## @param web.nodeAffinityPreset.type Node affinity preset type. Ignored if `web.affinity` is set. Allowed values: `soft` or `hard`
314 ## @param web.nodeAffinityPreset.key Node label key to match. Ignored if `web.affinity` is set
317 ## @param web.nodeAffinityPreset.values Node label values to match. Ignored if `web.affinity` is set
324 ## @param web.affinity Affinity for Superset webserver pods assignment
325 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
326 ## NOTE: `web.podAffinityPreset`, `web.podAntiAffinityPreset`, and `web.nodeAffinityPreset` will be ignored when it's set
329 ## @param web.nodeSelector Node labels for Superset webserver pods assignment
330 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
333 ## @param web.tolerations Tolerations for Superset webserver pods assignment
334 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
337 ## @param web.updateStrategy.type Superset webserver deployment strategy type
338 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
341 ## Can be set to RollingUpdate or Recreate
344 ## @param web.priorityClassName Superset webserver pods' priorityClassName
346 priorityClassName: ""
347 ## @param web.topologySpreadConstraints Topology Spread Constraints for Superset webserver pod assignment spread across your cluster among failure-domains
348 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
350 topologySpreadConstraints: []
351 ## @param web.schedulerName Name of the k8s scheduler (other than default) for Superset webserver pods
352 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
355 ## @param web.terminationGracePeriodSeconds Seconds Superset webserver pods need to terminate gracefully
356 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
358 terminationGracePeriodSeconds: ""
359 ## @param web.lifecycleHooks for Superset webserver containers to automate configuration before or after startup
362 ## @param web.extraEnvVars Array with extra environment variables to add to Superset webserver containers
369 ## @param web.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Superset webserver containers
372 ## @param web.extraEnvVarsSecret Name of existing Secret containing extra env vars for Superset webserver containers
374 extraEnvVarsSecret: ""
375 ## @param web.extraVolumes Optionally specify extra list of additional volumes for the Superset webserver pods
378 ## @param web.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Superset webserver containers
380 extraVolumeMounts: []
381 ## @param web.sidecars Add additional sidecar containers to the Superset webserver pods
384 ## - name: your-image-name
386 ## imagePullPolicy: Always
389 ## containerPort: 1234
392 ## @param web.initContainers Add additional init containers to the Superset webserver pods
393 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
396 ## - name: your-image-name
398 ## imagePullPolicy: Always
399 ## command: ['sh', '-c', 'echo "hello world"']
402 ## Pod Disruption Budget configuration
403 ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
404 ## @param web.pdb.create Enable/disable a Pod Disruption Budget creation
405 ## @param web.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
406 ## @param web.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
412 ## Autoscaling configuration
413 ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
416 ## @param web.autoscaling.vpa.enabled Enable VPA
419 ## @param web.autoscaling.vpa.annotations Annotations for VPA resource
422 ## @param web.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
424 controlledResources: []
425 ## @param web.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
429 ## @param web.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
436 ## @param web.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
437 ## Possible values are "Off", "Initial", "Recreate", and "Auto".
441 ## @param web.autoscaling.hpa.enabled Enable HPA
444 ## @param web.autoscaling.hpa.minReplicas Minimum number of replicas
447 ## @param web.autoscaling.hpa.maxReplicas Maximum number of replicas
450 ## @param web.autoscaling.hpa.targetCPU Target CPU utilization percentage
453 ## @param web.autoscaling.hpa.targetMemory Target Memory utilization percentage
456 ## Superset webserver service parameters
459 ## @param web.service.type Superset webserver service type
462 ## @param web.service.ports.http Superset webserver service HTTP port
466 ## Node ports to expose
467 ## @param web.service.nodePorts.http Node port for HTTP
468 ## NOTE: choose port between <30000-32767>
472 ## @param web.service.clusterIP Superset webserver service Cluster IP
477 ## @param web.service.loadBalancerIP Superset webserver service Load Balancer IP
478 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
481 ## @param web.service.loadBalancerSourceRanges Superset webserver service Load Balancer sources
482 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
484 ## loadBalancerSourceRanges:
487 loadBalancerSourceRanges: []
488 ## @param web.service.externalTrafficPolicy Superset webserver service external traffic policy
489 ## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
491 externalTrafficPolicy: Cluster
492 ## @param web.service.annotations Additional custom annotations for Superset webserver service
495 ## @param web.service.extraPorts Extra ports to expose in Superset webserver service (normally used with the `sidecars` value)
498 ## @param web.service.sessionAffinity Control where client requests go, to the same pod or round-robin
499 ## Values: ClientIP or None
500 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/
502 sessionAffinity: None
503 ## @param web.service.sessionAffinityConfig Additional settings for the sessionAffinity
504 ## sessionAffinityConfig:
506 ## timeoutSeconds: 300
508 sessionAffinityConfig: {}
510 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
513 ## @param web.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
516 ## @param web.networkPolicy.allowExternal Don't require server label for connections
517 ## The Policy model to apply. When set to false, only pods with the correct
518 ## server label will have network access to the ports server is listening
519 ## on. When true, server will accept connections from any source
520 ## (with the correct destination port).
523 ## @param web.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
525 allowExternalEgress: true
526 ## @param web.networkPolicy.addExternalClientAccess Allow access from pods with client label set to "true". Ignored if `networkPolicy.allowExternal` is true.
528 addExternalClientAccess: true
529 ## @param web.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
539 ## - matchExpressions:
545 ## @param web.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)
555 ## - matchExpressions:
562 ## @param web.networkPolicy.ingressPodMatchLabels [object] Labels to match to allow traffic from other pods. Ignored if `networkPolicy.allowExternal` is true.
564 ## ingressPodMatchLabels:
567 ingressPodMatchLabels: {}
568 ## @param web.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
569 ## @param web.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
571 ingressNSMatchLabels: {}
572 ingressNSPodMatchLabels: {}
573 ## 'wait-for-examples' init container parameters
576 ## @param web.waitForExamples.enabled Enable init container that waits for the load_examples command to finish before starting the webserver
579 ## Init container's resource requests and limits
580 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
581 ## @param web.waitForExamples.resourcesPreset Set init container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if waitForExamples.resources is set (waitForExamples.resources is recommended for production).
582 ## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
584 resourcesPreset: "nano"
585 ## @param web.waitForExamples.resources Set init container requests and limits for different resources like CPU or memory (essential for production workloads)
596 ## InitContainer Security Context
597 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
598 ## @param web.waitForExamples.containerSecurityContext.enabled Enabled wait-for-redis initcontainer's Security Context
599 ## @param web.waitForExamples.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in wait-for-redis initcontainer
600 ## @param web.waitForExamples.containerSecurityContext.runAsUser Set runAsUser in wait-for-redis initcontainer's Security Context
601 ## @param web.waitForExamples.containerSecurityContext.runAsGroup Set runAsGroup in wait-for-redis initcontainer's Security Context
602 ## @param web.waitForExamples.containerSecurityContext.runAsNonRoot Set runAsNonRoot in wait-for-redis initcontainer's Security Context
603 ## @param web.waitForExamples.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in wait-for-redis initcontainer's Security Context
604 ## @param web.waitForExamples.containerSecurityContext.privileged Set privileged in wait-for-redis initcontainer's Security Context
605 ## @param web.waitForExamples.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in wait-for-redis initcontainer's Security Context
606 ## @param web.waitForExamples.containerSecurityContext.capabilities.drop List of capabilities to be dropped in wait-for-redis initcontainer
607 ## @param web.waitForExamples.containerSecurityContext.seccompProfile.type Set seccomp profile in wait-for-redis initcontainer
609 containerSecurityContext:
615 readOnlyRootFilesystem: false
617 allowPrivilegeEscalation: false
621 type: "RuntimeDefault"
622## Superset Celery worker
625 ## @param worker.replicaCount Number of Superset Celery worker replicas to deploy
628 ## Configure extra options for Superset Celery worker containers' liveness and readiness probes
629 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
630 ## @param worker.livenessProbe.enabled Enable livenessProbe on Superset Celery worker containers
631 ## @param worker.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
632 ## @param worker.livenessProbe.periodSeconds Period seconds for livenessProbe
633 ## @param worker.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
634 ## @param worker.livenessProbe.failureThreshold Failure threshold for livenessProbe
635 ## @param worker.livenessProbe.successThreshold Success threshold for livenessProbe
639 initialDelaySeconds: 15
644 ## @param worker.readinessProbe.enabled Enable readinessProbe on Superset Celery worker containers
645 ## @param worker.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
646 ## @param worker.readinessProbe.periodSeconds Period seconds for readinessProbe
647 ## @param worker.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
648 ## @param worker.readinessProbe.failureThreshold Failure threshold for readinessProbe
649 ## @param worker.readinessProbe.successThreshold Success threshold for readinessProbe
653 initialDelaySeconds: 15
658 ## @param worker.startupProbe.enabled Enable startupProbe on Superset Celery worker containers
659 ## @param worker.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
660 ## @param worker.startupProbe.periodSeconds Period seconds for startupProbe
661 ## @param worker.startupProbe.timeoutSeconds Timeout seconds for startupProbe
662 ## @param worker.startupProbe.failureThreshold Failure threshold for startupProbe
663 ## @param worker.startupProbe.successThreshold Success threshold for startupProbe
667 initialDelaySeconds: 15
672 ## @param worker.customLivenessProbe Custom livenessProbe that overrides the default one
674 customLivenessProbe: {}
675 ## @param worker.customReadinessProbe Custom readinessProbe that overrides the default one
677 customReadinessProbe: {}
678 ## @param worker.customStartupProbe Custom startupProbe that overrides the default one
680 customStartupProbe: {}
681 ## Superset Celery worker resource requests and limits
682 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
683 ## @param worker.resourcesPreset Set Superset Celery worker container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if worker.resources is set (worker.resources is recommended for production).
684 ## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
686 resourcesPreset: "large"
687 ## @param worker.resources Set Superset Celery worker container requests and limits for different resources like CPU or memory (essential for production workloads)
698 ## Configure Pods Security Context
699 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
700 ## @param worker.podSecurityContext.enabled Enable Superset Celery worker pods' Security Context
701 ## @param worker.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy for Superset Celery worker pods
702 ## @param worker.podSecurityContext.sysctls Set kernel settings using the sysctl interface for Superset Celery worker pods
703 ## @param worker.podSecurityContext.supplementalGroups Set filesystem extra groups for Superset Celery worker pods
704 ## @param worker.podSecurityContext.fsGroup Set fsGroup in Superset Celery worker pods' Security Context
708 fsGroupChangePolicy: Always
710 supplementalGroups: []
712 ## Configure Container Security Context
713 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
714 ## @param worker.containerSecurityContext.enabled Enabled Superset Celery worker container' Security Context
715 ## @param worker.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in Superset Celery worker container
716 ## @param worker.containerSecurityContext.runAsUser Set runAsUser in Superset Celery worker container' Security Context
717 ## @param worker.containerSecurityContext.runAsGroup Set runAsGroup in Superset Celery worker container' Security Context
718 ## @param worker.containerSecurityContext.runAsNonRoot Set runAsNonRoot in Superset Celery worker container' Security Context
719 ## @param worker.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in Superset Celery worker container' Security Context
720 ## @param worker.containerSecurityContext.privileged Set privileged in Superset Celery worker container' Security Context
721 ## @param worker.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in Superset Celery worker container' Security Context
722 ## @param worker.containerSecurityContext.capabilities.drop List of capabilities to be dropped in Superset Celery worker container
723 ## @param worker.containerSecurityContext.seccompProfile.type Set seccomp profile in Superset Celery worker container
725 containerSecurityContext:
731 readOnlyRootFilesystem: false
733 allowPrivilegeEscalation: false
737 type: "RuntimeDefault"
738 ## @param worker.command Override default Superset Celery worker container command (useful when using custom images)
741 ## @param worker.args Override default Superset Celery worker container args (useful when using custom images)
744 ## @param worker.automountServiceAccountToken Mount Service Account token in Superset Celery worker pods
746 automountServiceAccountToken: false
747 ## @param worker.hostAliases Superset Celery worker pods host aliases
748 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
751 ## @param worker.deploymentAnnotations Annotations for Superset Celery worker deployment
752 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
754 deploymentAnnotations: {}
755 ## @param worker.podLabels Extra labels for Superset Celery worker pods
756 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
759 ## @param worker.podAnnotations Annotations for Superset Celery worker pods
760 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
763 ## @param worker.podAffinityPreset Pod affinity preset. Ignored if `worker.affinity` is set. Allowed values: `soft` or `hard`
764 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
766 podAffinityPreset: ""
767 ## @param worker.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `worker.affinity` is set. Allowed values: `soft` or `hard`
768 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
770 podAntiAffinityPreset: soft
771 ## Node worker.affinity preset
772 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
775 ## @param worker.nodeAffinityPreset.type Node affinity preset type. Ignored if `worker.affinity` is set. Allowed values: `soft` or `hard`
778 ## @param worker.nodeAffinityPreset.key Node label key to match. Ignored if `worker.affinity` is set
781 ## @param worker.nodeAffinityPreset.values Node label values to match. Ignored if `worker.affinity` is set
788 ## @param worker.affinity Affinity for Superset Celery worker pods assignment
789 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
790 ## NOTE: `worker.podAffinityPreset`, `worker.podAntiAffinityPreset`, and `worker.nodeAffinityPreset` will be ignored when it's set
793 ## @param worker.nodeSelector Node labels for Superset Celery worker pods assignment
794 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
797 ## @param worker.tolerations Tolerations for Superset Celery worker pods assignment
798 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
801 ## @param worker.updateStrategy.type Superset celery worker deployment strategy type
802 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
805 ## Can be set to RollingUpdate or Recreate
808 ## @param worker.priorityClassName Superset Celery worker pods' priorityClassName
810 priorityClassName: ""
811 ## @param worker.topologySpreadConstraints Topology Spread Constraints for Superset Celery worker pod assignment spread across your cluster among failure-domains
812 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
814 topologySpreadConstraints: []
815 ## @param worker.schedulerName Name of the k8s scheduler (other than default) for Superset Celery worker pods
816 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
819 ## @param worker.terminationGracePeriodSeconds Seconds Superset Celery worker pods need to terminate gracefully
820 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
822 terminationGracePeriodSeconds: ""
823 ## @param worker.lifecycleHooks for Superset Celery worker containers to automate configuration before or after startup
826 ## @param worker.extraEnvVars Array with extra environment variables to add to Superset Celery worker containers
833 ## @param worker.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Superset Celery worker containers
836 ## @param worker.extraEnvVarsSecret Name of existing Secret containing extra env vars for Superset Celery worker containers
838 extraEnvVarsSecret: ""
839 ## @param worker.extraVolumes Optionally specify extra list of additional volumes for the Superset Celery worker pods
842 ## @param worker.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Superset Celery worker containers
844 extraVolumeMounts: []
845 ## @param worker.sidecars Add additional sidecar containers to the Superset Celery worker pods
848 ## - name: your-image-name
850 ## imagePullPolicy: Always
853 ## containerPort: 1234
856 ## @param worker.initContainers Add additional init containers to the Superset Celery worker pods
857 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
860 ## - name: your-image-name
862 ## imagePullPolicy: Always
863 ## command: ['sh', '-c', 'echo "hello world"']
866 ## Pod Disruption Budget configuration
867 ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
868 ## @param worker.pdb.create Enable/disable a Pod Disruption Budget creation
869 ## @param worker.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
870 ## @param worker.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
876 ## Autoscaling configuration
877 ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
880 ## @param worker.autoscaling.vpa.enabled Enable VPA
883 ## @param worker.autoscaling.vpa.annotations Annotations for VPA resource
886 ## @param worker.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
888 controlledResources: []
889 ## @param worker.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
893 ## @param worker.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
900 ## @param worker.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
901 ## Possible values are "Off", "Initial", "Recreate", and "Auto".
905 ## @param worker.autoscaling.hpa.enabled Enable HPA
908 ## @param worker.autoscaling.hpa.minReplicas Minimum number of replicas
911 ## @param worker.autoscaling.hpa.maxReplicas Maximum number of replicas
914 ## @param worker.autoscaling.hpa.targetCPU Target CPU utilization percentage
917 ## @param worker.autoscaling.hpa.targetMemory Target Memory utilization percentage
921 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
924 ## @param worker.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
927 ## @param worker.networkPolicy.allowExternal Don't require server label for connections
928 ## The Policy model to apply. When set to false, only pods with the correct
929 ## server label will have network access to the ports server is listening
930 ## on. When true, server will accept connections from any source
931 ## (with the correct destination port).
934 ## @param worker.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
936 allowExternalEgress: true
937 ## @param worker.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
947 ## - matchExpressions:
953 ## @param worker.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)
963 ## - matchExpressions:
973 ## @param init.enabled Enables the Superset init job, which is in charge of initialising the database, admin user credentials, DB upgrade, etc.
976 ## @param init.extraEnvVars Array with extra environment variables to add to Superset init-job containers
983 ## @param init.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Superset init-job containers
986 ## @param init.extraEnvVarsSecret Name of existing Secret containing extra env vars for Superset init-job containers
988 extraEnvVarsSecret: ""
989 ## @param init.extraVolumes Optionally specify extra list of additional volumes for the Superset init-job pods
992 ## @param init.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Superset init-job containers
994 extraVolumeMounts: []
995 ## @param init.sidecars Add additional sidecar containers to the Superset init-job pods
998 ## - name: your-image-name
1000 ## imagePullPolicy: Always
1003 ## containerPort: 1234
1006 ## @param init.initContainers Add additional init containers to the Superset init-job pods
1007 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1010 ## - name: your-image-name
1011 ## image: your-image
1012 ## imagePullPolicy: Always
1013 ## command: ['sh', '-c', 'echo "hello world"']
1016 ## @param init.command Override default Superset init-job container command (useful when using custom images)
1019 ## @param init.args Override default Superset init-job container args (useful when using custom images)
1022 ## Superset init-job resource requests and limits
1023 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1024 ## @param init.resourcesPreset Set Superset init-job container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if init.resources is set (init.resources is recommended for production).
1025 ## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
1027 resourcesPreset: "medium"
1028 ## @param init.resources Set Superset init-job container requests and limits for different resources like CPU or memory (essential for production workloads)
1039 ## Configure Pods Security Context
1040 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1041 ## @param init.podSecurityContext.enabled Enable Superset init-job pods' Security Context
1042 ## @param init.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy for Superset init-job pods
1043 ## @param init.podSecurityContext.sysctls Set kernel settings using the sysctl interface for Superset init-job pods
1044 ## @param init.podSecurityContext.supplementalGroups Set filesystem extra groups for Superset init-job pods
1045 ## @param init.podSecurityContext.fsGroup Set fsGroup in Superset init-job pods' Security Context
1049 fsGroupChangePolicy: Always
1051 supplementalGroups: []
1053 ## Configure Container Security Context
1054 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1055 ## @param init.containerSecurityContext.enabled Enabled Superset init-job container' Security Context
1056 ## @param init.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in Superset init-job container
1057 ## @param init.containerSecurityContext.runAsUser Set runAsUser in Superset init-job container' Security Context
1058 ## @param init.containerSecurityContext.runAsGroup Set runAsGroup in Superset init-job container' Security Context
1059 ## @param init.containerSecurityContext.runAsNonRoot Set runAsNonRoot in Superset init-job container' Security Context
1060 ## @param init.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in Superset init-job container' Security Context
1061 ## @param init.containerSecurityContext.privileged Set privileged in Superset init-job container' Security Context
1062 ## @param init.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in Superset init-job container' Security Context
1063 ## @param init.containerSecurityContext.capabilities.drop List of capabilities to be dropped in Superset init-job container
1064 ## @param init.containerSecurityContext.seccompProfile.type Set seccomp profile in Superset init-job container
1066 containerSecurityContext:
1072 readOnlyRootFilesystem: false
1074 allowPrivilegeEscalation: false
1078 type: "RuntimeDefault"
1079 ## @param init.backoffLimit set backoff limit of the job
1082 ## @param init.automountServiceAccountToken Mount Service Account token in Superset init-job pods
1084 automountServiceAccountToken: false
1085 ## @param init.hostAliases Superset init-job pods host aliases
1086 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1089 ## @param init.jobAnnotations Annotations for Superset init-job job
1090 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1093 ## @param init.podLabels Extra labels for Superset init-job pods
1094 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1097 ## @param init.podAnnotations Annotations for Superset init-job pods
1098 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1102 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1105 ## @param init.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1108 ## @param init.networkPolicy.allowExternal Don't require server label for connections
1109 ## The Policy model to apply. When set to false, only pods with the correct
1110 ## server label will have network access to the ports server is listening
1111 ## on. When true, server will accept connections from any source
1112 ## (with the correct destination port).
1115 ## @param init.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1117 allowExternalEgress: true
1118 ## @param init.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1128 ## - matchExpressions:
1134 ## @param init.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)
1144 ## - matchExpressions:
1151## Superset Celery beat
1154 ## @param beat.enabled Set to true to enable Superset celery beat. Required if you intend to use alerts and reports
1157 ## Configure extra options for Superset celery beat containers' liveness and readiness probes
1158 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1159 ## @param beat.livenessProbe.enabled Enable livenessProbe on Superset celery beat containers
1160 ## @param beat.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
1161 ## @param beat.livenessProbe.periodSeconds Period seconds for livenessProbe
1162 ## @param beat.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
1163 ## @param beat.livenessProbe.failureThreshold Failure threshold for livenessProbe
1164 ## @param beat.livenessProbe.successThreshold Success threshold for livenessProbe
1168 initialDelaySeconds: 15
1173 ## @param beat.readinessProbe.enabled Enable readinessProbe on Superset celery beat containers
1174 ## @param beat.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
1175 ## @param beat.readinessProbe.periodSeconds Period seconds for readinessProbe
1176 ## @param beat.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
1177 ## @param beat.readinessProbe.failureThreshold Failure threshold for readinessProbe
1178 ## @param beat.readinessProbe.successThreshold Success threshold for readinessProbe
1182 initialDelaySeconds: 15
1187 ## @param beat.startupProbe.enabled Enable startupProbe on Superset celery beat containers
1188 ## @param beat.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
1189 ## @param beat.startupProbe.periodSeconds Period seconds for startupProbe
1190 ## @param beat.startupProbe.timeoutSeconds Timeout seconds for startupProbe
1191 ## @param beat.startupProbe.failureThreshold Failure threshold for startupProbe
1192 ## @param beat.startupProbe.successThreshold Success threshold for startupProbe
1196 initialDelaySeconds: 15
1199 failureThreshold: 60
1201 ## @param beat.customLivenessProbe Custom livenessProbe that overrides the default one
1203 customLivenessProbe: {}
1204 ## @param beat.customReadinessProbe Custom readinessProbe that overrides the default one
1206 customReadinessProbe: {}
1207 ## @param beat.customStartupProbe Custom startupProbe that overrides the default one
1209 customStartupProbe: {}
1210 ## Superset celery beat resource requests and limits
1211 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1212 ## @param beat.resourcesPreset Set Superset celery beat container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if beat.resources is set (beat.resources is recommended for production).
1213 ## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
1215 resourcesPreset: "small"
1216 ## @param beat.resources Set Superset celery beat container requests and limits for different resources like CPU or memory (essential for production workloads)
1227 ## Configure Pods Security Context
1228 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1229 ## @param beat.podSecurityContext.enabled Enable Superset celery beat pods' Security Context
1230 ## @param beat.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy for Superset celery beat pods
1231 ## @param beat.podSecurityContext.sysctls Set kernel settings using the sysctl interface for Superset celery beat pods
1232 ## @param beat.podSecurityContext.supplementalGroups Set filesystem extra groups for Superset celery beat pods
1233 ## @param beat.podSecurityContext.fsGroup Set fsGroup in Superset celery beat pods' Security Context
1237 fsGroupChangePolicy: Always
1239 supplementalGroups: []
1241 ## Configure Container Security Context
1242 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1243 ## @param beat.containerSecurityContext.enabled Enabled Superset celery beat container' Security Context
1244 ## @param beat.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in Superset celery beat container
1245 ## @param beat.containerSecurityContext.runAsUser Set runAsUser in Superset celery beat container' Security Context
1246 ## @param beat.containerSecurityContext.runAsGroup Set runAsGroup in Superset celery beat container' Security Context
1247 ## @param beat.containerSecurityContext.runAsNonRoot Set runAsNonRoot in Superset celery beat container' Security Context
1248 ## @param beat.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in Superset celery beat container' Security Context
1249 ## @param beat.containerSecurityContext.privileged Set privileged in Superset celery beat container' Security Context
1250 ## @param beat.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in Superset celery beat container' Security Context
1251 ## @param beat.containerSecurityContext.capabilities.drop List of capabilities to be dropped in Superset celery beat container
1252 ## @param beat.containerSecurityContext.seccompProfile.type Set seccomp profile in Superset celery beat container
1254 containerSecurityContext:
1260 readOnlyRootFilesystem: false
1262 allowPrivilegeEscalation: false
1266 type: "RuntimeDefault"
1267 ## @param beat.command Override default Superset celery beat container command (useful when using custom images)
1270 ## @param beat.args Override default Superset celery beat container args (useful when using custom images)
1273 ## @param beat.automountServiceAccountToken Mount Service Account token in Superset celery beat pods
1275 automountServiceAccountToken: false
1276 ## @param beat.hostAliases Superset celery beat pods host aliases
1277 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1280 ## @param beat.deploymentAnnotations Annotations for Superset celery beat deployment
1281 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1283 deploymentAnnotations: {}
1284 ## @param beat.podLabels Extra labels for Superset celery beat pods
1285 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1288 ## @param beat.podAnnotations Annotations for Superset celery beat pods
1289 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1292 ## @param beat.podAffinityPreset Pod affinity preset. Ignored if `beat.affinity` is set. Allowed values: `soft` or `hard`
1293 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1295 podAffinityPreset: ""
1296 ## @param beat.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `beat.affinity` is set. Allowed values: `soft` or `hard`
1297 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1299 podAntiAffinityPreset: soft
1300 ## Node beat.affinity preset
1301 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1304 ## @param beat.nodeAffinityPreset.type Node affinity preset type. Ignored if `beat.affinity` is set. Allowed values: `soft` or `hard`
1307 ## @param beat.nodeAffinityPreset.key Node label key to match. Ignored if `beat.affinity` is set
1310 ## @param beat.nodeAffinityPreset.values Node label values to match. Ignored if `beat.affinity` is set
1317 ## @param beat.affinity Affinity for Superset celery beat pods assignment
1318 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1319 ## NOTE: `beat.podAffinityPreset`, `beat.podAntiAffinityPreset`, and `beat.nodeAffinityPreset` will be ignored when it's set
1322 ## @param beat.nodeSelector Node labels for Superset celery beat pods assignment
1323 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1326 ## @param beat.tolerations Tolerations for Superset celery beat pods assignment
1327 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1330 ## @param beat.updateStrategy.type Superset celery beat deployment strategy type
1331 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
1334 ## Can be set to RollingUpdate or Recreate
1337 ## @param beat.priorityClassName Superset celery beat pods' priorityClassName
1339 priorityClassName: ""
1340 ## @param beat.topologySpreadConstraints Topology Spread Constraints for Superset celery beat pod assignment spread across your cluster among failure-domains
1341 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1343 topologySpreadConstraints: []
1344 ## @param beat.schedulerName Name of the k8s scheduler (other than default) for Superset celery beat pods
1345 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1348 ## @param beat.terminationGracePeriodSeconds Seconds Superset celery beat pods need to terminate gracefully
1349 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
1351 terminationGracePeriodSeconds: ""
1352 ## @param beat.lifecycleHooks for Superset celery beat containers to automate configuration before or after startup
1355 ## @param beat.extraEnvVars Array with extra environment variables to add to Superset celery beat containers
1362 ## @param beat.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Superset celery beat containers
1365 ## @param beat.extraEnvVarsSecret Name of existing Secret containing extra env vars for Superset celery beat containers
1367 extraEnvVarsSecret: ""
1368 ## @param beat.extraVolumes Optionally specify extra list of additional volumes for the Superset celery beat pods
1371 ## @param beat.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Superset celery beat containers
1373 extraVolumeMounts: []
1374 ## @param beat.sidecars Add additional sidecar containers to the Superset celery beat pods
1377 ## - name: your-image-name
1378 ## image: your-image
1379 ## imagePullPolicy: Always
1382 ## containerPort: 1234
1385 ## @param beat.initContainers Add additional init containers to the Superset celery beat pods
1386 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1389 ## - name: your-image-name
1390 ## image: your-image
1391 ## imagePullPolicy: Always
1392 ## command: ['sh', '-c', 'echo "hello world"']
1395 ## Pod Disruption Budget configuration
1396 ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1397 ## @param beat.pdb.create Enable/disable a Pod Disruption Budget creation
1398 ## @param beat.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1399 ## @param beat.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
1406 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1409 ## @param beat.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1412 ## @param beat.networkPolicy.allowExternal Don't require server label for connections
1413 ## The Policy model to apply. When set to false, only pods with the correct
1414 ## server label will have network access to the ports server is listening
1415 ## on. When true, server will accept connections from any source
1416 ## (with the correct destination port).
1419 ## @param beat.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1421 allowExternalEgress: true
1422 ## @param beat.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1432 ## - matchExpressions:
1438 ## @param beat.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)
1448 ## - matchExpressions:
1455## Superset Celery flower
1458 ## @param flower.enabled Set to true to enable Superset celery flower. Required if you intend to use alerts and reports
1462 ## @param flower.replicaCount Number of Superset Celery flower replicas to deploy
1465 ## @param flower.containerPorts.flower Superset celery flower container port
1469 ## @param flower.extraContainerPorts Optionally specify extra list of additional ports for WordPress container(s)
1471 ## extraContainerPorts:
1472 ## - name: myservice
1473 ## containerPort: 9090
1475 extraContainerPorts: []
1476 ## Flower HTTP Basic authentication parameters
1479 ## @param flower.auth.enabled Enables Apache Celery flower HTTP basic authentication
1482 ## @param flower.auth.username Apache Celery flower username
1485 ## @param flower.auth.password Apache Celery flower password
1486 ## If empty, a random password will be autogenerated
1489 ## @param flower.auth.existingSecret Name of existing secret to use for Superset Celery flower
1490 ## The secret must contain the key 'flower-basic-auth' encoding the HTTP basic auth string
1493 ## Configure extra options for Superset celery flower containers' liveness and readiness probes
1494 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1495 ## @param flower.livenessProbe.enabled Enable livenessProbe on Superset celery flower containers
1496 ## @param flower.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
1497 ## @param flower.livenessProbe.periodSeconds Period seconds for livenessProbe
1498 ## @param flower.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
1499 ## @param flower.livenessProbe.failureThreshold Failure threshold for livenessProbe
1500 ## @param flower.livenessProbe.successThreshold Success threshold for livenessProbe
1504 initialDelaySeconds: 30
1509 ## @param flower.readinessProbe.enabled Enable readinessProbe on Superset celery flower containers
1510 ## @param flower.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
1511 ## @param flower.readinessProbe.periodSeconds Period seconds for readinessProbe
1512 ## @param flower.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
1513 ## @param flower.readinessProbe.failureThreshold Failure threshold for readinessProbe
1514 ## @param flower.readinessProbe.successThreshold Success threshold for readinessProbe
1518 initialDelaySeconds: 15
1523 ## @param flower.startupProbe.enabled Enable startupProbe on Superset celery flower containers
1524 ## @param flower.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
1525 ## @param flower.startupProbe.periodSeconds Period seconds for startupProbe
1526 ## @param flower.startupProbe.timeoutSeconds Timeout seconds for startupProbe
1527 ## @param flower.startupProbe.failureThreshold Failure threshold for startupProbe
1528 ## @param flower.startupProbe.successThreshold Success threshold for startupProbe
1532 initialDelaySeconds: 15
1535 failureThreshold: 60
1537 ## @param flower.customLivenessProbe Custom livenessProbe that overrides the default one
1539 customLivenessProbe: {}
1540 ## @param flower.customReadinessProbe Custom readinessProbe that overrides the default one
1542 customReadinessProbe: {}
1543 ## @param flower.customStartupProbe Custom startupProbe that overrides the default one
1545 customStartupProbe: {}
1546 ## Superset celery flower resource requests and limits
1547 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1548 ## @param flower.resourcesPreset Set Superset celery flower container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if flower.resources is set (flower.resources is recommended for production).
1549 ## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
1551 resourcesPreset: "small"
1552 ## @param flower.resources Set Superset celery flower container requests and limits for different resources like CPU or memory (essential for production workloads)
1563 ## Configure Pods Security Context
1564 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1565 ## @param flower.podSecurityContext.enabled Enable Superset celery flower pods' Security Context
1566 ## @param flower.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy for Superset celery flower pods
1567 ## @param flower.podSecurityContext.sysctls Set kernel settings using the sysctl interface for Superset celery flower pods
1568 ## @param flower.podSecurityContext.supplementalGroups Set filesystem extra groups for Superset celery flower pods
1569 ## @param flower.podSecurityContext.fsGroup Set fsGroup in Superset celery flower pods' Security Context
1573 fsGroupChangePolicy: Always
1575 supplementalGroups: []
1577 ## Configure Container Security Context
1578 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1579 ## @param flower.containerSecurityContext.enabled Enabled Superset celery flower container' Security Context
1580 ## @param flower.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in Superset celery flower container
1581 ## @param flower.containerSecurityContext.runAsUser Set runAsUser in Superset celery flower container' Security Context
1582 ## @param flower.containerSecurityContext.runAsGroup Set runAsGroup in Superset celery flower container' Security Context
1583 ## @param flower.containerSecurityContext.runAsNonRoot Set runAsNonRoot in Superset celery flower container' Security Context
1584 ## @param flower.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in Superset celery flower container' Security Context
1585 ## @param flower.containerSecurityContext.privileged Set privileged in Superset celery flower container' Security Context
1586 ## @param flower.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in Superset celery flower container' Security Context
1587 ## @param flower.containerSecurityContext.capabilities.drop List of capabilities to be dropped in Superset celery flower container
1588 ## @param flower.containerSecurityContext.seccompProfile.type Set seccomp profile in Superset celery flower container
1590 containerSecurityContext:
1596 readOnlyRootFilesystem: false
1598 allowPrivilegeEscalation: false
1602 type: "RuntimeDefault"
1603 ## @param flower.command Override default Superset celery flower container command (useful when using custom images)
1606 ## @param flower.args Override default Superset celery flower container args (useful when using custom images)
1609 ## @param flower.automountServiceAccountToken Mount Service Account token in Superset celery flower pods
1611 automountServiceAccountToken: false
1612 ## @param flower.hostAliases Superset celery flower pods host aliases
1613 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1616 ## @param flower.deploymentAnnotations Annotations for Superset celery flower deployment
1617 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1619 deploymentAnnotations: {}
1620 ## @param flower.podLabels Extra labels for Superset celery flower pods
1621 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1624 ## @param flower.podAnnotations Annotations for Superset celery flower pods
1625 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1628 ## @param flower.podAffinityPreset Pod affinity preset. Ignored if `flower.affinity` is set. Allowed values: `soft` or `hard`
1629 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1631 podAffinityPreset: ""
1632 ## @param flower.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `flower.affinity` is set. Allowed values: `soft` or `hard`
1633 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1635 podAntiAffinityPreset: soft
1636 ## Node flower.affinity preset
1637 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1640 ## @param flower.nodeAffinityPreset.type Node affinity preset type. Ignored if `flower.affinity` is set. Allowed values: `soft` or `hard`
1643 ## @param flower.nodeAffinityPreset.key Node label key to match. Ignored if `flower.affinity` is set
1646 ## @param flower.nodeAffinityPreset.values Node label values to match. Ignored if `flower.affinity` is set
1653 ## @param flower.affinity Affinity for Superset celery flower pods assignment
1654 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1655 ## NOTE: `flower.podAffinityPreset`, `flower.podAntiAffinityPreset`, and `flower.nodeAffinityPreset` will be ignored when it's set
1658 ## @param flower.nodeSelector Node labels for Superset celery flower pods assignment
1659 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1662 ## @param flower.tolerations Tolerations for Superset celery flower pods assignment
1663 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1666 ## @param flower.updateStrategy.type Superset celery flower deployment strategy type
1667 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
1670 ## Can be set to RollingUpdate or Recreate
1673 ## @param flower.priorityClassName Superset celery flower pods' priorityClassName
1675 priorityClassName: ""
1676 ## @param flower.topologySpreadConstraints Topology Spread Constraints for Superset celery flower pod assignment spread across your cluster among failure-domains
1677 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1679 topologySpreadConstraints: []
1680 ## @param flower.schedulerName Name of the k8s scheduler (other than default) for Superset celery flower pods
1681 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1684 ## @param flower.terminationGracePeriodSeconds Seconds Superset celery flower pods need to terminate gracefully
1685 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
1687 terminationGracePeriodSeconds: ""
1688 ## @param flower.lifecycleHooks for Superset celery flower containers to automate configuration before or after startup
1691 ## @param flower.extraEnvVars Array with extra environment variables to add to Superset celery flower containers
1698 ## @param flower.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Superset celery flower containers
1701 ## @param flower.extraEnvVarsSecret Name of existing Secret containing extra env vars for Superset celery flower containers
1703 extraEnvVarsSecret: ""
1704 ## @param flower.extraVolumes Optionally specify extra list of additional volumes for the Superset celery flower pods
1707 ## @param flower.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Superset celery flower containers
1709 extraVolumeMounts: []
1710 ## @param flower.sidecars Add additional sidecar containers to the Superset celery flower pods
1713 ## - name: your-image-name
1714 ## image: your-image
1715 ## imagePullPolicy: Always
1718 ## containerPort: 1234
1721 ## @param flower.initContainers Add additional init containers to the Superset celery flower pods
1722 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1725 ## - name: your-image-name
1726 ## image: your-image
1727 ## imagePullPolicy: Always
1728 ## command: ['sh', '-c', 'echo "hello world"']
1731 ## Pod Disruption Budget configuration
1732 ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1733 ## @param flower.pdb.create Enable/disable a Pod Disruption Budget creation
1734 ## @param flower.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1735 ## @param flower.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
1741 ## Autoscaling configuration
1742 ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
1745 ## @param flower.autoscaling.vpa.enabled Enable VPA
1748 ## @param flower.autoscaling.vpa.annotations Annotations for VPA resource
1751 ## @param flower.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
1753 controlledResources: []
1754 ## @param flower.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
1758 ## @param flower.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
1762 ## VPA update policy
1765 ## @param flower.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
1766 ## Possible values are "Off", "Initial", "Recreate", and "Auto".
1770 ## @param flower.autoscaling.hpa.enabled Enable HPA
1773 ## @param flower.autoscaling.hpa.minReplicas Minimum number of replicas
1776 ## @param flower.autoscaling.hpa.maxReplicas Maximum number of replicas
1779 ## @param flower.autoscaling.hpa.targetCPU Target CPU utilization percentage
1782 ## @param flower.autoscaling.hpa.targetMemory Target Memory utilization percentage
1785 ## Superset celery flower service parameters
1788 ## @param flower.service.type Superset celery flower service type
1791 ## @param flower.service.ports.flower Superset celery flower service port
1795 ## Node ports to expose
1796 ## @param flower.service.nodePorts.flower Node port for flower
1797 ## NOTE: choose port between <30000-32767>
1801 ## @param flower.service.clusterIP Superset celery flower service Cluster IP
1806 ## @param flower.service.loadBalancerIP Superset celery flower service Load Balancer IP
1807 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
1810 ## @param flower.service.loadBalancerSourceRanges Superset celery flower service Load Balancer sources
1811 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1813 ## loadBalancerSourceRanges:
1816 loadBalancerSourceRanges: []
1817 ## @param flower.service.externalTrafficPolicy Superset celery flower service external traffic policy
1818 ## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
1820 externalTrafficPolicy: Cluster
1821 ## @param flower.service.annotations Additional custom annotations for Superset celery flower service
1824 ## @param flower.service.extraPorts Extra ports to expose in Superset celery flower service (normally used with the `sidecars` value)
1827 ## @param flower.service.sessionAffinity Control where client requests go, to the same pod or round-robin
1828 ## Values: ClientIP or None
1829 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/
1831 sessionAffinity: None
1832 ## @param flower.service.sessionAffinityConfig Additional settings for the sessionAffinity
1833 ## sessionAffinityConfig:
1835 ## timeoutSeconds: 300
1837 sessionAffinityConfig: {}
1839 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1842 ## @param flower.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1845 ## @param flower.networkPolicy.allowExternal Don't require server label for connections
1846 ## The Policy model to apply. When set to false, only pods with the correct
1847 ## server label will have network access to the ports server is listening
1848 ## on. When true, server will accept connections from any source
1849 ## (with the correct destination port).
1852 ## @param flower.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1854 allowExternalEgress: true
1855 ## @param flower.networkPolicy.addExternalClientAccess Allow access from pods with client label set to "true". Ignored if `networkPolicy.allowExternal` is true.
1857 addExternalClientAccess: true
1858 ## @param flower.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1868 ## - matchExpressions:
1874 ## @param flower.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)
1884 ## - matchExpressions:
1891 ## @param flower.networkPolicy.ingressPodMatchLabels [object] Labels to match to allow traffic from other pods. Ignored if `networkPolicy.allowExternal` is true.
1893 ## ingressPodMatchLabels:
1894 ## my-client: "true"
1896 ingressPodMatchLabels: {}
1897 ## @param flower.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1898 ## @param flower.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1900 ingressNSMatchLabels: {}
1901 ingressNSPodMatchLabels: {}
1902## Superset ingress parameters
1903## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
1906 ## @param ingress.enabled Enable ingress record generation for Superset
1909 ## @param ingress.pathType Ingress path type
1911 pathType: ImplementationSpecific
1912 ## @param ingress.apiVersion Force Ingress API version (automatically detected if not set)
1915 ## @param ingress.hostname Default host for the ingress record
1917 hostname: superset.local
1918 ## @param ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
1919 ## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
1920 ## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
1922 ingressClassName: ""
1923 ## @param ingress.path Default path for the ingress record
1924 ## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
1927 ## @param ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
1928 ## Use this parameter to set the required annotations for cert-manager, see
1929 ## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
1932 ## kubernetes.io/ingress.class: nginx
1933 ## cert-manager.io/cluster-issuer: cluster-issuer-name
1936 ## @param ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
1937 ## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
1939 ## - Use the `ingress.secrets` parameter to create this TLS secret
1940 ## - Rely on cert-manager to create it by setting the corresponding annotations
1941 ## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
1944 ## @param ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
1947 ## @param ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
1950 ## - name: superset.local
1954 ## @param ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
1959 ## serviceName: ssl-redirect
1960 ## servicePort: use-annotation
1963 ## @param ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
1964 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
1969 ## secretName: superset.local-tls
1972 ## @param ingress.secrets Custom TLS certificates as secrets
1973 ## NOTE: 'key' and 'certificate' are expected in PEM format
1974 ## NOTE: 'name' should line up with a 'secretName' set further up
1975 ## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
1976 ## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
1977 ## It is also possible to create and manage the certificates outside of this helm chart
1978 ## Please see README.md for more information
1981 ## - name: superset.local-tls
1983 ## -----BEGIN RSA PRIVATE KEY-----
1985 ## -----END RSA PRIVATE KEY-----
1987 ## -----BEGIN CERTIFICATE-----
1989 ## -----END CERTIFICATE-----
1992 ## @param ingress.extraRules Additional rules to be covered with this ingress record
1993 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
1996 ## - host: example.local
2001 ## name: example-svc
2006## @section Default Init Container Parameters
2008defaultInitContainers:
2009 ## 'wait-for-db' init container parameters
2012 ## @param defaultInitContainers.waitForDB.enabled Enable init container that waits for the Database to be available
2015 ## Init container's resource requests and limits
2016 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2017 ## @param defaultInitContainers.waitForDB.resourcesPreset Set init container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if waitForDB.resources is set (waitForDB.resources is recommended for production).
2018 ## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
2020 resourcesPreset: "nano"
2021 ## @param defaultInitContainers.waitForDB.resources Set init container requests and limits for different resources like CPU or memory (essential for production workloads)
2032 ## InitContainer Security Context
2033 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
2034 ## @param defaultInitContainers.waitForDB.containerSecurityContext.enabled Enabled wait-for-db initcontainer's Security Context
2035 ## @param defaultInitContainers.waitForDB.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in wait-for-db initcontainer
2036 ## @param defaultInitContainers.waitForDB.containerSecurityContext.runAsUser Set runAsUser in wait-for-db initcontainer's Security Context
2037 ## @param defaultInitContainers.waitForDB.containerSecurityContext.runAsGroup Set runAsGroup in wait-for-db initcontainer's Security Context
2038 ## @param defaultInitContainers.waitForDB.containerSecurityContext.runAsNonRoot Set runAsNonRoot in wait-for-db initcontainer's Security Context
2039 ## @param defaultInitContainers.waitForDB.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in wait-for-db initcontainer's Security Context
2040 ## @param defaultInitContainers.waitForDB.containerSecurityContext.privileged Set privileged in wait-for-db initcontainer's Security Context
2041 ## @param defaultInitContainers.waitForDB.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in wait-for-db initcontainer's Security Context
2042 ## @param defaultInitContainers.waitForDB.containerSecurityContext.capabilities.drop List of capabilities to be dropped in wait-for-db initcontainer
2043 ## @param defaultInitContainers.waitForDB.containerSecurityContext.seccompProfile.type Set seccomp profile in wait-for-db initcontainer
2045 containerSecurityContext:
2051 readOnlyRootFilesystem: false
2053 allowPrivilegeEscalation: false
2057 type: "RuntimeDefault"
2058 ## 'wait-for-redis' init container parameters
2061 ## @param defaultInitContainers.waitForRedis.enabled Enable init container that waits for Redis to be available
2064 ## Init container's resource requests and limits
2065 ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2066 ## @param defaultInitContainers.waitForRedis.resourcesPreset Set init container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if waitForRedis.resources is set (waitForRedis.resources is recommended for production).
2067 ## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
2069 resourcesPreset: "nano"
2070 ## @param defaultInitContainers.waitForRedis.resources Set init container requests and limits for different resources like CPU or memory (essential for production workloads)
2081 ## InitContainer Security Context
2082 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
2083 ## @param defaultInitContainers.waitForRedis.containerSecurityContext.enabled Enabled wait-for-redis initcontainer's Security Context
2084 ## @param defaultInitContainers.waitForRedis.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in wait-for-redis initcontainer
2085 ## @param defaultInitContainers.waitForRedis.containerSecurityContext.runAsUser Set runAsUser in wait-for-redis initcontainer's Security Context
2086 ## @param defaultInitContainers.waitForRedis.containerSecurityContext.runAsGroup Set runAsGroup in wait-for-redis initcontainer's Security Context
2087 ## @param defaultInitContainers.waitForRedis.containerSecurityContext.runAsNonRoot Set runAsNonRoot in wait-for-redis initcontainer's Security Context
2088 ## @param defaultInitContainers.waitForRedis.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in wait-for-redis initcontainer's Security Context
2089 ## @param defaultInitContainers.waitForRedis.containerSecurityContext.privileged Set privileged in wait-for-redis initcontainer's Security Context
2090 ## @param defaultInitContainers.waitForRedis.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in wait-for-redis initcontainer's Security Context
2091 ## @param defaultInitContainers.waitForRedis.containerSecurityContext.capabilities.drop List of capabilities to be dropped in wait-for-redis initcontainer
2092 ## @param defaultInitContainers.waitForRedis.containerSecurityContext.seccompProfile.type Set seccomp profile in wait-for-redis initcontainer
2094 containerSecurityContext:
2100 readOnlyRootFilesystem: false
2102 allowPrivilegeEscalation: false
2106 type: "RuntimeDefault"
2107## @section Other Parameters
2110## ServiceAccount configuration
2113 ## @param serviceAccount.create Specifies whether a ServiceAccount should be created
2116 ## @param serviceAccount.name The name of the ServiceAccount to use.
2117 ## If not set and create is true, a name is generated using the common.names.fullname template
2120 ## @param serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
2123 ## @param serviceAccount.automountServiceAccountToken Automount service account token for the server service account
2125 automountServiceAccountToken: true
2126## @section Superset database parameters
2128## PostgreSQL chart configuration
2129## ref: https://github.com/iamguarded/charts/blob/main/iamguarded/postgresql/values.yaml
2130## @param postgresql.enabled Switch to enable or disable the PostgreSQL helm chart
2131## @param postgresql.auth.enablePostgresUser Assign a password to the "postgres" admin user. Otherwise, remote access will be blocked for this user
2132## @param postgresql.auth.username Name for a custom user to create
2133## @param postgresql.auth.password Password for the custom user to create
2134## @param postgresql.auth.database Name for a custom database to create
2135## @param postgresql.auth.existingSecret Name of existing secret to use for PostgreSQL credentials
2136## @param postgresql.architecture PostgreSQL architecture (`standalone` or `replication`)
2141 enablePostgresUser: true
2142 username: ig_superset
2144 database: iamguarded_superset
2146 architecture: standalone
2148 ## @param postgresql.primary.service.ports.postgresql PostgreSQL service port
2153 ## PostgreSQL Primary resource requests and limits
2154 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2155 ## @param postgresql.primary.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if primary.resources is set (primary.resources is recommended for production).
2156 ## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
2158 resourcesPreset: "nano"
2159 ## @param postgresql.primary.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2172 repository: chainguard-private/postgres-iamguarded
2178 repository: chainguard-private/prometheus-postgres-exporter-iamguarded
2184 repository: chainguard-private/os-shell-iamguarded
2187## External PostgreSQL configuration
2188## All of these values are only used when postgresql.enabled is set to false
2189## @param externalDatabase.host Database host
2190## @param externalDatabase.port Database port number
2191## @param externalDatabase.user Non-root username for Superset
2192## @param externalDatabase.password Password for the non-root username for Superset
2193## @param externalDatabase.database Superset database name
2194## @param externalDatabase.existingSecret Name of an existing secret resource containing the database credentials
2195## @param externalDatabase.existingSecretPasswordKey Name of an existing secret key containing the database credentials
2201 database: iamguarded_superset
2204 existingSecretPasswordKey: "db-password"
2205## Redis® chart configuration
2206## ref: https://github.com/iamguarded/charts/blob/main/iamguarded/redis/values.yaml
2207## @param redis.enabled Switch to enable or disable the Redis® helm
2208## @param redis.auth.enabled Enable password authentication
2209## @param redis.auth.password Redis® password
2210## @param redis.auth.existingSecret The name of an existing secret with Redis® credentials
2211## @param redis.architecture Redis® architecture. Allowed values: `standalone` or `replication`
2217 ## Redis® password (both master and slave). Defaults to a random 10-character alphanumeric string if not set and auth.enabled is true.
2218 ## The password value is ignored if existingSecret is set
2221 architecture: standalone
2223 ## @param redis.master.service.ports.redis Redis® port
2228 ## Redis® master resource requests and limits
2229 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2230 ## @param redis.master.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if master.resources is set (master.resources is recommended for production).
2231 ## More information: https://github.com/iamguarded/charts/blob/main/iamguarded/common/templates/_resources.tpl#L15
2233 resourcesPreset: "nano"
2234 ## @param redis.master.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2247 repository: chainguard-private/redis-server-iamguarded
2253 repository: chainguard-private/redis-sentinel-iamguarded
2259 repository: chainguard-private/prometheus-redis-exporter-iamguarded
2265 repository: chainguard-private/kubectl-iamguarded
2271 repository: chainguard-private/os-shell-iamguarded
2277 repository: chainguard-private/os-shell-iamguarded
2280## External Redis® configuration
2281## All of these values are only used when redis.enabled is set to false
2282## @param externalRedis.host Redis® host
2283## @param externalRedis.port Redis® port number
2284## @param externalRedis.username Redis® username
2285## @param externalRedis.password Redis® password
2286## @param externalRedis.existingSecret Name of an existing secret resource containing the Redis&trade credentials
2287## @param externalRedis.existingSecretPasswordKey Name of an existing secret key containing the Redis&trade credentials
2292 ## Most Redis® implementations do not require a username
2293 ## to authenticate and it should be enough with the password
2297 existingSecretPasswordKey: "redis-password"