|
|
@ -870,6 +870,18 @@ spec: |
|
|
|
valueFrom: |
|
|
|
fieldRef: |
|
|
|
fieldPath: metadata.namespace |
|
|
|
{% if cert_manager_http_proxy is defined and cert_manager_http_proxy != "" %} |
|
|
|
- name: HTTP_PROXY |
|
|
|
value: "{{ cert_manager_http_proxy }}" |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_https_proxy is defined and cert_manager_https_proxy != "" %} |
|
|
|
- name: HTTPS_PROXY |
|
|
|
value: "{{ cert_manager_https_proxy }}" |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_no_proxy is defined and cert_manager_no_proxy != "" %} |
|
|
|
- name: NO_PROXY |
|
|
|
value: "{{ cert_manager_no_proxy }}" |
|
|
|
{% endif %} |
|
|
|
securityContext: |
|
|
|
allowPrivilegeEscalation: false |
|
|
|
capabilities: |
|
|
@ -967,6 +979,18 @@ spec: |
|
|
|
valueFrom: |
|
|
|
fieldRef: |
|
|
|
fieldPath: metadata.namespace |
|
|
|
{% if cert_manager_http_proxy is defined and cert_manager_http_proxy != "" %} |
|
|
|
- name: HTTP_PROXY |
|
|
|
value: "{{ cert_manager_http_proxy }}" |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_https_proxy is defined and cert_manager_https_proxy != "" %} |
|
|
|
- name: HTTPS_PROXY |
|
|
|
value: "{{ cert_manager_https_proxy }}" |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_no_proxy is defined and cert_manager_no_proxy != "" %} |
|
|
|
- name: NO_PROXY |
|
|
|
value: "{{ cert_manager_no_proxy }}" |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_trusted_internal_ca is defined %} |
|
|
|
volumeMounts: |
|
|
|
- mountPath: /etc/ssl/certs/internal-ca.pem |
|
|
@ -1083,6 +1107,18 @@ spec: |
|
|
|
valueFrom: |
|
|
|
fieldRef: |
|
|
|
fieldPath: metadata.namespace |
|
|
|
{% if cert_manager_http_proxy is defined and cert_manager_http_proxy != "" %} |
|
|
|
- name: HTTP_PROXY |
|
|
|
value: "{{ cert_manager_http_proxy }}" |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_https_proxy is defined and cert_manager_https_proxy != "" %} |
|
|
|
- name: HTTPS_PROXY |
|
|
|
value: "{{ cert_manager_https_proxy }}" |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_no_proxy is defined and cert_manager_no_proxy != "" %} |
|
|
|
- name: NO_PROXY |
|
|
|
value: "{{ cert_manager_no_proxy }}" |
|
|
|
{% endif %} |
|
|
|
{% if cert_manager_tolerations %} |
|
|
|
tolerations: |
|
|
|
{{ cert_manager_tolerations | to_nice_yaml(indent=2) | indent(width=8) }} |
|
|
|