diff --git a/helm-charts/templates/data-plane/config-deployer/config-deploy-api-scope1.yaml b/helm-charts/templates/data-plane/config-deployer/config-deploy-api-create-scope.yaml similarity index 86% rename from helm-charts/templates/data-plane/config-deployer/config-deploy-api-scope1.yaml rename to helm-charts/templates/data-plane/config-deployer/config-deploy-api-create-scope.yaml index 56c499d44..670af7a7d 100644 --- a/helm-charts/templates/data-plane/config-deployer/config-deploy-api-scope1.yaml +++ b/helm-charts/templates/data-plane/config-deployer/config-deploy-api-create-scope.yaml @@ -20,9 +20,8 @@ kind: Scope metadata: labels: managed-by: "apk" - name: {{ template "apk-helm.resource.prefix" . }}-config-ds-scope-1 + name: {{ template "apk-helm.resource.prefix" . }}-api-create-scope namespace: {{ .Release.Namespace }} - uid: {{ template "apk-helm.resource.prefix" . }}-admin-ds-scope-1-uid spec: names: - apk:api_create diff --git a/helm-charts/templates/data-plane/config-deployer/config-deploy-api-route.yaml b/helm-charts/templates/data-plane/config-deployer/config-deploy-api-route.yaml index f30e10dd5..2a242bb00 100644 --- a/helm-charts/templates/data-plane/config-deployer/config-deploy-api-route.yaml +++ b/helm-charts/templates/data-plane/config-deployer/config-deploy-api-route.yaml @@ -38,7 +38,7 @@ spec: - extensionRef: group: dp.wso2.com kind: Scope - name: {{ template "apk-helm.resource.prefix" . }}-config-ds-scope-1 + name: {{ template "apk-helm.resource.prefix" . }}-api-create-scope type: ExtensionRef - matches: - path: @@ -53,7 +53,7 @@ spec: - extensionRef: group: dp.wso2.com kind: Scope - name: {{ template "apk-helm.resource.prefix" . }}-config-ds-scope-1 + name: {{ template "apk-helm.resource.prefix" . }}-api-create-scope type: ExtensionRef parentRefs: - group: "gateway.networking.k8s.io"