## @section Global parameters ## Global Docker image parameters ## Please, note that this will override the image parameters, including dependencies, configured to use the global value ## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass ## @param global.imageRegistry Global Docker image registry ## @param global.imagePullSecrets Global Docker registry secret names as an array ## global: imageRegistry: "" ## E.g. ## imagePullSecrets: ## - myRegistryKeySecretName ## imagePullSecrets: [] ## @section Common parameters ## @param nameOverride String to partially override common.names.fullname ## nameOverride: "" ## @param fullnameOverride String to fully override common.names.fullname ## fullnameOverride: "" ## @param commonLabels Add labels to all the deployed resources ## commonLabels: {} ## @param commonAnnotations Add annotations to all the deployed resources ## commonAnnotations: {} ## @param extraDeploy Array of extra objects to deploy with the release ## extraDeploy: [] ## @section Nginx Ingress Controller parameters ## Bitnami NGINX Ingress controller image version ## ref: https://hub.docker.com/r/bitnami/nginx-ingress-controller/tags/ ## @param image.registry Nginx Ingress Controller image registry ## @param image.repository Nginx Ingress Controller image repository ## @param image.tag Nginx Ingress Controller image tag (immutable tags are recommended) ## @param image.pullPolicy Nginx Ingress Controller image pull policy ## @param image.pullSecrets Specify docker-registry secret names as an array ## image: registry: docker.io repository: bitnami/nginx-ingress-controller tag: 1.1.0-debian-10-r0 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' ## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images ## pullPolicy: IfNotPresent ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ ## Example: ## pullSecrets: ## - myRegistryKeySecretName ## pullSecrets: [] ## @param containerPorts [object] Controller container ports to open ## containerPorts: http: 80 https: 443 metrics: 10254 ## @param hostAliases Deployment pod host aliases ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ ## hostAliases: [] ## @param config Custom configuration options for NGINX ## ref: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/ ## config: {} ## @param proxySetHeaders Custom headers before sending traffic to backends ## ref: https://github.com/kubernetes/ingress-nginx/tree/master/docs/examples/customization/custom-headers ## proxySetHeaders: {} ## @param addHeaders Custom headers before sending response traffic to the client ## ref: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#add-headers ## addHeaders: {} ## @param defaultBackendService Default 404 backend service; required only if `defaultBackend.enabled = false` ## Must be / ## defaultBackendService: "" ## @param electionID Election ID to use for status update ## electionID: ingress-controller-leader ## @param reportNodeInternalIp If using `hostNetwork=true`, setting `reportNodeInternalIp=true`, will pass the flag `report-node-internal-ip-address` to Nginx Ingress Controller ## Bare-metal considerations via the host network ## ref: https://kubernetes.github.io/ingress-nginx/deploy/baremetal/#via-the-host-network ## reportNodeInternalIp: false ## @param watchIngressWithoutClass Process Ingress objects without ingressClass annotation/ingressClassName field ## watchIngressWithoutClass: false ## Configuring this doesn't affect `kubernetes.io/ingress.class` annotation. See `extraArgs` below how to configure processing of custom annotation. ## @param ingressClassResource.name Name of the IngressClass resource ## @param ingressClassResource.enabled Create the IngressClass resource ## @param ingressClassResource.default Set the created IngressClass resource as default class ## @param ingressClassResource.controllerClass IngressClass identifier for the controller ## @param ingressClassResource.parameters Optional parameters for the controller ## ingressClassResource: name: nginx enabled: true default: false controllerClass: "k8s.io/ingress-nginx" parameters: {} ## Allows customization of the external service ## the ingress will be bound to via DNS ## publishService: ## @param publishService.enabled Set the endpoint records on the Ingress objects to reflect those on the service ## enabled: false ## @param publishService.pathOverride Allows overriding of the publish service to bind to ## Must be / ## pathOverride: "" ## @param scope.enabled Limit the scope of the controller. Defaults to `.Release.Namespace` ## scope: enabled: false ## @param configMapNamespace Allows customization of the configmap / nginx-configmap namespace ## Defaults to .Release.Namespace ## configMapNamespace: "" ## @param tcpConfigMapNamespace Allows customization of the tcp-services-configmap namespace ## Defaults to .Release.Namespace ## tcpConfigMapNamespace: "" ## @param udpConfigMapNamespace Allows customization of the udp-services-configmap namespace ## Defaults to .Release.Namespace ## udpConfigMapNamespace: "" ## @param maxmindLicenseKey License key used to download Geolite2 database ## maxmindLicenseKey: "" ## @param dhParam A base64ed Diffie-Hellman parameter ## This can be generated with: openssl dhparam 4096 2> / ## Ref: https://github.com/krmichel/ingress-nginx/blob/master/docs/examples/customization/ssl-dh-param dhParam: "" ## @param tcp TCP service key:value pairs ## ref: https://github.com/kubernetes/contrib/tree/master/ingress/controllers/nginx/examples/tcp ## e.g: ## tcp: ## 8080: "default/example-tcp-svc:9000" ## tcp: {} ## @param udp UDP service key:value pairs ## ref: https://github.com/kubernetes/contrib/tree/master/ingress/controllers/nginx/examples/udp ## e.g: ## udp: ## 53: "kube-system/kube-dns:53" ## udp: {} ## @param command Override default container command (useful when using custom images) ## command: [] ## @param args Override default container args (useful when using custom images) ## args: [] ## @param extraArgs Additional command line arguments to pass to nginx-ingress-controller ## E.g. to specify the default SSL certificate you can use ## extraArgs: ## default-ssl-certificate: "/" ## ingress-class: nginx ## extraArgs: {} ## @param extraEnvVars Extra environment variables to be set on Nginx Ingress container ## E.g: ## extraEnvs: ## - name: FOO ## valueFrom: ## secretKeyRef: ## key: FOO ## name: secret-resource ## extraEnvVars: [] ## @param extraEnvVarsCM Name of a existing ConfigMap containing extra environment variables ## extraEnvVarsCM: "" ## @param extraEnvVarsSecret Name of a existing Secret containing extra environment variables ## extraEnvVarsSecret: "" ## @section Nginx Ingress deployment / daemonset parameters ## @param kind Install as Deployment or DaemonSet ## kind: Deployment ## Daemonset configuration ## daemonset: ## @param daemonset.useHostPort If `kind` is `DaemonSet`, this will enable `hostPort` for `TCP/80` and `TCP/443` ## useHostPort: false ## @param daemonset.hostPorts [object] HTTP and HTTPS ports ## hostPorts: http: 80 https: 443 ## @param replicaCount Desired number of Controller pods ## replicaCount: 1 ## @param updateStrategy Strategy to use to update Pods ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies ## updateStrategy: {} ## @param revisionHistoryLimit The number of old history to retain to allow rollback ## revisionHistoryLimit: 10 ## Controller pods' Security Context ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod ## @param podSecurityContext.enabled Enable Controller pods' Security Context ## @param podSecurityContext.fsGroup Group ID for the container filesystem ## podSecurityContext: enabled: true fsGroup: 1001 ## Controller containers' Security Context (only main container) ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container ## @param containerSecurityContext.enabled Enable Controller containers' Security Context ## @param containerSecurityContext.allowPrivilegeEscalation Switch to allow priviledge escalation on the Controller container ## @param containerSecurityContext.runAsUser User ID for the Controller container ## @param containerSecurityContext.capabilities.drop [array] Linux Kernel capabilities that should be dropped ## @param containerSecurityContext.capabilities.add [array] Linux Kernel capabilities that should be added ## containerSecurityContext: enabled: true allowPrivilegeEscalation: true runAsUser: 1001 capabilities: drop: ["ALL"] add: ["NET_BIND_SERVICE"] ## @param minReadySeconds How many seconds a pod needs to be ready before killing the next, during update ## minReadySeconds: 0 ## Controller containers' resource requests and limits ## ref: https://kubernetes.io/docs/user-guide/compute-resources ## We usually recommend not to specify default resources and to leave this as a conscious ## choice for the user. This also increases chances charts run on environments with little ## resources, such as Minikube. If you do want to specify resources, uncomment the following ## lines, adjust them as necessary, and remove the curly braces after 'resources:'. ## @param resources.limits The resources limits for the Controller container ## @param resources.requests The requested resources for the Controller container ## resources: ## Example: ## limits: ## cpu: 250m ## memory: 256Mi limits: {} ## Examples: ## requests: ## cpu: 250m ## memory: 256Mi requests: {} ## Controller containers' liveness probe. Evaluated as a template. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes ## @param livenessProbe.enabled Enable livenessProbe ## @param livenessProbe.httpGet.path Request path for livenessProbe ## @param livenessProbe.httpGet.port Port for livenessProbe ## @param livenessProbe.httpGet.scheme Scheme for livenessProbe ## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe ## @param livenessProbe.periodSeconds Period seconds for livenessProbe ## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe ## @param livenessProbe.failureThreshold Failure threshold for livenessProbe ## @param livenessProbe.successThreshold Success threshold for livenessProbe ## livenessProbe: enabled: true httpGet: path: /healthz port: 10254 scheme: HTTP failureThreshold: 3 initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 1 ## Controller containers' readiness probe. Evaluated as a template. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes ## @param readinessProbe.enabled Enable readinessProbe ## @param readinessProbe.httpGet.path Request path for readinessProbe ## @param readinessProbe.httpGet.port Port for readinessProbe ## @param readinessProbe.httpGet.scheme Scheme for readinessProbe ## @param readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe ## @param readinessProbe.periodSeconds Period seconds for readinessProbe ## @param readinessProbe.timeoutSeconds Timeout seconds for readinessProbe ## @param readinessProbe.failureThreshold Failure threshold for readinessProbe ## @param readinessProbe.successThreshold Success threshold for readinessProbe ## readinessProbe: enabled: true httpGet: path: /healthz port: 10254 scheme: HTTP failureThreshold: 3 initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 1 ## @param customLivenessProbe Override default liveness probe ## customLivenessProbe: {} ## @param customReadinessProbe Override default readiness probe ## customReadinessProbe: {} ## @param lifecycle LifecycleHooks to set additional configuration at startup ## lifecycle: {} ## @param podLabels Extra labels for Controller pods ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ ## podLabels: {} ## @param podAnnotations Annotations for Controller pods ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ ## podAnnotations: {} ## @param priorityClassName Controller priorityClassName ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass ## priorityClassName: "" ## @param hostNetwork If the Nginx deployment / daemonset should run on the host's network namespace ## Required on CNI based K8s installations, since CNI and hostport don't mix yet ## Can be deprecated once https://github.com/kubernetes/kubernetes/issues/23920 is merged ## hostNetwork: false ## @param dnsPolicy By default, while using host network, name resolution uses the host's DNS ## Optionally, change this to ClusterFirstWithHostNet in case you have 'hostNetwork: true' if you wish nginx-controller ## to keep resolving names inside the Kubernetes network ## dnsPolicy: ClusterFirst ## @param terminationGracePeriodSeconds How many seconds to wait before terminating a pod ## terminationGracePeriodSeconds: 60 ## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity ## podAffinityPreset: "" ## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity ## podAntiAffinityPreset: soft ## Node affinity preset ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity ## nodeAffinityPreset: ## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` ## type: "" ## @param nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set. ## E.g. ## key: "kubernetes.io/e2e-az-name" ## key: "" ## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set. ## E.g. ## values: ## - e2e-az1 ## - e2e-az2 ## values: [] ## @param affinity Affinity for pod assignment. Evaluated as a template. ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity ## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set ## affinity: {} ## @param nodeSelector Node labels for pod assignment. Evaluated as a template. ## ref: https://kubernetes.io/docs/user-guide/node-selection/ ## nodeSelector: {} ## @param tolerations Tolerations for pod assignment. Evaluated as a template. ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ ## tolerations: [] ## @param extraVolumes Optionally specify extra list of additional volumes for Controller pods ## extraVolumes: [] ## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts for Controller container(s) ## extraVolumeMounts: [] ## @param initContainers Add init containers to the controller pods ## Example: ## initContainers: ## - name: your-image-name ## image: your-image ## imagePullPolicy: Always ## ports: ## - name: portname ## containerPort: 1234 ## initContainers: [] ## @param sidecars Add sidecars to the controller pods. ## Example: ## sidecars: ## - name: your-image-name ## image: your-image ## imagePullPolicy: Always ## ports: ## - name: portname ## containerPort: 1234 ## sidecars: [] ## @param customTemplate [object] Override NGINX template ## customTemplate: configMapName: "" configMapKey: "" ## @param topologySpreadConstraints Topology spread constraints rely on node labels to identify the topology domain(s) that each Node is in ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ ## ## topologySpreadConstraints: ## - maxSkew: 1 ## topologyKey: failure-domain.beta.kubernetes.io/zone ## whenUnsatisfiable: DoNotSchedule ## labelSelector: ## matchLabels: ## app.kubernetes.io/instance: ingress-nginx-internal ## topologySpreadConstraints: [] ## @param podSecurityPolicy.enabled Whether to create a PodSecurityPolicy. WARNING: PodSecurityPolicy is deprecated in Kubernetes v1.21 or later, unavailable in v1.25 or later ## https://kubernetes.io/docs/concepts/policy/pod-security-policy/ ## podSecurityPolicy: enabled: false ## @section Default backend parameters ## Default 404 backend ## defaultBackend: ## @param defaultBackend.enabled Enable a default backend based on NGINX ## enabled: true ## @param defaultBackend.hostAliases Add deployment host aliases ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ ## hostAliases: [] ## Bitnami NGINX image ## ref: https://hub.docker.com/r/bitnami/nginx/tags/ ## @param defaultBackend.image.registry Default backend image registry ## @param defaultBackend.image.repository Default backend image repository ## @param defaultBackend.image.tag Default backend image tag (immutable tags are recommended) ## @param defaultBackend.image.pullPolicy Image pull policy ## @param defaultBackend.image.pullSecrets Specify docker-registry secret names as an array ## image: registry: docker.io repository: bitnami/nginx tag: 1.21.4-debian-10-r19 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' ## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images ## pullPolicy: IfNotPresent ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ ## Example: ## pullSecrets: ## - myRegistryKeySecretName ## pullSecrets: [] ## @param defaultBackend.extraArgs Additional command line arguments to pass to Nginx container ## extraArgs: {} ## @param defaultBackend.containerPort HTTP container port number ## containerPort: 8080 ## @param defaultBackend.serverBlockConfig [string] NGINX backend default server block configuration ## Should be compliant with: https://kubernetes.github.io/ingress-nginx/user-guide/default-backend/ ## serverBlockConfig: |- location /healthz { return 200; } location / { return 404; } ## @param defaultBackend.replicaCount Desired number of default backend pods ## replicaCount: 1 ## Default backend pods' Security Context ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod ## @param defaultBackend.podSecurityContext.enabled Enable Default backend pods' Security Context ## @param defaultBackend.podSecurityContext.fsGroup Group ID for the container filesystem ## podSecurityContext: enabled: true fsGroup: 1001 ## Default backend containers' Security Context (only main container) ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container ## @param defaultBackend.containerSecurityContext.enabled Enable Default backend containers' Security Context ## @param defaultBackend.containerSecurityContext.runAsUser User ID for the Default backend container ## containerSecurityContext: enabled: true runAsUser: 1001 ## Default backend containers' resource requests and limits ## ref: https://kubernetes.io/docs/user-guide/compute-resources ## We usually recommend not to specify default resources and to leave this as a conscious ## choice for the user. This also increases chances charts run on environments with little ## resources, such as Minikube. If you do want to specify resources, uncomment the following ## lines, adjust them as necessary, and remove the curly braces after 'resources:'. ## @param defaultBackend.resources.limits The resources limits for the Default backend container ## @param defaultBackend.resources.requests The requested resources for the Default backend container ## resources: ## Example: ## limits: ## cpu: 250m ## memory: 256Mi limits: {} ## Examples: ## requests: ## cpu: 250m ## memory: 256Mi requests: {} ## Default backend containers' liveness probe. Evaluated as a template. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes ## @param defaultBackend.livenessProbe.enabled Enable livenessProbe ## @param defaultBackend.livenessProbe.httpGet.path Request path for livenessProbe ## @param defaultBackend.livenessProbe.httpGet.port Port for livenessProbe ## @param defaultBackend.livenessProbe.httpGet.scheme Scheme for livenessProbe ## @param defaultBackend.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe ## @param defaultBackend.livenessProbe.periodSeconds Period seconds for livenessProbe ## @param defaultBackend.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe ## @param defaultBackend.livenessProbe.failureThreshold Failure threshold for livenessProbe ## @param defaultBackend.livenessProbe.successThreshold Success threshold for livenessProbe ## livenessProbe: enabled: true httpGet: path: /healthz port: http scheme: HTTP failureThreshold: 3 initialDelaySeconds: 30 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 5 ## Default backend containers' readiness probe. Evaluated as a template. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes ## @param defaultBackend.readinessProbe.enabled Enable readinessProbe ## @param defaultBackend.readinessProbe.httpGet.path Request path for readinessProbe ## @param defaultBackend.readinessProbe.httpGet.port Port for readinessProbe ## @param defaultBackend.readinessProbe.httpGet.scheme Scheme for readinessProbe ## @param defaultBackend.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe ## @param defaultBackend.readinessProbe.periodSeconds Period seconds for readinessProbe ## @param defaultBackend.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe ## @param defaultBackend.readinessProbe.failureThreshold Failure threshold for readinessProbe ## @param defaultBackend.readinessProbe.successThreshold Success threshold for readinessProbe ## readinessProbe: enabled: true httpGet: path: /healthz port: http scheme: HTTP failureThreshold: 6 initialDelaySeconds: 0 periodSeconds: 5 successThreshold: 1 timeoutSeconds: 5 ## @param defaultBackend.podLabels Extra labels for Controller pods ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ ## podLabels: {} ## @param defaultBackend.podAnnotations Annotations for Controller pods ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ ## podAnnotations: {} ## @param defaultBackend.priorityClassName priorityClassName ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass ## priorityClassName: "" ## @param defaultBackend.podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity ## podAffinityPreset: "" ## @param defaultBackend.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity ## podAntiAffinityPreset: soft ## Node affinity preset ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity ## nodeAffinityPreset: ## @param defaultBackend.nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` ## type: "" ## @param defaultBackend.nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set. ## E.g. ## key: "kubernetes.io/e2e-az-name" ## key: "" ## @param defaultBackend.nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set. ## E.g. ## values: ## - e2e-az1 ## - e2e-az2 ## values: [] ## @param defaultBackend.affinity Affinity for pod assignment ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity ## Note: defaultBackend.podAffinityPreset, defaultBackend.podAntiAffinityPreset, and defaultBackend.nodeAffinityPreset will be ignored when it's set ## affinity: {} ## @param defaultBackend.nodeSelector Node labels for pod assignment ## ref: https://kubernetes.io/docs/user-guide/node-selection/ ## nodeSelector: {} ## @param defaultBackend.tolerations Tolerations for pod assignment ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ ## tolerations: [] ## Default backend Service parameters ## service: ## @param defaultBackend.service.type Kubernetes Service type for default backend ## type: ClusterIP ## @param defaultBackend.service.port Default backend service port ## port: 80 ## Default backend Pod Disruption Budget configuration ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/ ## pdb: ## @param defaultBackend.pdb.create Enable/disable a Pod Disruption Budget creation for Default backend ## create: false ## @param defaultBackend.pdb.minAvailable Minimum number/percentage of Default backend pods that should remain scheduled ## minAvailable: 1 ## @param defaultBackend.pdb.maxUnavailable Maximum number/percentage of Default backend pods that may be made unavailable ## maxUnavailable: "" ## @section Traffic exposure parameters ## Service parameters ## service: ## @param service.type Kubernetes Service type for Controller ## type: LoadBalancer ## @param service.ports [object] Service ports ## ports: http: 80 https: 443 ## @param service.targetPorts [object] Map the controller service HTTP/HTTPS port ## targetPorts: http: http https: https ## @param service.nodePorts [object] Specify the nodePort value(s) for the LoadBalancer and NodePort service types. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport ## nodePorts: http: "" https: "" tcp: {} udp: {} ## @param service.annotations Annotations for controller service ## This can be used to set the LoadBalancer service type to internal only. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer ## annotations: {} ## @param service.labels Labels for controller service ## labels: {} ## @param service.clusterIP Controller Internal Cluster Service IP (optional) ## clusterIP: "" ## @param service.externalIPs Controller Service external IP addresses ## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips ## externalIPs: [] ## @param service.loadBalancerIP Kubernetes LoadBalancerIP to request for Controller (optional, cloud specific) ## ref: https://kubernetes.io/docs/user-guide/services/#type-loadbalancer ## loadBalancerIP: "" ## @param service.loadBalancerSourceRanges List of IP CIDRs allowed access to load balancer (if supported) ## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service ## loadBalancerSourceRanges: [] ## @param service.externalTrafficPolicy Set external traffic policy to: "Local" to preserve source IP on providers supporting it ## Enable client source IP preservation ## Ref: https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typeloadbalancer ## externalTrafficPolicy: "" ## @param service.healthCheckNodePort Set this to the managed health-check port the kube-proxy will expose. If blank, a random port in the `NodePort` range will be assigned ## healthCheckNodePort: 0 ## @section RBAC parameters ## Pods Service Account ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ ## serviceAccount: ## @param serviceAccount.create Enable the creation of a ServiceAccount for Controller pods ## create: true ## @param serviceAccount.name Name of the created ServiceAccount ## If not set and create is true, a name is generated using the metrics-server.fullname template name: "" ## @param serviceAccount.annotations Annotations for service account. ## Only used if `create` is `true`. ## annotations: {} ## Role Based Access ## Ref: https://kubernetes.io/docs/admin/authorization/rbac/ ## rbac: ## @param rbac.create Specifies whether RBAC rules should be created ## create: true ## @section Other parameters ## Controller Pod Disruption Budget configuration ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/ ## pdb: ## @param pdb.create Enable/disable a Pod Disruption Budget creation for Controller ## create: false ## @param pdb.minAvailable Minimum number/percentage of Controller pods that should remain scheduled ## minAvailable: 1 ## @param pdb.maxUnavailable Maximum number/percentage of Controller pods that may be made unavailable ## maxUnavailable: "" ## Controller Autoscaling configuration ## @param autoscaling.enabled Enable autoscaling for Controller ## @param autoscaling.minReplicas Minimum number of Controller replicas ## @param autoscaling.maxReplicas Maximum number of Controller replicas ## @param autoscaling.targetCPU Target CPU utilization percentage ## @param autoscaling.targetMemory Target Memory utilization percentage ## autoscaling: enabled: false minReplicas: 1 maxReplicas: 11 targetCPU: "" targetMemory: "" ## @section Metrics parameters ## Prometheus exporter parameters ## metrics: ## @param metrics.enabled Enable exposing Controller statistics ## enabled: false ## Prometheus exporter service parameters ## service: ## @param metrics.service.type Type of Prometheus metrics service to create ## type: ClusterIP ## @param metrics.service.port Service HTTP management port ## port: 9913 ## @param metrics.service.annotations [object] Annotations for the Prometheus exporter service ## annotations: prometheus.io/scrape: "true" prometheus.io/port: "{{ .Values.metrics.service.port }}" ## Prometheus Operator ServiceMonitor configuration ## serviceMonitor: ## @param metrics.serviceMonitor.enabled Create ServiceMonitor resource for scraping metrics using PrometheusOperator ## enabled: false ## @param metrics.serviceMonitor.namespace Namespace in which Prometheus is running ## namespace: "" ## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint ## interval: 30s ## @param metrics.serviceMonitor.scrapeTimeout Specify the timeout after which the scrape is ended ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint ## e.g: ## scrapeTimeout: 10s ## scrapeTimeout: "" ## @param metrics.serviceMonitor.selector ServiceMonitor selector labels ## ref: https://github.com/bitnami/charts/tree/master/bitnami/prometheus-operator#prometheus-configuration ## e.g: ## selector: ## prometheus: my-prometheus ## selector: {} ## @param metrics.prometheusRule.enabled Create PrometheusRules resource for scraping metrics using PrometheusOperator ## @param metrics.prometheusRule.additionalLabels Used to pass Labels that are required by the Installed Prometheus Operator ## @param metrics.prometheusRule.namespace Namespace which Prometheus is running in ## @param metrics.prometheusRule.rules Rules to be prometheus in YAML format, check values for an example ## prometheusRule: enabled: false additionalLabels: {} namespace: "" rules: []