From c672f9883411b5333c267be47b9ad40b053da3c7 Mon Sep 17 00:00:00 2001 From: Prince-Raiyani1 Date: Mon, 31 Aug 2026 17:21:26 +0530 Subject: [PATCH 1/2] [patch] add let's encrypt http01 params --- src/mas/devops/templates/pipelinerun-install.yml.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mas/devops/templates/pipelinerun-install.yml.j2 b/src/mas/devops/templates/pipelinerun-install.yml.j2 index dcc017ef..e491182c 100644 --- a/src/mas/devops/templates/pipelinerun-install.yml.j2 +++ b/src/mas/devops/templates/pipelinerun-install.yml.j2 @@ -574,6 +574,15 @@ spec: - name: mas_issuer_kind value: "{{ mas_issuer_kind }}" {%- endif %} +{%- if mas_letsencrypt_http01_enabled is defined and mas_letsencrypt_http01_enabled == "true" %} + + # Let's Encrypt HTTP-01 + # ------------------------------------------------------------------------- + - name: mas_letsencrypt_http01_enabled + value: "{{ mas_letsencrypt_http01_enabled }}" + - name: mas_le_email + value: "{{ mas_le_email }}" +{%- endif %} # MAS Workspace # ------------------------------------------------------------------------- From 7ce3219260f344e94232405cd146994430b9363d Mon Sep 17 00:00:00 2001 From: Prince-Raiyani1 Date: Tue, 1 Sep 2026 17:22:05 +0530 Subject: [PATCH 2/2] [patch] keep one flag to enable LE --- src/mas/devops/templates/pipelinerun-install.yml.j2 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/mas/devops/templates/pipelinerun-install.yml.j2 b/src/mas/devops/templates/pipelinerun-install.yml.j2 index e491182c..34c1e1eb 100644 --- a/src/mas/devops/templates/pipelinerun-install.yml.j2 +++ b/src/mas/devops/templates/pipelinerun-install.yml.j2 @@ -574,12 +574,7 @@ spec: - name: mas_issuer_kind value: "{{ mas_issuer_kind }}" {%- endif %} -{%- if mas_letsencrypt_http01_enabled is defined and mas_letsencrypt_http01_enabled == "true" %} - - # Let's Encrypt HTTP-01 - # ------------------------------------------------------------------------- - - name: mas_letsencrypt_http01_enabled - value: "{{ mas_letsencrypt_http01_enabled }}" +{%- if mas_le_email is defined and mas_le_email != "" %} - name: mas_le_email value: "{{ mas_le_email }}" {%- endif %}