Skip to content

Commit

Permalink
Merge pull request #214 from sassoftware/staging
Browse files Browse the repository at this point in the history
Monthly Release - 4.12.0
  • Loading branch information
riragh authored Apr 21, 2022
2 parents 15dbb25 + 0cfea38 commit 8e3482b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
19 changes: 16 additions & 3 deletions roles/vdm/tasks/tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,22 +192,35 @@
- uninstall
- update

- name: tls - Certificate Generation
- name: tls - Certificate Generation - cert-manager
overlay_facts:
cadence_name: "{{ V4_CFG_CADENCE_NAME }}"
cadence_number: "{{ V4_CFG_CADENCE_VERSION }}"
existing: "{{ vdm_overlays }}"
add:
- { transformers: "cert-manager-provided-ingress-certificate.yaml", vdm: true, priority: 70 }
- { generators: "customer-provided-merge-sas-certframe-configmap.yaml", vdm: true }
when:
- V4_CFG_TLS_MODE != "disabled"
- (V4_CFG_TLS_CERT is none and V4_CFG_TLS_KEY is none and V4_CFG_TLS_GENERATOR == "cert-manager") or V4_CFG_TLS_GENERATOR == "openssl"
- (V4_CFG_TLS_CERT is none and V4_CFG_TLS_KEY is none and V4_CFG_TLS_GENERATOR == "cert-manager")
tags:
- install
- uninstall
- update

- name: tls - Configuring Certificate Attributes
overlay_facts:
cadence_name: "{{ V4_CFG_CADENCE_NAME }}"
cadence_number: "{{ V4_CFG_CADENCE_VERSION }}"
existing: "{{ vdm_overlays }}"
add:
- { generators: "customer-provided-merge-sas-certframe-configmap.yaml", vdm: true }
when:
- V4_CFG_TLS_MODE != "disabled"
- (V4_CFG_TLS_GENERATOR == "cert-manager" or V4_CFG_TLS_GENERATOR == "openssl")
tags:
- install
- uninstall
- update

- name: tls - Consul UI
overlay_facts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ literals:
- SAS_CERTIFICATE_ADDITIONAL_SAN_IP={{ V4_CFG_TLS_ADDITIONAL_SAN_IP }}
{% if V4_CFG_TLS_GENERATOR == "openssl" %}
- SAS_CERTIFICATE_GENERATOR=openssl
{% elif V4_CFG_TLS_GENERATOR == "cert-manager" %}
- SAS_CERTIFICATE_GENERATOR=cert-manager
{% endif -%}

0 comments on commit 8e3482b

Please sign in to comment.