From a8155abfc6d0b5ef5c3fd7e38ddc6f58cda965af Mon Sep 17 00:00:00 2001 From: chashikajw Date: Mon, 16 Oct 2023 11:08:34 +0530 Subject: [PATCH] Fix route issues in CRs --- .../templates/control-plane/admin-ds/admin-domain-api.yaml | 2 -- .../backoffice-ds/backoffice-domain-api-httproute-2.yaml | 2 +- .../control-plane/backoffice-ds/backoffice-domain-api.yaml | 1 + .../control-plane/devportal-ds/devportal-domain-api.yaml | 1 + 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helm-charts/templates/control-plane/admin-ds/admin-domain-api.yaml b/helm-charts/templates/control-plane/admin-ds/admin-domain-api.yaml index 65e2c13ef..ea704186f 100644 --- a/helm-charts/templates/control-plane/admin-ds/admin-domain-api.yaml +++ b/helm-charts/templates/control-plane/admin-ds/admin-domain-api.yaml @@ -35,7 +35,5 @@ spec: - {{ template "apk-helm.resource.prefix" . }}-admin-ds-httproute-2 - {{ template "apk-helm.resource.prefix" . }}-admin-ds-httproute-3 - {{ template "apk-helm.resource.prefix" . }}-admin-ds-httproute-4 - - {{ template "apk-helm.resource.prefix" . }}-admin-ds-httproute-5 - - {{ template "apk-helm.resource.prefix" . }}-admin-ds-httproute-6 systemAPI: true {{- end -}} diff --git a/helm-charts/templates/control-plane/backoffice-ds/backoffice-domain-api-httproute-2.yaml b/helm-charts/templates/control-plane/backoffice-ds/backoffice-domain-api-httproute-2.yaml index 6f1dde75a..7f3ef64d8 100644 --- a/helm-charts/templates/control-plane/backoffice-ds/backoffice-domain-api-httproute-2.yaml +++ b/helm-charts/templates/control-plane/backoffice-ds/backoffice-domain-api-httproute-2.yaml @@ -49,7 +49,7 @@ spec: - extensionRef: group: dp.wso2.com kind: Scope - name: 01ee6795-ce0f-1e46-820d-1176222ae290 + name: {{ template "apk-helm.resource.prefix" . }}-backoffice-ds-scope-2 type: "ExtensionRef" matches: - method: "GET" diff --git a/helm-charts/templates/control-plane/backoffice-ds/backoffice-domain-api.yaml b/helm-charts/templates/control-plane/backoffice-ds/backoffice-domain-api.yaml index 1935e75e5..63d949994 100644 --- a/helm-charts/templates/control-plane/backoffice-ds/backoffice-domain-api.yaml +++ b/helm-charts/templates/control-plane/backoffice-ds/backoffice-domain-api.yaml @@ -35,5 +35,6 @@ spec: - {{ template "apk-helm.resource.prefix" . }}-backoffice-ds-httproute-1 - {{ template "apk-helm.resource.prefix" . }}-backoffice-ds-httproute-2 - {{ template "apk-helm.resource.prefix" . }}-backoffice-ds-httproute-3 + - {{ template "apk-helm.resource.prefix" . }}-backoffice-ds-httproute-4 systemAPI: true {{- end -}} diff --git a/helm-charts/templates/control-plane/devportal-ds/devportal-domain-api.yaml b/helm-charts/templates/control-plane/devportal-ds/devportal-domain-api.yaml index 7b9c994e3..e3eedfd25 100644 --- a/helm-charts/templates/control-plane/devportal-ds/devportal-domain-api.yaml +++ b/helm-charts/templates/control-plane/devportal-ds/devportal-domain-api.yaml @@ -35,5 +35,6 @@ spec: - {{ template "apk-helm.resource.prefix" . }}-devportal-ds-httproute-3 - {{ template "apk-helm.resource.prefix" . }}-devportal-ds-httproute-4 - {{ template "apk-helm.resource.prefix" . }}-devportal-ds-httproute-5 + - {{ template "apk-helm.resource.prefix" . }}-devportal-ds-httproute-6 systemAPI: true {{- end -}}