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, defaultStorageClass and compatibility
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.defaultStorageClass Global default StorageClass for Persistent Volume(s)
26 ## - myRegistryKeySecretName
29 defaultStorageClass: ""
30 ## Security parameters
33 ## @param global.security.allowInsecureImages Allows skipping image verification
35 allowInsecureImages: false
36 ## Compatibility adaptations for Kubernetes platforms
39 ## Compatibility adaptations for Openshift
42 ## @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)
44 adaptSecurityContext: auto
46## @section Common parameters
49## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
52## @param apiVersions Override Kubernetes API versions reported by .Capabilities
55## @param nameOverride String to partially override common.names.fullname template with a string (will prepend the release name)
58## @param fullnameOverride String to fully override common.names.fullname template with a string
61## @param commonAnnotations Common annotations to add to all Kong resources (sub-charts are not considered). Evaluated as a template
64## @param commonLabels Common labels to add to all Kong resources (sub-charts are not considered). Evaluated as a template
67## @param clusterDomain Kubernetes cluster domain
69clusterDomain: cluster.local
70## @param extraDeploy Array of extra objects to deploy with the release (evaluated as a template).
73## @param usePasswordFiles Mount credentials as files instead of using environment variables
76## Enable diagnostic mode in the daemonset/deployment
79 ## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
82 ## @param diagnosticMode.command Command to override all containers in the daemonset/deployment
86 ## @param diagnosticMode.args Args to override all containers in the daemonset/deployment
90## @section Kong common parameters
93## Iamguarded kong image version
94## @param image.registry [default: REGISTRY_NAME] kong image registry
95## @param image.repository [default: REPOSITORY_NAME/kong] kong image repository
96## @skip image.tag kong image tag (immutable tags are recommended)
97## @param image.digest kong image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
98## @param image.pullPolicy kong image pull policy
99## @param image.pullSecrets Specify docker-registry secret names as an array
100## @param image.debug Enable image debug mode
104 repository: chainguard-private/kong-iamguarded
107 ## Specify a imagePullPolicy
108 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
110 pullPolicy: IfNotPresent
111 ## Optionally specify an array of imagePullSecrets.
112 ## Secrets must be manually created in the namespace.
113 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
116 ## - myRegistryKeySecretName
122## @param database Select which database backend Kong will use. Can be 'postgresql', 'cassandra' or 'off'
125## @section Kong deployment / daemonset parameters
128## @param useDaemonset Use a daemonset instead of a deployment. `replicaCount` will not take effect.
131## @param replicaCount Number of Kong replicas
134## Kong containers' Security Context
135## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
136## @param containerSecurityContext.enabled Enabled containers' Security Context
137## @param containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
138## @param containerSecurityContext.runAsUser Set containers' Security Context runAsUser
139## @param containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
140## @param containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
141## @param containerSecurityContext.privileged Set container's Security Context privileged
142## @param containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
143## @param containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
144## @param containerSecurityContext.capabilities.drop List of capabilities to be dropped
145## @param containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
147containerSecurityContext:
154 readOnlyRootFilesystem: true
155 allowPrivilegeEscalation: false
159 type: "RuntimeDefault"
160## Kong pods' Security Context
161## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
162## @param podSecurityContext.enabled Enabled Kong pods' Security Context
163## @param podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
164## @param podSecurityContext.sysctls Set kernel settings using the sysctl interface
165## @param podSecurityContext.supplementalGroups Set filesystem extra groups
166## @param podSecurityContext.fsGroup Set Kong pod's Security Context fsGroup
170 fsGroupChangePolicy: Always
172 supplementalGroups: []
174## @param updateStrategy.type Kong update strategy
175## @param updateStrategy.rollingUpdate Kong deployment rolling update configuration parameters
176## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
177## Note: Set to Recreate if you use persistent volume that cannot be mounted by more than one pods to make sure the pods is destroyed first.
180## type: RollingUpdate
183## maxUnavailable: 25%
188## @param automountServiceAccountToken Mount Service Account token in pod
190automountServiceAccountToken: true
191## @param hostAliases Add deployment host aliases
192## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
195## @param topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
196## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
198topologySpreadConstraints: []
199## @param priorityClassName Priority Class Name
200## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
203## @param schedulerName Use an alternate scheduler, e.g. "stork".
204## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
207## @param terminationGracePeriodSeconds Seconds Kong pod needs to terminate gracefully
208## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
210terminationGracePeriodSeconds: ""
211## @param podAnnotations Additional pod annotations
212## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
215## @param podLabels Additional pod labels
216## Ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
219## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
220## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
223## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
224## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
226podAntiAffinityPreset: soft
227## Node affinity preset
228## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
231 ## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
234 ## @param nodeAffinityPreset.key Node label key to match Ignored if `affinity` is set.
236 ## key: "kubernetes.io/e2e-az-name"
239 ## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
246## @param affinity Affinity for pod assignment
247## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
248## Note: `podAffinityPreset`, `podAntiAffinityPreset`, and `nodeAffinityPreset` will be ignored when it's set
251## @param nodeSelector Node labels for pod assignment
252## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
255## @param tolerations Tolerations for pod assignment
256## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
259## @param extraVolumes Array of extra volumes to be added to the Kong deployment deployment (evaluated as template). Requires setting `extraVolumeMounts`
262## @param initContainers Add additional init containers to the Kong pods
264## - name: your-image-name
266## imagePullPolicy: Always
269## containerPort: 1234
272## @param sidecars Add additional sidecar containers to the Kong pods
274## - name: your-image-name
276## imagePullPolicy: Always
279## containerPort: 1234
282## Add an horizontal pod autoscaler
283## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
284## @param autoscaling.enabled Deploy a HorizontalPodAutoscaler object for the Kong deployment
285## @param autoscaling.minReplicas Minimum number of replicas to scale back
286## @param autoscaling.maxReplicas Maximum number of replicas to scale out
287## @param autoscaling.metrics [array] Metrics to use when deciding to scale the deployment (evaluated as a template)
299 averageUtilization: 80
300## Kong Pod Disruption Budget
301## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
302## @param pdb.create Deploy a PodDisruptionBudget object for Kong deployment
303## @param pdb.minAvailable Minimum available Kong replicas (expressed in percentage)
304## @param pdb.maxUnavailable Maximum unavailable Kong replicas (expressed in percentage)
309 maxUnavailable: "50%"
310## @section Kong Container Parameters
313 ## @param kong.command Override default container command (useful when using custom images)
316 ## @param kong.args Override default container args (useful when using custom images)
319 ## @param kong.initScriptsCM Configmap with init scripts to execute
320 ## ConfigMap containing `/docker-entrypoint-initdb.d` scripts to be executed at initialization time (evaluated as a template)
323 ## @param kong.initScriptsSecret Configmap with init scripts to execute
324 ## Secret containing `/docker-entrypoint-initdb.d` scripts to be executed at initialization time (that contain sensitive data). Evaluated as a template.
326 initScriptsSecret: ""
327 ## @param kong.declarativeConfig Declarative configuration to be loaded by Kong (evaluated as a template)
328 ## https://docs.konghq.com/gateway/latest/production/deployment-topologies/db-less-and-declarative-config/
330 declarativeConfig: ""
331 ## @param kong.declarativeConfigCM Configmap with declarative configuration to be loaded by Kong (evaluated as a template)
332 ## https://docs.konghq.com/gateway/latest/production/deployment-topologies/db-less-and-declarative-config/
334 declarativeConfigCM: ""
335 ## @param kong.extraEnvVars Array containing extra env vars to configure Kong
338 ## - name: GF_DEFAULT_INSTANCE_NAME
339 ## value: my-instance
342 ## @param kong.extraEnvVarsCM ConfigMap containing extra env vars to configure Kong
345 ## @param kong.extraEnvVarsSecret Secret containing extra env vars to configure Kong (in case of sensitive data)
347 extraEnvVarsSecret: ""
348 ## @param kong.extraVolumeMounts Array of extra volume mounts to be added to the Kong Container (evaluated as template). Normally used with `extraVolumes`.
350 extraVolumeMounts: []
351 ## @param kong.containerPorts.proxyHttp Kong proxy HTTP container port
352 ## @param kong.containerPorts.proxyHttps Kong proxy HTTPS container port
353 ## @param kong.containerPorts.adminHttp Kong admin HTTP container port
354 ## @param kong.containerPorts.adminHttps Kong admin HTTPS container port
361 ## Container resource requests and limits
362 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
363 ## @param kong.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if kong.resources is set (kong.resources is recommended for production).
365 resourcesPreset: "medium"
366 ## @param kong.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
377 ## Configure extra options for Kong containers' liveness, readiness and startup probes
378 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
379 ## @param kong.livenessProbe.enabled Enable livenessProbe on Kong containers
380 ## @param kong.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
381 ## @param kong.livenessProbe.periodSeconds Period seconds for livenessProbe
382 ## @param kong.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
383 ## @param kong.livenessProbe.failureThreshold Failure threshold for livenessProbe
384 ## @param kong.livenessProbe.successThreshold Success threshold for livenessProbe
388 initialDelaySeconds: 120
393 ## @param kong.readinessProbe.enabled Enable readinessProbe on Kong containers
394 ## @param kong.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
395 ## @param kong.readinessProbe.periodSeconds Period seconds for readinessProbe
396 ## @param kong.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
397 ## @param kong.readinessProbe.failureThreshold Failure threshold for readinessProbe
398 ## @param kong.readinessProbe.successThreshold Success threshold for readinessProbe
402 initialDelaySeconds: 30
407 ## @param kong.startupProbe.enabled Enable startupProbe on Kong containers
408 ## @param kong.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
409 ## @param kong.startupProbe.periodSeconds Period seconds for startupProbe
410 ## @param kong.startupProbe.timeoutSeconds Timeout seconds for startupProbe
411 ## @param kong.startupProbe.failureThreshold Failure threshold for startupProbe
412 ## @param kong.startupProbe.successThreshold Success threshold for startupProbe
416 initialDelaySeconds: 10
421 ## @param kong.customLivenessProbe Override default liveness probe (kong container)
423 customLivenessProbe: {}
424 ## @param kong.customReadinessProbe Override default readiness probe (kong container)
426 customReadinessProbe: {}
427 ## @param kong.customStartupProbe Override default startup probe (kong container)
429 customStartupProbe: {}
430 ## @param kong.lifecycleHooks Lifecycle hooks (kong container)
431 ## ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
434## @section Traffic Exposure Parameters
440 ## @param service.type Kubernetes Service type
443 ## @param service.exposeAdmin Add the Kong Admin ports to the service
446 ## @param service.disableHttpPort Disable Kong proxy HTTP and Kong admin HTTP ports
448 disableHttpPort: false
449 ## @param service.ports.proxyHttp Kong proxy service HTTP port
450 ## @param service.ports.proxyHttps Kong proxy service HTTPS port
451 ## @param service.ports.adminHttp Kong admin service HTTP port (only if service.exposeAdmin=true)
452 ## @param service.ports.adminHttps Kong admin service HTTPS port (only if service.exposeAdmin=true)
459 ## @param service.nodePorts.proxyHttp NodePort for the Kong proxy HTTP endpoint
460 ## @param service.nodePorts.proxyHttps NodePort for the Kong proxy HTTPS endpoint
461 ## @param service.nodePorts.adminHttp NodePort for the Kong admin HTTP endpoint
462 ## @param service.nodePorts.adminHttps NodePort for the Kong admin HTTPS endpoint
463 ## NOTE: choose port between <30000-32767>
470 ## @param service.sessionAffinity Control where client requests go, to the same pod or round-robin
471 ## Values: ClientIP or None
472 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/
474 sessionAffinity: None
475 ## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
476 ## sessionAffinityConfig:
478 ## timeoutSeconds: 300
480 sessionAffinityConfig: {}
481 ## @param service.clusterIP Cluster internal IP of the service
482 ## This is the internal IP address of the service and is usually assigned randomly.
483 ## ref: https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/#ServiceSpec
486 ## @param service.externalTrafficPolicy external traffic policy managing client source IP preservation
487 ## default to "Cluster"
488 ## set to "Local" in order to preserve the client source IP (only on service of type LoadBalancer or NodePort)
489 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/
491 externalTrafficPolicy: ""
492 ## @param service.loadBalancerIP loadBalancerIP if kong service type is `LoadBalancer`
493 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
496 ## @param service.loadBalancerSourceRanges Kong service Load Balancer sources
497 ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
499 ## loadBalancerSourceRanges:
502 loadBalancerSourceRanges: []
503 ## @param service.annotations Annotations for Kong service
504 ## set the LoadBalancer service type to internal only.
505 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
508 ## @param service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
512## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
515 ## @param networkPolicy.enabled Specifies whether a NetworkPolicy should be created
518 ## @param networkPolicy.allowExternal Don't require server label for connections
519 ## The Policy model to apply. When set to false, only pods with the correct
520 ## server label will have network access to the ports server is listening
521 ## on. When true, server will accept connections from any source
522 ## (with the correct destination port).
525 ## @param networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
527 allowExternalEgress: true
528 ## @param networkPolicy.kubeAPIServerPorts [array] List of possible endpoints to kube-apiserver (limit to your cluster settings to increase security)
530 kubeAPIServerPorts: [443, 6443, 8443]
531 ## @param networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
541 ## - matchExpressions:
547 ## @param networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
557 ## - matchExpressions:
564 ## @param networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
565 ## @param networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
567 ingressNSMatchLabels: {}
568 ingressNSPodMatchLabels: {}
569## Configure the ingress resource that allows you to access the
570## Kong installation. Set up the URL
571## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
574 ## @param ingress.enabled Enable ingress controller resource
577 ## @param ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
578 ## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster.
579 ## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
582 ## @param ingress.pathType Ingress path type
584 pathType: ImplementationSpecific
585 ## @param ingress.apiVersion Force Ingress API version (automatically detected if not set)
588 ## @param ingress.hostname Default host for the ingress resource
591 ## @param ingress.path Ingress path
592 ## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
595 ## @param ingress.annotations [object] Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
596 ## Use this parameter to set the required annotations for cert-manager, see
597 ## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
600 ## kubernetes.io/ingress.class: nginx
601 ## cert-manager.io/cluster-issuer: cluster-issuer-name
604 ## @param ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
605 ## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
607 ## - Use the `ingress.secrets` parameter to create this TLS secret
608 ## - Rely on cert-manager to create it by setting the corresponding annotations
609 ## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
612 ## @param ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
615 ## @param ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
616 ## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
618 ## - name: kong.local
622 ## @param ingress.extraPaths Additional arbitrary path/backend objects
623 ## For example: The ALB ingress controller requires a special rule for handling SSL redirection.
627 ## serviceName: ssl-redirect
628 ## servicePort: use-annotation
631 ## @param ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
632 ## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
636 ## secretName: kong.local-tls
639 ## @param ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
640 ## key and certificate should start with -----BEGIN CERTIFICATE----- or
641 ## -----BEGIN RSA PRIVATE KEY-----
643 ## name should line up with a tlsSecret set further up
644 ## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
646 ## It is also possible to create and manage the certificates outside of this helm chart
647 ## Please see README.md for more information
650 ## - name: kong.local-tls
656 ## @param ingress.extraRules Additional rules to be covered with this ingress record
657 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
660 ## - host: example.local
670## @section Kong Ingress Controller Container Parameters
673 ## @param ingressController.enabled Enable/disable the Kong Ingress Controller
676 ## @param ingressController.image.registry [default: REGISTRY_NAME] Kong Ingress Controller image registry
677 ## @param ingressController.image.repository [default: REPOSITORY_NAME/kong-ingress-controller] Kong Ingress Controller image name
678 ## @skip ingressController.image.tag Kong Ingress Controller image tag
679 ## @param ingressController.image.digest Kong Ingress Controller image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
680 ## @param ingressController.image.pullPolicy Kong Ingress Controller image pull policy
681 ## @param ingressController.image.pullSecrets Specify docker-registry secret names as an array
685 repository: chainguard-private/kong-ingress-controller-iamguarded
688 ## Specify a imagePullPolicy
689 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
691 pullPolicy: IfNotPresent
692 ## Optionally specify an array of imagePullSecrets.
693 ## Secrets must be manually created in the namespace.
694 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
697 ## - myRegistryKeySecretName
700 ## @param ingressController.proxyReadyTimeout Maximum time (in seconds) to wait for the Kong container to be ready
702 proxyReadyTimeout: 300
703 ## @param ingressController.ingressClass Name of the class to register Kong Ingress Controller (useful when having other Ingress Controllers in the cluster)
706 ## @param ingressController.command Override default container command (useful when using custom images)
709 ## @param ingressController.args Override default container args (useful when using custom images)
712 ## @param ingressController.extraEnvVars Array containing extra env vars to configure Kong
715 ## - name: GF_DEFAULT_INSTANCE_NAME
716 ## value: my-instance
719 ## @param ingressController.extraEnvVarsCM ConfigMap containing extra env vars to configure Kong Ingress Controller
722 ## @param ingressController.extraEnvVarsSecret Secret containing extra env vars to configure Kong Ingress Controller (in case of sensitive data)
724 extraEnvVarsSecret: ""
725 ## @param ingressController.extraVolumeMounts Array of extra volume mounts to be added to the Kong Ingress Controller container (evaluated as template). Normally used with `extraVolumes`.
727 extraVolumeMounts: []
728 ## @param ingressController.containerPorts.health Kong Ingress Controller health container port
732 ## Container resource requests and limits
733 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
734 ## @param ingressController.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if ingressController.resources is set (ingressController.resources is recommended for production).
736 resourcesPreset: "nano"
737 ## @param ingressController.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
748 ## Configure extra options for Kong Ingress Controller containers' liveness, readiness and startup probes
749 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
750 ## @param ingressController.livenessProbe.enabled Enable livenessProbe on Kong Ingress Controller containers
751 ## @param ingressController.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
752 ## @param ingressController.livenessProbe.periodSeconds Period seconds for livenessProbe
753 ## @param ingressController.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
754 ## @param ingressController.livenessProbe.failureThreshold Failure threshold for livenessProbe
755 ## @param ingressController.livenessProbe.successThreshold Success threshold for livenessProbe
759 initialDelaySeconds: 120
764 ## @param ingressController.readinessProbe.enabled Enable readinessProbe on Kong Ingress Controller containers
765 ## @param ingressController.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
766 ## @param ingressController.readinessProbe.periodSeconds Period seconds for readinessProbe
767 ## @param ingressController.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
768 ## @param ingressController.readinessProbe.failureThreshold Failure threshold for readinessProbe
769 ## @param ingressController.readinessProbe.successThreshold Success threshold for readinessProbe
773 initialDelaySeconds: 30
778 ## @param ingressController.startupProbe.enabled Enable startupProbe on Kong Ingress Controller containers
779 ## @param ingressController.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
780 ## @param ingressController.startupProbe.periodSeconds Period seconds for startupProbe
781 ## @param ingressController.startupProbe.timeoutSeconds Timeout seconds for startupProbe
782 ## @param ingressController.startupProbe.failureThreshold Failure threshold for startupProbe
783 ## @param ingressController.startupProbe.successThreshold Success threshold for startupProbe
787 initialDelaySeconds: 10
792 ## @param ingressController.customLivenessProbe Override default liveness probe (Kong Ingress Controller container)
794 customLivenessProbe: {}
795 ## @param ingressController.customReadinessProbe Override default readiness probe (Kong Ingress Controller container)
797 customReadinessProbe: {}
798 ## @param ingressController.customStartupProbe Override default startup probe (Kong Ingress Controller container)
800 customStartupProbe: {}
801 ## @param ingressController.lifecycleHooks Lifecycle hooks (Kong Ingress Controller container)
802 ## ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
805 ## @param ingressController.serviceAccount.create Enable the creation of a ServiceAccount for Kong pods
806 ## @param ingressController.serviceAccount.name Name of the created ServiceAccount (name generated using common.names.fullname template otherwise)
807 ## @param ingressController.serviceAccount.automountServiceAccountToken Auto-mount the service account token in the pod
808 ## @param ingressController.serviceAccount.annotations Additional custom annotations for the ServiceAccount
813 automountServiceAccountToken: false
815 ## @param ingressController.rbac.create Create the necessary RBAC resources for the Ingress Controller to work
816 ## @param ingressController.rbac.rules Custom RBAC rules
831## @section Kong Migration job Parameters
834 ## In case you want to use a custom image for Kong migration, set this value
841 ## @param migration.command Override default container command (useful when using custom images)
844 ## @param migration.args Override default container args (useful when using custom images)
847 ## @param migration.extraEnvVars Array containing extra env vars to configure the Kong migration job
850 ## - name: GF_DEFAULT_INSTANCE_NAME
851 ## value: my-instance
854 ## @param migration.extraEnvVarsCM ConfigMap containing extra env vars to configure the Kong migration job
857 ## @param migration.extraEnvVarsSecret Secret containing extra env vars to configure the Kong migration job (in case of sensitive data)
859 extraEnvVarsSecret: ""
860 ## @param migration.extraVolumeMounts Array of extra volume mounts to be added to the Kong Container (evaluated as template). Normally used with `extraVolumes`.
862 extraVolumeMounts: []
863 ## Container resource requests and limits
864 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
865 ## @param migration.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if migration.resources is set (migration.resources is recommended for production).
867 resourcesPreset: "nano"
868 ## @param migration.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
879 ## @param migration.automountServiceAccountToken Mount Service Account token in pod
881 automountServiceAccountToken: true
882 ## @param migration.hostAliases Add deployment host aliases
883 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
886 ## @param migration.annotations [object] Add annotations to the job
889 helm.sh/hook: post-install, pre-upgrade
890 helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
891 ## @param migration.podLabels Additional pod labels
892 ## Ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
895 ## @param migration.podAnnotations Additional pod annotations
896 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
899## @section PostgreSQL Parameters
902## PostgreSQL chart configuration
903## @param postgresql.enabled Switch to enable or disable the PostgreSQL helm chart
904## @param postgresql.auth.postgresPassword Password for the "postgres" admin user
905## @param postgresql.auth.username Name for a custom user to create
906## @param postgresql.auth.password Password for the custom user to create
907## @param postgresql.auth.database Name for a custom database to create
908## @param postgresql.auth.existingSecret Name of existing secret to use for PostgreSQL credentials
909## @param postgresql.architecture PostgreSQL architecture (`standalone` or `replication`)
919 architecture: standalone
921 ## PostgreSQL Primary resource requests and limits
922 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
923 ## @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).
925 resourcesPreset: "nano"
926 ## @param postgresql.primary.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
937 ## External PostgreSQL configuration
938 ## All of these values are only used when postgresql.enabled is set to false
939 ## @param postgresql.external.host Database host
940 ## @param postgresql.external.port Database port number
941 ## @param postgresql.external.user Non-root username for Kong
942 ## @param postgresql.external.password Password for the non-root username for Kong
943 ## @param postgresql.external.database Kong database name
944 ## @param postgresql.external.existingSecret Name of an existing secret resource containing the database credentials
945 ## @param postgresql.external.existingSecretPasswordKey Name of an existing secret key containing the database credentials
954 existingSecretPasswordKey: ""
958 repository: chainguard-private/postgres-iamguarded
964 repository: chainguard-private/os-shell-iamguarded
966## @section Cassandra Parameters
969## Cassandra chart configuration
970## @param cassandra.enabled Switch to enable or disable the Cassandra helm chart
971## @param cassandra.dbUser.user Cassandra admin user
972## @param cassandra.dbUser.password Password for `cassandra.dbUser.user`. Randomly generated if empty
973## @param cassandra.dbUser.existingSecret Name of existing secret to use for Cassandra credentials
974## @param cassandra.replicaCount Number of Cassandra replicas
983 ## External Cassandra configuration
984 ## All of these values are only used when cassandra.enabled is set to false
985 ## @param cassandra.external.hosts List of Cassandra hosts
986 ## @param cassandra.external.port Cassandra port number
987 ## @param cassandra.external.user Username of the external cassandra installation
988 ## @param cassandra.external.password Password of the external cassandra installation
989 ## @param cassandra.external.existingSecret Name of an existing secret resource containing the Cassandra credentials
990 ## @param cassandra.external.existingSecretPasswordKey Name of an existing secret key containing the Cassandra credentials
998 existingSecretPasswordKey: ""
999 ## Cassandra pods' resource requests and limits
1000 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1001 ## Minimum memory for development is 4GB and 2 CPU cores
1002 ## Minimum memory for production is 8GB and 4 CPU cores
1003 ## ref: http://docs.datastax.com/en/archived/cassandra/2.0/cassandra/architecture/architecturePlanningHardware_c.html
1005 ## We usually recommend not to specify default resources and to leave this as a conscious
1006 ## choice for the user. This also increases chances charts run on environments with little
1007 ## resources, such as Minikube. If you do want to specify resources, uncomment the following
1008 ## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
1009 ## @param cassandra.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production).
1011 resourcesPreset: "large"
1012 ## @param cassandra.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1026 repository: chainguard-private/cassandra-iamguarded
1028## @section Metrics Parameters
1031## Prometheus metrics
1034 ## @param metrics.enabled Enable the export of Prometheus metrics
1037 ## @param metrics.containerPorts.http Prometheus metrics HTTP container port
1041 ## Kong metrics service configuration
1044 ## @param metrics.service.sessionAffinity Control where client requests go, to the same pod or round-robin
1045 ## Values: ClientIP or None
1046 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/
1048 sessionAffinity: None
1049 ## @param metrics.service.clusterIP Cluster internal IP of the service
1050 ## This is the internal IP address of the service and is usually assigned randomly.
1051 ## ref: https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/#ServiceSpec
1054 ## @param metrics.service.annotations [object] Annotations for Prometheus metrics service
1057 prometheus.io/scrape: "true"
1058 prometheus.io/port: "{{ coalesce .Values.metrics.service.ports.http .Values.metrics.service.port }}"
1059 prometheus.io/path: "/metrics"
1060 ## @param metrics.service.ports.http Prometheus metrics service HTTP port
1064 ## Kong ServiceMonitor configuration
1067 ## @param metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using PrometheusOperator
1070 ## @param metrics.serviceMonitor.namespace Namespace which Prometheus is running in
1073 ## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped
1076 ## @param metrics.serviceMonitor.scrapeTimeout Specify the timeout after which the scrape is ended
1078 ## scrapeTimeout: 30s
1081 ## @param metrics.serviceMonitor.labels Additional labels that can be used so ServiceMonitor will be discovered by Prometheus
1084 ## @param metrics.serviceMonitor.selector Prometheus instance selector labels
1087 ## @param metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
1090 ## @param metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
1092 metricRelabelings: []
1093 ## @param metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
1096 ## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
1099 ## @param metrics.serviceMonitor.serviceAccount Service account used by Prometheus Operator
1102 ## @param metrics.serviceMonitor.rbac.create Create the necessary RBAC resources so Prometheus Operator can reach Kong's namespace