|
|
@ -874,6 +874,18 @@ spec: |
|
|
|
fieldPath: metadata.namespace |
|
|
|
resources: |
|
|
|
{} |
|
|
|
{% if cert_manager_tolerations %} |
|
|
|
tolerations: |
|
|
|
{{ cert_manager_tolerations | to_nice_yaml(indent=2) | indent(width=8) }} |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_nodeselector %} |
|
|
|
nodeSelector: |
|
|
|
{{ cert_manager_nodeselector | to_nice_yaml | indent(width=8) }} |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_affinity %} |
|
|
|
affinity: |
|
|
|
{{ cert_manager_affinity | to_nice_yaml | indent(width=8) }} |
|
|
|
{% endif %} |
|
|
|
--- |
|
|
|
{% if cert_manager_trusted_internal_ca is defined %} |
|
|
|
apiVersion: v1 |
|
|
@ -939,6 +951,18 @@ spec: |
|
|
|
fieldPath: metadata.namespace |
|
|
|
resources: |
|
|
|
{} |
|
|
|
{% if cert_manager_tolerations %} |
|
|
|
tolerations: |
|
|
|
{{ cert_manager_tolerations | to_nice_yaml(indent=2) | indent(width=8) }} |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_nodeselector %} |
|
|
|
nodeSelector: |
|
|
|
{{ cert_manager_nodeselector | to_nice_yaml | indent(width=8) }} |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_affinity %} |
|
|
|
affinity: |
|
|
|
{{ cert_manager_affinity | to_nice_yaml | indent(width=8) }} |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_trusted_internal_ca is defined %} |
|
|
|
volumeMounts: |
|
|
|
- mountPath: /etc/ssl/certs/internal-ca.pem |
|
|
@ -1023,6 +1047,18 @@ spec: |
|
|
|
fieldPath: metadata.namespace |
|
|
|
resources: |
|
|
|
{} |
|
|
|
{% if cert_manager_tolerations %} |
|
|
|
tolerations: |
|
|
|
{{ cert_manager_tolerations | to_nice_yaml(indent=2) | indent(width=8) }} |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_nodeselector %} |
|
|
|
nodeSelector: |
|
|
|
{{ cert_manager_nodeselector | to_nice_yaml | indent(width=8) }} |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_affinity %} |
|
|
|
affinity: |
|
|
|
{{ cert_manager_affinity | to_nice_yaml | indent(width=8) }} |
|
|
|
{% endif %} |
|
|
|
--- |
|
|
|
# Source: cert-manager/templates/webhook-mutating-webhook.yaml |
|
|
|
apiVersion: admissionregistration.k8s.io/v1 |
|
|
|