From 65fffe437ee5133feda7a6c039a73e49695e4201 Mon Sep 17 00:00:00 2001 From: CrowleyRajapakse Date: Tue, 5 Mar 2024 15:13:15 +0530 Subject: [PATCH] fixing agent workflow --- .github/workflows/agent-integration-test.yml | 4 ++-- test/apim-apk-agent-test/agent-helm-chart/values.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/agent-integration-test.yml b/.github/workflows/agent-integration-test.yml index 5adff118a..fb73bb745 100644 --- a/.github/workflows/agent-integration-test.yml +++ b/.github/workflows/agent-integration-test.yml @@ -89,8 +89,8 @@ jobs: cd apk-repo/test/apim-apk-agent-test/agent-helm-chart helm dependency build helm install apim-apk-agent -n apk . --debug --wait --timeout 2m0s \ - --set controlPlane.serviceURL=https://apim-wso2am-cp-1-service:9443/ \ - --set controlPlane.eventListeningEndpoints="amqp://admin:admin@apim-wso2am-cp-1-service:5673?retries='10'&connectdelay='30'" \ + --set controlPlane.serviceURL=https://apim-wso2am-cp-1-service.apk.svc.cluster.local:9443/ \ + --set controlPlane.eventListeningEndpoints="amqp://admin:admin@apim-wso2am-cp-1-service.apk.svc.cluster.local:5673?retries='10'&connectdelay='30'" \ --set dataPlane.k8ResourceEndpoint=https://apk-wso2-apk-config-ds-service.apk.svc.cluster.local:9443/api/configurator/apis/generate-k8s-resources kubectl get pods -n apk kubectl get svc -n apk diff --git a/test/apim-apk-agent-test/agent-helm-chart/values.yaml b/test/apim-apk-agent-test/agent-helm-chart/values.yaml index 0fbb6327e..9f336ec2a 100644 --- a/test/apim-apk-agent-test/agent-helm-chart/values.yaml +++ b/test/apim-apk-agent-test/agent-helm-chart/values.yaml @@ -24,12 +24,12 @@ service: resources: {} controlPlane: enabled: true - serviceURL: https://apim-wso2am-cp-1-service:9443/ + serviceURL: https://apim-wso2am-cp-1-service.apk.svc.cluster.local:9443/ username: admin password: admin environmentLabels: Default skipSSLVerification: true - eventListeningEndpoints: amqp://admin:admin@apim-wso2am-cp-1-service:5672?retries='10'&connectdelay='30' + eventListeningEndpoints: amqp://admin:admin@apim-wso2am-cp-1-service.apk.svc.cluster.local:5672?retries='10'&connectdelay='30' dataPlane: enabled: true k8ResourceEndpoint: https://apk-wso2-apk-config-ds-service.apk.svc.cluster.local:9443/api/configurator/apis/generate-k8s-resources