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## Global Docker image parameters
11## Please, note that this will override the image parameters, including dependencies, configured to use the global value
12## Current available global Docker image parameters: imageRegistry and imagePullSecrets
13## @section Global parameters
14## @param global.imageRegistry Global Docker image registry
15## @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.
16## @param global.imagePullSecrets Global Docker registry secret names as an array
17## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
18## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
24 defaultStorageClass: ""
26 ## Security parameters
29 ## @param global.security.allowInsecureImages Allows skipping image verification
30 allowInsecureImages: false
31 ## Compatibility adaptations for Kubernetes platforms
34 ## Compatibility adaptations for Openshift
37 ## @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)
39 adaptSecurityContext: auto
41## @section Common parameters
43## @param kubeVersion Override Kubernetes version
46## @param nameOverride String to partially override common.names.fullname
49## @param fullnameOverride String to fully override common.names.fullname
52## @param commonLabels Labels to add to all deployed objects
55## @param commonAnnotations Annotations to add to all deployed objects
58## @param extraDeploy Array of extra objects to deploy with the release
61## @param logLevel Set up cert-manager log level
64## @param clusterResourceNamespace Namespace used to store DNS provider credentials etc. for ClusterIssuer resources. If empty, uses the namespace where the controller is deployed.
66clusterResourceNamespace: ""
67## @param leaderElection.namespace Namespace which leaderElection works.
70 namespace: "kube-system"
71## @param installCRDs Flag to install cert-manager CRDs
74## @param replicaCount Number of cert-manager replicas
77## @section Controller deployment parameters
79## Controller deployment parameters
82 ## @param controller.replicaCount Number of Controller replicas
85 ## Iamguarded cert-manager image
86 ## @param controller.image.registry [default: REGISTRY_NAME] Controller image registry
87 ## @param controller.image.repository [default: REPOSITORY_NAME/cert-manager] Controller image repository
88 ## @skip controller.image.tag Controller image tag (immutable tags are recommended)
89 ## @param controller.image.digest Controller image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
90 ## @param controller.image.pullPolicy Controller image pull policy
91 ## @param controller.image.pullSecrets Controller image pull secrets
92 ## @param controller.image.debug Controller image debug mode
96 repository: chainguard-private/cert-manager-controller-iamguarded
99 ## Specify a imagePullPolicy
100 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
103 pullPolicy: IfNotPresent
104 ## Optionally specify an array of imagePullSecrets.
105 ## Secrets must be manually created in the namespace.
106 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
109 ## - myRegistryKeySecretName
112 ## Set to true if you would like to see extra information on logs
116 ## @param controller.acmesolver.image.registry [default: REGISTRY_NAME] Controller image registry
117 ## @param controller.acmesolver.image.repository [default: REPOSITORY_NAME/acmesolver] Controller image repository
118 ## @skip controller.acmesolver.image.tag Controller image tag (immutable tags are recommended)
119 ## @param controller.acmesolver.image.digest Controller image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
120 ## @param controller.acmesolver.image.pullPolicy Controller image pull policy
121 ## @param controller.acmesolver.image.pullSecrets Controller image pull secrets
122 ## @param controller.acmesolver.image.debug Controller image debug mode
126 repository: chainguard-private/cert-manager-acmesolver-iamguarded
129 ## Specify a imagePullPolicy
130 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
132 pullPolicy: IfNotPresent
133 ## Optionally specify an array of imagePullSecrets.
134 ## Secrets must be manually created in the namespace.
135 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
138 ## - myRegistryKeySecretName
141 ## Set to true if you would like to see extra information on logs
144 ## Controller containers' resource requests and limits
145 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
146 ## @param controller.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if controller.resources is set (controller.resources is recommended for production).
148 resourcesPreset: "nano"
149 ## @param controller.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
160 ## controller pods' Security Context
161 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
162 ## @param controller.podSecurityContext.enabled Enabled Controller pods' Security Context
163 ## @param controller.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
164 ## @param controller.podSecurityContext.sysctls Set kernel settings using the sysctl interface
165 ## @param controller.podSecurityContext.supplementalGroups Set filesystem extra groups
166 ## @param controller.podSecurityContext.fsGroup Set Controller pod's Security Context fsGroup
170 fsGroupChangePolicy: Always
172 supplementalGroups: []
174 ## controller containers' Security Context
175 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
176 ## @param controller.containerSecurityContext.enabled Enabled controller containers' Security Context
177 ## @param controller.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
178 ## @param controller.containerSecurityContext.runAsUser Set controller containers' Security Context runAsUser
179 ## @param controller.containerSecurityContext.runAsGroup Set controller containers' Security Context runAsGroup
180 ## @param controller.containerSecurityContext.runAsNonRoot Set controller containers' Security Context runAsNonRoot
181 ## @param controller.containerSecurityContext.readOnlyRootFilesystem Set read only root file system pod's Security Conte
182 ## @param controller.containerSecurityContext.privileged Set controller container's Security Context privileged
183 ## @param controller.containerSecurityContext.allowPrivilegeEscalation Set controller container's Security Context allowPrivilegeEscalation
184 ## @param controller.containerSecurityContext.capabilities.drop List of capabilities to be dropped
185 ## @param controller.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
187 containerSecurityContext:
194 allowPrivilegeEscalation: false
198 type: "RuntimeDefault"
199 readOnlyRootFilesystem: true
200 ## @param controller.podAffinityPreset Pod affinity preset. Ignored if `controller.affinity` is set. Allowed values: `soft` or `hard`
201 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
203 podAffinityPreset: ""
204 ## @param controller.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `controller.affinity` is set. Allowed values: `soft` or `hard`
205 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
207 podAntiAffinityPreset: soft
208 ## Node affinity preset
209 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
210 ## @param controller.nodeAffinityPreset.type Node affinity preset type. Ignored if `controller.affinity` is set. Allowed values: `soft` or `hard`
211 ## @param controller.nodeAffinityPreset.key Node label key to match. Ignored if `controller.affinity` is set
212 ## @param controller.nodeAffinityPreset.values Node label values to match. Ignored if `controller.affinity` is set
223 ## @param controller.affinity Affinity for cert-manager Controller
224 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
225 ## NOTE: `controller.podAffinityPreset`, `controller.podAntiAffinityPreset`, and `controller.nodeAffinityPreset` will be ignored when it's set
228 ## @param controller.nodeSelector Node labels for pod assignment
229 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
232 ## Controller Container port
233 ## @param controller.containerPorts.http Controller HTTP container port
234 ## @param controller.containerPorts.health Controller Health container port
239 ## @param controller.command Override Controller default command
242 ## @param controller.args Override Controller default args
245 ## @param controller.priorityClassName Controller pod priority class name
247 priorityClassName: ""
248 ## @param controller.runtimeClassName Name of the runtime class to be used by pod(s)
249 ## ref: https://kubernetes.io/docs/concepts/containers/runtime-class/
252 ## @param controller.schedulerName Name of the k8s scheduler (other than default)
253 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
256 ## @param controller.topologySpreadConstraints Topology Spread Constraints for pod assignment
257 ## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
258 ## The value is evaluated as a template
260 topologySpreadConstraints: []
261 ## @param controller.automountServiceAccountToken Mount Service Account token in pod
263 automountServiceAccountToken: true
264 ## @param controller.hostAliases Custom host aliases for Controller pods
265 ## ref: https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
268 ## @param controller.tolerations Tolerations for pod assignment
269 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
272 ## @param controller.podLabels Extra labels for Controller pods
273 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
276 ## @param controller.podAnnotations Annotations for Controller pods
277 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
280 ## @param controller.dnsPolicy Controller pod DNS policy
281 ## Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
284 ## @param controller.dnsConfig Controller pod DNS config. Required if `controller.dnsPolicy` is set to `None`
285 ## Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
292 ## @param controller.lifecycleHooks Add lifecycle hooks to the Controller deployment
295 ## @param controller.updateStrategy.type Controller deployment update strategy
296 ## @param controller.updateStrategy.rollingUpdate Controller deployment rolling update configuration parameters
301 ## @param controller.extraArgs Extra arguments to pass to the Controller container
308 ## @param controller.extraEnvVars Add extra environment variables to the Controller container
315 ## @param controller.extraEnvVarsCM Name of existing ConfigMap containing extra env vars
318 ## @param controller.extraEnvVarsSecret Name of existing Secret containing extra env vars
320 extraEnvVarsSecret: ""
321 ## @param controller.extraVolumes Optionally specify extra list of additional volumes for Controller pods
324 ## @param controller.extraVolumeMounts Optionally specify extra list of additional volumeMounts for Controller container(s)
326 extraVolumeMounts: []
327 ## @param controller.initContainers Add additional init containers to the Controller pods
328 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
331 ## - name: your-image-name
333 ## imagePullPolicy: Always
336 ## containerPort: 1234
339 ## @param controller.sidecars Add additional sidecar containers to the Controller pod
342 ## - name: your-image-name
344 ## imagePullPolicy: Always
347 ## containerPort: 1234
350 ## @param controller.livenessProbe.enabled Enable livenessProbe
351 ## @param controller.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
352 ## @param controller.livenessProbe.periodSeconds Period seconds for livenessProbe
353 ## @param controller.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
354 ## @param controller.livenessProbe.failureThreshold Failure threshold for livenessProbe
355 ## @param controller.livenessProbe.successThreshold Success threshold for livenessProbe
359 initialDelaySeconds: 60
364 ## @param controller.readinessProbe.enabled Enable readinessProbe
365 ## @param controller.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
366 ## @param controller.readinessProbe.periodSeconds Period seconds for readinessProbe
367 ## @param controller.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
368 ## @param controller.readinessProbe.failureThreshold Failure threshold for readinessProbe
369 ## @param controller.readinessProbe.successThreshold Success threshold for readinessProbe
373 initialDelaySeconds: 5
378 ## @param controller.startupProbe.enabled Enable startupProbe
379 ## @param controller.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
380 ## @param controller.startupProbe.periodSeconds Period seconds for startupProbe
381 ## @param controller.startupProbe.timeoutSeconds Timeout seconds for startupProbe
382 ## @param controller.startupProbe.failureThreshold Failure threshold for startupProbe
383 ## @param controller.startupProbe.successThreshold Success threshold for startupProbe
387 initialDelaySeconds: 5
392 ## Custom Startup probes for controller
393 ## @param controller.customStartupProbe Override default startup probe
395 customStartupProbe: {}
396 ## Custom Liveness probes for controller
397 ## @param controller.customLivenessProbe Override default liveness probe
399 customLivenessProbe: {}
400 ## Custom Rediness probes controller
401 ## @param controller.customReadinessProbe Override default readiness probe
403 customReadinessProbe: {}
404 ## ServiceAccount configuration
407 ## @param controller.serviceAccount.create Specifies whether a ServiceAccount should be created
410 ## @param controller.serviceAccount.name The name of the ServiceAccount to use.
411 ## If not set and create is true, a name is generated using the common.names.fullname template
414 ## @param controller.serviceAccount.annotations Additional custom annotations for the ServiceAccount
417 ## @param controller.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
419 automountServiceAccountToken: false
420 ## Controller Network Policies
421 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
424 ## @param controller.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
427 ## @param controller.networkPolicy.allowExternal Don't require client label for connections
428 ## The Policy model to apply. When set to false, only pods with the correct
429 ## client label will have network access to the ports Cert Manager Controller is listening
430 ## on. When true, Cert Manager Controller will accept connections from any source
431 ## (with the correct destination port).
434 ## @param controller.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
436 allowExternalEgress: true
437 ## @param controller.networkPolicy.kubeAPIServerPorts [array] List of possible endpoints to kube-apiserver (limit to your cluster settings to increase security)
439 kubeAPIServerPorts: [443, 6443, 8443]
440 ## @param controller.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
450 ## - matchExpressions:
456 ## @param controller.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
466 ## - matchExpressions:
473 ## @param controller.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
474 ## @param controller.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
476 ingressNSMatchLabels: {}
477 ingressNSPodMatchLabels: {}
478 ## @param controller.pdb.create Enable/disable a Pod Disruption Budget creation
479 ## @param controller.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
480 ## @param controller.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `controller.pdb.minAvailable` and `controller.pdb.maxUnavailable` are empty.
486## @section Webhook deployment parameters
488## Webhook deployment parameters
491 ## @param webhook.replicaCount Number of Webhook replicas
494 ## Iamguarded cert-manager Webhook image
495 ## @param webhook.image.registry [default: REGISTRY_NAME] Webhook image registry
496 ## @param webhook.image.repository [default: REPOSITORY_NAME/cert-manager-webhook] Webhook image repository
497 ## @skip webhook.image.tag Webhook image tag (immutable tags are recommended)
498 ## @param webhook.image.digest Webhook image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
499 ## @param webhook.image.pullPolicy Webhook image pull policy
500 ## @param webhook.image.pullSecrets Webhook image pull secrets
501 ## @param webhook.image.debug Webhook image debug mode
505 repository: chainguard-private/cert-manager-webhook-iamguarded
508 ## Specify a imagePullPolicy
509 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
511 pullPolicy: IfNotPresent
512 ## Optionally specify an array of imagePullSecrets.
513 ## Secrets must be manually created in the namespace.
514 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
517 ## - myRegistryKeySecretName
520 ## Set to true if you would like to see extra information on logs
523 ## @param webhook.timeoutSeconds [default: 30] How many seconds the webhook should wait for a response before timing out
524 ## ref: https://cert-manager.io/docs/troubleshooting/webhook/#error-context-deadline-exceeded
525 ## Default value is configured to 30 seconds (the maximum value allowed by Kubernetes)
528 ## Webhook containers' resource requests and limits
529 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
530 ## @param webhook.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if controller.resources is set (controller.resources is recommended for production).
532 resourcesPreset: "nano"
533 ## @param webhook.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
544 ## webhook pods' Security Context
545 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
546 ## @param webhook.podSecurityContext.enabled Enabled Webhook pods' Security Context
547 ## @param webhook.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
548 ## @param webhook.podSecurityContext.sysctls Set kernel settings using the sysctl interface
549 ## @param webhook.podSecurityContext.supplementalGroups Set filesystem extra groups
550 ## @param webhook.podSecurityContext.fsGroup Set Webhook pod's Security Context fsGroup
554 fsGroupChangePolicy: Always
556 supplementalGroups: []
558 ## webhook containers' Security Context
559 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
560 ## @param webhook.containerSecurityContext.enabled Enabled webhook containers' Security Context
561 ## @param webhook.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
562 ## @param webhook.containerSecurityContext.runAsUser Set webhook containers' Security Context runAsUser
563 ## @param webhook.containerSecurityContext.runAsGroup Set webhook containers' Security Context runAsGroup
564 ## @param webhook.containerSecurityContext.runAsNonRoot Set webhook containers' Security Context runAsNonRoot
565 ## @param webhook.containerSecurityContext.readOnlyRootFilesystem Set read only root file system pod's Security Conte
566 ## @param webhook.containerSecurityContext.privileged Set webhook container's Security Context privileged
567 ## @param webhook.containerSecurityContext.allowPrivilegeEscalation Set webhook container's Security Context allowPrivilegeEscalation
568 ## @param webhook.containerSecurityContext.capabilities.drop List of capabilities to be dropped
569 ## @param webhook.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
571 containerSecurityContext:
578 allowPrivilegeEscalation: false
582 type: "RuntimeDefault"
583 readOnlyRootFilesystem: true
584 ## @param webhook.podAffinityPreset Pod affinity preset. Ignored if `webhook.affinity` is set. Allowed values: `soft` or `hard`
585 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
587 podAffinityPreset: ""
588 ## @param webhook.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `webhook.affinity` is set. Allowed values: `soft` or `hard`
589 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
591 podAntiAffinityPreset: soft
592 ## Node affinity preset
593 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
594 ## @param webhook.nodeAffinityPreset.type Node affinity preset type. Ignored if `webhook.affinity` is set. Allowed values: `soft` or `hard`
595 ## @param webhook.nodeAffinityPreset.key Node label key to match. Ignored if `webhook.affinity` is set
596 ## @param webhook.nodeAffinityPreset.values Node label values to match. Ignored if `webhook.affinity` is set
607 ## @param webhook.affinity Affinity for cert-manager Webhook
608 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
609 ## NOTE: `webhook.podAffinityPreset`, `webhook.podAntiAffinityPreset`, and `webhook.nodeAffinityPreset` will be ignored when it's set
612 ## @param webhook.nodeSelector Node labels for pod assignment
613 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
616 ## Webhook Container port
617 ## @param webhook.containerPorts.https Webhook HTTPS container port
618 ## @param webhook.containerPorts.health Webhook health container port
623 ## Webhook https port
624 ## @param webhook.service.ports.https Webhook HTTPS service port
629 ## @param webhook.command Override Webhook default command
632 ## @param webhook.args Override Webhook default args
635 ## @param webhook.livenessProbe.enabled Enable livenessProbe
636 ## @param webhook.livenessProbe.path Path for livenessProbe
637 ## @param webhook.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
638 ## @param webhook.livenessProbe.periodSeconds Period seconds for livenessProbe
639 ## @param webhook.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
640 ## @param webhook.livenessProbe.failureThreshold Failure threshold for livenessProbe
641 ## @param webhook.livenessProbe.successThreshold Success threshold for livenessProbe
646 initialDelaySeconds: 60
651 ## @param webhook.readinessProbe.enabled Enable readinessProbe
652 ## @param webhook.readinessProbe.path Path for readinessProbe
653 ## @param webhook.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
654 ## @param webhook.readinessProbe.periodSeconds Period seconds for readinessProbe
655 ## @param webhook.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
656 ## @param webhook.readinessProbe.failureThreshold Failure threshold for readinessProbe
657 ## @param webhook.readinessProbe.successThreshold Success threshold for readinessProbe
662 initialDelaySeconds: 5
667 ## Custom Startup probes for webhook
668 ## @param webhook.customStartupProbe Override default startup probe
670 customStartupProbe: {}
671 ## Custom Liveness probes for webhook
672 ## @param webhook.customLivenessProbe Override default liveness probe
674 customLivenessProbe: {}
675 ## Custom Rediness probes webhook
676 ## @param webhook.customReadinessProbe Override default readiness probe
678 customReadinessProbe: {}
679 ## @param webhook.priorityClassName Webhook pod priority class name
681 priorityClassName: ""
682 ## @param webhook.runtimeClassName Name of the runtime class to be used by pod(s)
683 ## ref: https://kubernetes.io/docs/concepts/containers/runtime-class/
686 ## @param webhook.schedulerName Name of the k8s scheduler (other than default)
687 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
690 ## @param webhook.topologySpreadConstraints Topology Spread Constraints for pod assignment
691 ## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
692 ## The value is evaluated as a template
694 topologySpreadConstraints: []
695 ## @param webhook.automountServiceAccountToken Mount Service Account token in pod
697 automountServiceAccountToken: true
698 ## @param webhook.hostAliases Custom host aliases for Webhook pods
699 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
702 ## @param webhook.tolerations Tolerations for pod assignment
703 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
706 ## @param webhook.podLabels Extra labels for Webhook pods
707 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
710 ## @param webhook.podAnnotations Annotations for Webhook pods
711 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
714 ## @param webhook.lifecycleHooks Add lifecycle hooks to the Webhook deployment
717 ## @param webhook.updateStrategy.type Webhook deployment update strategy
718 ## @param webhook.updateStrategy.rollingUpdate Controller deployment rolling update configuration parameters
723 ## @param webhook.extraArgs Extra arguments to pass to the Webhook container
730 ## @param webhook.extraEnvVars Add extra environment variables to the Webhook container
737 ## @param webhook.extraEnvVarsCM Name of existing ConfigMap containing extra env vars
740 ## @param webhook.extraEnvVarsSecret Name of existing Secret containing extra env vars
742 extraEnvVarsSecret: ""
743 ## @param webhook.extraVolumes Optionally specify extra list of additional volumes for Webhook pods
746 ## @param webhook.extraVolumeMounts Optionally specify extra list of additional volumeMounts for Webhook container
748 extraVolumeMounts: []
749 ## @param webhook.initContainers Add additional init containers to the Webhook pods
752 ## - name: your-image-name
754 ## imagePullPolicy: Always
757 ## containerPort: 1234
760 ## @param webhook.sidecars Add additional sidecar containers to the Webhook pod
763 ## - name: your-image-name
765 ## imagePullPolicy: Always
768 ## containerPort: 1234
771 ## ServiceAccount configuration
774 ## @param webhook.serviceAccount.create Specifies whether a ServiceAccount should be created
777 ## @param webhook.serviceAccount.name The name of the ServiceAccount to use.
778 ## If not set and create is true, a name is generated using the common.names.fullname template
781 ## @param webhook.serviceAccount.annotations Additional custom annotations for the ServiceAccount
784 ## @param webhook.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
786 automountServiceAccountToken: false
787 ## @param webhook.hostNetwork Specifies hostNetwork value
790 ## Webhook Network Policies
791 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
794 ## @param webhook.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
797 ## @param webhook.networkPolicy.allowExternal Don't require client label for connections
798 ## The Policy model to apply. When set to false, only pods with the correct
799 ## client label will have network access to the ports Cert Manager Webhook is listening
800 ## on. When true, Cert Manager Webhook will accept connections from any source
801 ## (with the correct destination port).
804 ## @param webhook.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
806 allowExternalEgress: true
807 ## @param webhook.networkPolicy.kubeAPIServerPorts [array] List of possible endpoints to kube-apiserver (limit to your cluster settings to increase security)
809 kubeAPIServerPorts: [443, 6443, 8443]
810 ## @param webhook.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
820 ## - matchExpressions:
826 ## @param webhook.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
836 ## - matchExpressions:
843 ## @param webhook.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
844 ## @param webhook.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
846 ingressNSMatchLabels: {}
847 ingressNSPodMatchLabels: {}
848 ## @param webhook.pdb.create Enable/disable a Pod Disruption Budget creation
849 ## @param webhook.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
850 ## @param webhook.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `webhook.pdb.minAvailable` and `webhook.pdb.maxUnavailable` are empty.
856## @section CAInjector deployment parameters
858## CAInjector deployment parameters
861 ## @param cainjector.replicaCount Number of CAInjector replicas
864 ## Iamguarded CAInjector image
865 ## @param cainjector.image.registry [default: REGISTRY_NAME] CAInjector image registry
866 ## @param cainjector.image.repository [default: REPOSITORY_NAME/cainjector] CAInjector image repository
867 ## @skip cainjector.image.tag CAInjector image tag (immutable tags are recommended)
868 ## @param cainjector.image.digest CAInjector image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
869 ## @param cainjector.image.pullPolicy CAInjector image pull policy
870 ## @param cainjector.image.pullSecrets CAInjector image pull secrets
871 ## @param cainjector.image.debug CAInjector image debug mode
875 repository: chainguard-private/cert-manager-cainjector-iamguarded
878 ## Specify a imagePullPolicy
879 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
881 pullPolicy: IfNotPresent
882 ## Optionally specify an array of imagePullSecrets.
883 ## Secrets must be manually created in the namespace.
884 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
887 ## - myRegistryKeySecretName
890 ## Set to true if you would like to see extra information on logs
893 ## CAInjector containers' resource requests and limits
894 ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
896 ## @param cainjector.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if cloneHtdocsFromGit.resources is set (cloneHtdocsFromGit.resources is recommended for production).
898 resourcesPreset: "nano"
899 ## @param cainjector.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
910 ## cainjector pods' Security Context
911 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
912 ## @param cainjector.podSecurityContext.enabled Enabled CAInjector pods' Security Context
913 ## @param cainjector.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
914 ## @param cainjector.podSecurityContext.sysctls Set kernel settings using the sysctl interface
915 ## @param cainjector.podSecurityContext.supplementalGroups Set filesystem extra groups
916 ## @param cainjector.podSecurityContext.fsGroup Set CAInjector pod's Security Context fsGroup
920 fsGroupChangePolicy: Always
922 supplementalGroups: []
924 ## cainjector containers' Security Context
925 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
926 ## @param cainjector.containerSecurityContext.enabled Enabled cainjector containers' Security Context
927 ## @param cainjector.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
928 ## @param cainjector.containerSecurityContext.runAsUser Set cainjector containers' Security Context runAsUser
929 ## @param cainjector.containerSecurityContext.runAsGroup Set cainjector containers' Security Context runAsGroup
930 ## @param cainjector.containerSecurityContext.runAsNonRoot Set cainjector containers' Security Context runAsNonRoot
931 ## @param cainjector.containerSecurityContext.readOnlyRootFilesystem Set read only root file system pod's Security Conte
932 ## @param cainjector.containerSecurityContext.privileged Set cainjector container's Security Context privileged
933 ## @param cainjector.containerSecurityContext.allowPrivilegeEscalation Set cainjector container's Security Context allowPrivilegeEscalation
934 ## @param cainjector.containerSecurityContext.capabilities.drop List of capabilities to be dropped
935 ## @param cainjector.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
937 containerSecurityContext:
944 allowPrivilegeEscalation: false
948 type: "RuntimeDefault"
949 readOnlyRootFilesystem: true
950 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
951 ## @param cainjector.podAffinityPreset Pod affinity preset. Ignored if `cainjector.affinity` is set. Allowed values: `soft` or `hard`
953 podAffinityPreset: ""
954 ## @param cainjector.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `cainjector.affinity` is set. Allowed values: `soft` or `hard`
955 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
957 podAntiAffinityPreset: soft
958 ## Node affinity preset
959 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
960 ## @param cainjector.nodeAffinityPreset.type Node affinity preset type. Ignored if `cainjector.affinity` is set. Allowed values: `soft` or `hard`
961 ## @param cainjector.nodeAffinityPreset.key Node label key to match. Ignored if `cainjector.affinity` is set
962 ## @param cainjector.nodeAffinityPreset.values Node label values to match. Ignored if `cainjector.affinity` is set
973 ## @param cainjector.affinity Affinity for cert-manager CAInjector
974 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
975 ## NOTE: `cainjector.podAffinityPreset`, `cainjector.podAntiAffinityPreset`, and `cainjector.nodeAffinityPreset` will be ignored when it's set
978 ## @param cainjector.nodeSelector Node labels for pod assignment
979 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
982 ## @param cainjector.command Override CAInjector default command
985 ## @param cainjector.args Override CAInjector default args
988 ## @param cainjector.priorityClassName CAInjector pod priority class name
990 priorityClassName: ""
991 ## @param cainjector.runtimeClassName Name of the runtime class to be used by pod(s)
992 ## ref: https://kubernetes.io/docs/concepts/containers/runtime-class/
995 ## @param cainjector.schedulerName Name of the k8s scheduler (other than default)
996 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
999 ## @param cainjector.topologySpreadConstraints Topology Spread Constraints for pod assignment
1000 ## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
1001 ## The value is evaluated as a template
1003 topologySpreadConstraints: []
1004 ## @param cainjector.automountServiceAccountToken Mount Service Account token in pod
1006 automountServiceAccountToken: true
1007 ## @param cainjector.hostAliases Custom host aliases for CAInjector pods
1008 ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1011 ## @param cainjector.tolerations Tolerations for pod assignment
1012 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1015 ## @param cainjector.podLabels Extra labels for CAInjector pods
1016 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1019 ## @param cainjector.podAnnotations Annotations for CAInjector pods
1020 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1023 ## @param cainjector.lifecycleHooks Add lifecycle hooks to the CAInjector deployment
1026 ## @param cainjector.updateStrategy.type Controller deployment update strategy
1027 ## @param cainjector.updateStrategy.rollingUpdate Controller deployment rolling update configuration parameters
1031 ## @param cainjector.livenessProbe.enabled Enable livenessProbe
1032 ## @param cainjector.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
1033 ## @param cainjector.livenessProbe.periodSeconds Period seconds for livenessProbe
1034 ## @param cainjector.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
1035 ## @param cainjector.livenessProbe.failureThreshold Failure threshold for livenessProbe
1036 ## @param cainjector.livenessProbe.successThreshold Success threshold for livenessProbe
1040 initialDelaySeconds: 60
1045 ## @param cainjector.readinessProbe.enabled Enable readinessProbe
1046 ## @param cainjector.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
1047 ## @param cainjector.readinessProbe.periodSeconds Period seconds for readinessProbe
1048 ## @param cainjector.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
1049 ## @param cainjector.readinessProbe.failureThreshold Failure threshold for readinessProbe
1050 ## @param cainjector.readinessProbe.successThreshold Success threshold for readinessProbe
1054 initialDelaySeconds: 5
1059 ## @param cainjector.startupProbe.enabled Enable startupProbe
1060 ## @param cainjector.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
1061 ## @param cainjector.startupProbe.periodSeconds Period seconds for startupProbe
1062 ## @param cainjector.startupProbe.timeoutSeconds Timeout seconds for startupProbe
1063 ## @param cainjector.startupProbe.failureThreshold Failure threshold for startupProbe
1064 ## @param cainjector.startupProbe.successThreshold Success threshold for startupProbe
1068 initialDelaySeconds: 5
1073 ## Custom Startup probes for cainjector
1074 ## @param cainjector.customStartupProbe Override default startup probe
1076 customStartupProbe: {}
1077 ## Custom Liveness probes for cainjector
1078 ## @param cainjector.customLivenessProbe Override default liveness probe
1080 customLivenessProbe: {}
1081 ## Custom Rediness probes cainjector
1082 ## @param cainjector.customReadinessProbe Override default readiness probe
1084 customReadinessProbe: {}
1085 ## @param cainjector.extraArgs Extra arguments to pass to the CAInjector container
1092 ## @param cainjector.extraEnvVars Add extra environment variables to the CAInjector container
1099 ## @param cainjector.extraEnvVarsCM Name of existing ConfigMap containing extra env vars
1102 ## @param cainjector.extraEnvVarsSecret Name of existing Secret containing extra env vars
1104 extraEnvVarsSecret: ""
1105 ## @param cainjector.extraVolumes Optionally specify extra list of additional volumes for CAInjector pods
1108 ## @param cainjector.extraVolumeMounts Optionally specify extra list of additional volumeMounts for CAInjector container(s)
1110 extraVolumeMounts: []
1111 ## @param cainjector.initContainers Add additional init containers to the CAInjector pods
1114 ## - name: your-image-name
1115 ## image: your-image
1116 ## imagePullPolicy: Always
1119 ## containerPort: 1234
1122 ## @param cainjector.sidecars Add additional sidecar containers to the CAInjector pod
1125 ## - name: your-image-name
1126 ## image: your-image
1127 ## imagePullPolicy: Always
1130 ## containerPort: 1234
1133 ## ServiceAccount configuration
1136 ## @param cainjector.serviceAccount.create Specifies whether a ServiceAccount should be created
1139 ## @param cainjector.serviceAccount.name The name of the ServiceAccount to use.
1140 ## If not set and create is true, a name is generated using the common.names.fullname template
1143 ## @param cainjector.serviceAccount.annotations Additional custom annotations for the ServiceAccount
1146 ## @param cainjector.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
1148 automountServiceAccountToken: false
1150 ## @param cainjector.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1153 ## @param cainjector.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1155 allowExternalEgress: true
1156 ## @param cainjector.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1166 ## - matchExpressions:
1172 ## @param cainjector.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1182 ## - matchExpressions:
1189 ## @param cainjector.pdb.create Enable/disable a Pod Disruption Budget creation
1190 ## @param cainjector.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1191 ## @param cainjector.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `cainjector.pdb.minAvailable` and `cainjector.pdb.maxUnavailable` are empty.
1197## @section Metrics Parameters
1199 ## @param metrics.enabled Start metrics
1202 ## Prometheus Service Monitor
1203 ## ref: https://github.com/coreos/prometheus-operator
1204 ## https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1206 ## @param metrics.podAnnotations [object] Annotations for cert-manager exporter pods
1207 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1210 prometheus.io/path: "/metrics"
1211 prometheus.io/scrape: "true"
1212 prometheus.io/port: "{{ .Values.controller.containerPorts.http }}"
1213 ## Prometheus Operator ServiceMonitor resource
1216 ## @param metrics.serviceMonitor.path The path which the ServiceMonitor will monitor
1219 ## @param metrics.serviceMonitor.targetPort The port in which the ServiceMonitor will monitor
1222 ## @param metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using PrometheusOperator
1225 ## @param metrics.serviceMonitor.namespace Namespace which Prometheus is running in
1227 ## namespace: monitoring
1230 ## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
1233 ## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped
1234 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1237 ## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
1238 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1241 ## @param metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
1242 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
1245 ## @param metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
1246 ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
1248 metricRelabelings: []
1249 ## @param metrics.serviceMonitor.selector ServiceMonitor selector labels
1252 ## prometheus: my-prometheus
1255 ## @param metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
1258 ## @param metrics.serviceMonitor.additionalLabels DEPRECATED. Use metrics.serviceMonitor.labels instead.
1260 additionalLabels: {}
1261 ## @param metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
1264## @section Other Parameters
1266## RBAC configuration
1267## @param rbac.create Specifies whether RBAC resources should be created