From b09514f600f5034008a4bf6dd4b2a15afc1c4d3f Mon Sep 17 00:00:00 2001 From: Nicolas Pais Date: Thu, 29 Jun 2023 15:41:57 -0300 Subject: [PATCH] Add missing TLS secretName Signed-off-by: Nicolas Pais --- .../templates/am/wso2am-pattern-1-am-gateway-ingress.yaml | 3 ++- .../templates/am/wso2am-pattern-1-am-ingress.yaml | 5 +++-- .../templates/am/wso2am-pattern-1-am-websocket-ingress.yaml | 3 ++- .../templates/am/wso2am-pattern-1-am-websub-ingress.yaml | 3 ++- .../templates/mi/wso2am-pattern-1-mi-management-ingress.yaml | 5 +++-- .../templates/mi/wso2am-pattern-2-mi-management-ingress.yaml | 5 +++-- .../wso2am-pattern-3-am-control-plane-ingress.yaml | 3 ++- .../am/gateway/wso2am-pattern-3-am-gateway-ingress.yaml | 3 ++- .../am/gateway/wso2am-pattern-3-am-websocket-ingress.yaml | 3 ++- .../am/gateway/wso2am-pattern-3-am-websub-ingress.yaml | 3 ++- .../instance-1/wso2am-pattern-3-mi-management-ingress.yaml | 5 +++-- .../wso2am-pattern-4-am-control-plane-ingress.yaml | 3 ++- .../am/gateway/wso2am-pattern-4-am-gateway-ingress.yaml | 3 ++- .../am/gateway/wso2am-pattern-4-am-websocket-ingress.yaml | 3 ++- .../am/gateway/wso2am-pattern-4-am-websub-ingress.yaml | 3 ++- .../templates/mi/wso2am-pattern-4-mi-management-ingress.yaml | 5 +++-- simple/am-single/templates/am/wso2am-gateway-ingress.yaml | 3 ++- simple/am-single/templates/am/wso2am-ingress.yaml | 5 +++-- simple/am-single/templates/am/wso2am-websocket-ingress.yaml | 3 ++- simple/am-single/templates/am/wso2am-websub-ingress.yaml | 3 ++- 20 files changed, 46 insertions(+), 26 deletions(-) diff --git a/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-gateway-ingress.yaml b/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-gateway-ingress.yaml index b169bd27..60d8340b 100644 --- a/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-gateway-ingress.yaml +++ b/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-gateway-ingress.yaml @@ -26,7 +26,8 @@ metadata: spec: tls: - hosts: - - {{ .Values.wso2.deployment.am.ingress.gateway.hostname }} + - {{ .Values.wso2.deployment.am.ingress.gateway.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.ingress.gateway.hostname }} rules: - host: {{ .Values.wso2.deployment.am.ingress.gateway.hostname }} http: diff --git a/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-ingress.yaml b/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-ingress.yaml index 3e39880f..a8eda02e 100644 --- a/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-ingress.yaml +++ b/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-ingress.yaml @@ -25,8 +25,9 @@ metadata: {{- end }} spec: tls: - - hosts: - - {{ .Values.wso2.deployment.am.ingress.management.hostname }} + - hosts: + - {{ .Values.wso2.deployment.am.ingress.management.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.ingress.management.hostname }} rules: - host: {{ .Values.wso2.deployment.am.ingress.management.hostname }} http: diff --git a/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-websocket-ingress.yaml b/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-websocket-ingress.yaml index cbb1dd2e..645641a2 100644 --- a/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-websocket-ingress.yaml +++ b/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-websocket-ingress.yaml @@ -26,7 +26,8 @@ metadata: spec: tls: - hosts: - - {{ .Values.wso2.deployment.am.ingress.websocket.hostname }} + - {{ .Values.wso2.deployment.am.ingress.websocket.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.ingress.websocket.hostname }} rules: - host: {{ .Values.wso2.deployment.am.ingress.websocket.hostname }} http: diff --git a/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-websub-ingress.yaml b/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-websub-ingress.yaml index 16c54a0a..a5a40d12 100644 --- a/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-websub-ingress.yaml +++ b/advanced/am-pattern-1/templates/am/wso2am-pattern-1-am-websub-ingress.yaml @@ -26,7 +26,8 @@ metadata: spec: tls: - hosts: - - {{ .Values.wso2.deployment.am.ingress.websub.hostname }} + - {{ .Values.wso2.deployment.am.ingress.websub.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.ingress.websub.hostname }} rules: - host: {{ .Values.wso2.deployment.am.ingress.websub.hostname }} http: diff --git a/advanced/am-pattern-1/templates/mi/wso2am-pattern-1-mi-management-ingress.yaml b/advanced/am-pattern-1/templates/mi/wso2am-pattern-1-mi-management-ingress.yaml index 99c23e93..fb7f2428 100644 --- a/advanced/am-pattern-1/templates/mi/wso2am-pattern-1-mi-management-ingress.yaml +++ b/advanced/am-pattern-1/templates/mi/wso2am-pattern-1-mi-management-ingress.yaml @@ -23,8 +23,9 @@ metadata: {{- end }} spec: tls: - - hosts: - - {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }} + - hosts: + - {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }} + secretName: tls-{{ .Values.wso2.deployment.mi.ingress.management.hostname }} rules: - host: {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }} http: diff --git a/advanced/am-pattern-2/templates/mi/wso2am-pattern-2-mi-management-ingress.yaml b/advanced/am-pattern-2/templates/mi/wso2am-pattern-2-mi-management-ingress.yaml index a35f5dae..bbf65b4e 100644 --- a/advanced/am-pattern-2/templates/mi/wso2am-pattern-2-mi-management-ingress.yaml +++ b/advanced/am-pattern-2/templates/mi/wso2am-pattern-2-mi-management-ingress.yaml @@ -23,8 +23,9 @@ metadata: {{- end }} spec: tls: - - hosts: - - {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }} + - hosts: + - {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }} + secretName: tls-{{ .Values.wso2.deployment.mi.ingress.management.hostname }} rules: - host: {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }} http: diff --git a/advanced/am-pattern-3/templates/am/control-plane/wso2am-pattern-3-am-control-plane-ingress.yaml b/advanced/am-pattern-3/templates/am/control-plane/wso2am-pattern-3-am-control-plane-ingress.yaml index 7cae6ae8..c7cd0dfe 100644 --- a/advanced/am-pattern-3/templates/am/control-plane/wso2am-pattern-3-am-control-plane-ingress.yaml +++ b/advanced/am-pattern-3/templates/am/control-plane/wso2am-pattern-3-am-control-plane-ingress.yaml @@ -29,7 +29,8 @@ spec: {{- end }} tls: - hosts: - - {{ .Values.wso2.deployment.am.cp.ingress.hostname }} + - {{ .Values.wso2.deployment.am.cp.ingress.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.cp.ingress.hostname }} rules: - host: {{ .Values.wso2.deployment.am.cp.ingress.hostname }} http: diff --git a/advanced/am-pattern-3/templates/am/gateway/wso2am-pattern-3-am-gateway-ingress.yaml b/advanced/am-pattern-3/templates/am/gateway/wso2am-pattern-3-am-gateway-ingress.yaml index e992482d..a631b5da 100644 --- a/advanced/am-pattern-3/templates/am/gateway/wso2am-pattern-3-am-gateway-ingress.yaml +++ b/advanced/am-pattern-3/templates/am/gateway/wso2am-pattern-3-am-gateway-ingress.yaml @@ -29,7 +29,8 @@ spec: {{- end }} tls: - hosts: - - {{ .Values.wso2.deployment.am.gateway.ingress.hostname }} + - {{ .Values.wso2.deployment.am.gateway.ingress.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.gateway.ingress.hostname }} rules: - host: {{ .Values.wso2.deployment.am.gateway.ingress.hostname }} http: diff --git a/advanced/am-pattern-3/templates/am/gateway/wso2am-pattern-3-am-websocket-ingress.yaml b/advanced/am-pattern-3/templates/am/gateway/wso2am-pattern-3-am-websocket-ingress.yaml index bf95ddc0..da24741b 100644 --- a/advanced/am-pattern-3/templates/am/gateway/wso2am-pattern-3-am-websocket-ingress.yaml +++ b/advanced/am-pattern-3/templates/am/gateway/wso2am-pattern-3-am-websocket-ingress.yaml @@ -29,7 +29,8 @@ spec: {{- end }} tls: - hosts: - - {{ .Values.wso2.deployment.am.websocket.ingress.hostname }} + - {{ .Values.wso2.deployment.am.websocket.ingress.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.websocket.ingress.hostname }} rules: - host: {{ .Values.wso2.deployment.am.websocket.ingress.hostname }} http: diff --git a/advanced/am-pattern-3/templates/am/gateway/wso2am-pattern-3-am-websub-ingress.yaml b/advanced/am-pattern-3/templates/am/gateway/wso2am-pattern-3-am-websub-ingress.yaml index d8526cae..97c69281 100644 --- a/advanced/am-pattern-3/templates/am/gateway/wso2am-pattern-3-am-websub-ingress.yaml +++ b/advanced/am-pattern-3/templates/am/gateway/wso2am-pattern-3-am-websub-ingress.yaml @@ -29,7 +29,8 @@ spec: {{- end }} tls: - hosts: - - {{ .Values.wso2.deployment.am.websub.ingress.hostname }} + - {{ .Values.wso2.deployment.am.websub.ingress.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.websub.ingress.hostname }} rules: - host: {{ .Values.wso2.deployment.am.websub.ingress.hostname }} http: diff --git a/advanced/am-pattern-3/templates/mi/instance-1/wso2am-pattern-3-mi-management-ingress.yaml b/advanced/am-pattern-3/templates/mi/instance-1/wso2am-pattern-3-mi-management-ingress.yaml index 7ca04347..64081a26 100644 --- a/advanced/am-pattern-3/templates/mi/instance-1/wso2am-pattern-3-mi-management-ingress.yaml +++ b/advanced/am-pattern-3/templates/mi/instance-1/wso2am-pattern-3-mi-management-ingress.yaml @@ -26,8 +26,9 @@ spec: ingressClassName: {{ .Values.wso2.deployment.mi.ingress.management.className }} {{- end }} tls: - - hosts: - - {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }} + - hosts: + - {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }} + secretName: tls-{{ .Values.wso2.deployment.mi.ingress.management.hostname }} rules: - host: {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }} http: diff --git a/advanced/am-pattern-4/templates/am/control-plane/wso2am-pattern-4-am-control-plane-ingress.yaml b/advanced/am-pattern-4/templates/am/control-plane/wso2am-pattern-4-am-control-plane-ingress.yaml index 7439b9f8..30f3f8d3 100644 --- a/advanced/am-pattern-4/templates/am/control-plane/wso2am-pattern-4-am-control-plane-ingress.yaml +++ b/advanced/am-pattern-4/templates/am/control-plane/wso2am-pattern-4-am-control-plane-ingress.yaml @@ -29,7 +29,8 @@ spec: {{- end }} tls: - hosts: - - {{ .Values.wso2.deployment.am.cp.ingress.hostname }} + - {{ .Values.wso2.deployment.am.cp.ingress.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.cp.ingress.hostname }} rules: - host: {{ .Values.wso2.deployment.am.cp.ingress.hostname }} http: diff --git a/advanced/am-pattern-4/templates/am/gateway/wso2am-pattern-4-am-gateway-ingress.yaml b/advanced/am-pattern-4/templates/am/gateway/wso2am-pattern-4-am-gateway-ingress.yaml index 13592562..7d0dfa49 100644 --- a/advanced/am-pattern-4/templates/am/gateway/wso2am-pattern-4-am-gateway-ingress.yaml +++ b/advanced/am-pattern-4/templates/am/gateway/wso2am-pattern-4-am-gateway-ingress.yaml @@ -29,7 +29,8 @@ spec: {{- end }} tls: - hosts: - - {{ .Values.wso2.deployment.am.gateway.ingress.hostname }} + - {{ .Values.wso2.deployment.am.gateway.ingress.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.gateway.ingress.hostname }} rules: - host: {{ .Values.wso2.deployment.am.gateway.ingress.hostname }} http: diff --git a/advanced/am-pattern-4/templates/am/gateway/wso2am-pattern-4-am-websocket-ingress.yaml b/advanced/am-pattern-4/templates/am/gateway/wso2am-pattern-4-am-websocket-ingress.yaml index 793cafbd..456d2f96 100644 --- a/advanced/am-pattern-4/templates/am/gateway/wso2am-pattern-4-am-websocket-ingress.yaml +++ b/advanced/am-pattern-4/templates/am/gateway/wso2am-pattern-4-am-websocket-ingress.yaml @@ -29,7 +29,8 @@ spec: {{- end }} tls: - hosts: - - {{ .Values.wso2.deployment.am.websocket.ingress.hostname }} + - {{ .Values.wso2.deployment.am.websocket.ingress.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.gateway.ingress.hostname }} rules: - host: {{ .Values.wso2.deployment.am.websocket.ingress.hostname }} http: diff --git a/advanced/am-pattern-4/templates/am/gateway/wso2am-pattern-4-am-websub-ingress.yaml b/advanced/am-pattern-4/templates/am/gateway/wso2am-pattern-4-am-websub-ingress.yaml index ac7193b2..d3b151c5 100644 --- a/advanced/am-pattern-4/templates/am/gateway/wso2am-pattern-4-am-websub-ingress.yaml +++ b/advanced/am-pattern-4/templates/am/gateway/wso2am-pattern-4-am-websub-ingress.yaml @@ -29,7 +29,8 @@ spec: {{- end }} tls: - hosts: - - {{ .Values.wso2.deployment.am.websub.ingress.hostname }} + - {{ .Values.wso2.deployment.am.websub.ingress.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.websub.ingress.hostname }} rules: - host: {{ .Values.wso2.deployment.am.websub.ingress.hostname }} http: diff --git a/advanced/am-pattern-4/templates/mi/wso2am-pattern-4-mi-management-ingress.yaml b/advanced/am-pattern-4/templates/mi/wso2am-pattern-4-mi-management-ingress.yaml index 34699212..461ec49e 100644 --- a/advanced/am-pattern-4/templates/mi/wso2am-pattern-4-mi-management-ingress.yaml +++ b/advanced/am-pattern-4/templates/mi/wso2am-pattern-4-mi-management-ingress.yaml @@ -26,8 +26,9 @@ spec: ingressClassName: {{ .Values.wso2.deployment.mi.ingress.management.className }} {{- end }} tls: - - hosts: - - {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }} + - hosts: + - {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }} + secretName: tls-{{ .Values.wso2.deployment.mi.ingress.management.hostname }} rules: - host: {{ .Values.wso2.deployment.mi.ingress.management.hostname | quote }} http: diff --git a/simple/am-single/templates/am/wso2am-gateway-ingress.yaml b/simple/am-single/templates/am/wso2am-gateway-ingress.yaml index cc9eefea..dfe50254 100644 --- a/simple/am-single/templates/am/wso2am-gateway-ingress.yaml +++ b/simple/am-single/templates/am/wso2am-gateway-ingress.yaml @@ -26,7 +26,8 @@ metadata: spec: tls: - hosts: - - {{ .Values.wso2.deployment.am.ingress.gateway.hostname }} + - {{ .Values.wso2.deployment.am.ingress.management.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.ingress.management.hostname }} rules: - host: {{ .Values.wso2.deployment.am.ingress.gateway.hostname }} http: diff --git a/simple/am-single/templates/am/wso2am-ingress.yaml b/simple/am-single/templates/am/wso2am-ingress.yaml index afd562ce..1916197f 100644 --- a/simple/am-single/templates/am/wso2am-ingress.yaml +++ b/simple/am-single/templates/am/wso2am-ingress.yaml @@ -25,8 +25,9 @@ metadata: {{- end }} spec: tls: - - hosts: - - {{ .Values.wso2.deployment.am.ingress.management.hostname }} + - hosts: + - {{ .Values.wso2.deployment.am.ingress.management.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.ingress.management.hostname }} rules: - host: {{ .Values.wso2.deployment.am.ingress.management.hostname }} http: diff --git a/simple/am-single/templates/am/wso2am-websocket-ingress.yaml b/simple/am-single/templates/am/wso2am-websocket-ingress.yaml index ebcabfb2..5dc545f8 100644 --- a/simple/am-single/templates/am/wso2am-websocket-ingress.yaml +++ b/simple/am-single/templates/am/wso2am-websocket-ingress.yaml @@ -26,7 +26,8 @@ metadata: spec: tls: - hosts: - - {{ .Values.wso2.deployment.am.ingress.websocket.hostname }} + - {{ .Values.wso2.deployment.am.ingress.websocket.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.ingress.websocket.hostname }} rules: - host: {{ .Values.wso2.deployment.am.ingress.websocket.hostname }} http: diff --git a/simple/am-single/templates/am/wso2am-websub-ingress.yaml b/simple/am-single/templates/am/wso2am-websub-ingress.yaml index 4ff846d9..1002bfac 100644 --- a/simple/am-single/templates/am/wso2am-websub-ingress.yaml +++ b/simple/am-single/templates/am/wso2am-websub-ingress.yaml @@ -26,7 +26,8 @@ metadata: spec: tls: - hosts: - - {{ .Values.wso2.deployment.am.ingress.websub.hostname }} + - {{ .Values.wso2.deployment.am.ingress.websub.hostname }} + secretName: tls-{{ .Values.wso2.deployment.am.ingress.websub.hostname }} rules: - host: {{ .Values.wso2.deployment.am.ingress.websub.hostname }} http: