-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
61b48c1
commit 53e85e6
Showing
42 changed files
with
41 additions
and
3,635 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,24 +56,20 @@ jobs: | |
if: github.event_name == 'pull_request_target' && contains(github.event.label.name, 'trigger-action') | ||
shell: sh | ||
run: | | ||
cd apk-repo/test/apim-apk-agent-test/apim-cp-helm-chart | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
helm repo add jetstack https://charts.jetstack.io | ||
helm dependency build | ||
helm install apim -n apk . --debug --wait --timeout 5m0s \ | ||
--set wso2.deployment.image.registry=docker.io \ | ||
--set wso2.deployment.image.respository=rakhitharr/wso2am \ | ||
--set wso2.deployment.image.digest=sha256:56c6625d60a01cba73cd8836d25f1469f6fec1e933e530d954064eeab4ef70b3 | ||
helm repo add wso2apim https://github.com/wso2/helm-apim/releases/download/cp-4.3.0-beta | ||
helm repo update | ||
helm install apim wso2apim/wso2am-cp --version 4.3.0-beta -f https://raw.githubusercontent.com/wso2/apk/main/helm-charts/sample/apim/cp/amd-values.yaml -n apk --debug --wait --timeout 5m0s | ||
kubectl get pods -n apk | ||
kubectl get svc -n apk | ||
- name: Helm release deploy APK DP | ||
if: github.event_name == 'pull_request_target' && contains(github.event.label.name, 'trigger-action') | ||
shell: sh | ||
run: | | ||
cd apk-repo/helm-charts | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
helm repo add jetstack https://charts.jetstack.io | ||
helm dependency build | ||
helm install apk-test-setup -n apk . --debug --wait --timeout 15m0s \ | ||
helm install apk -n apk . --debug --wait --timeout 15m0s \ | ||
--set wso2.apk.dp.commonController.deployment.controlplane.enabled=true \ | ||
--set wso2.apk.dp.commonController.deployment.controlplane.host="apim-apk-agent-service.apk.svc.cluster.local" \ | ||
--set wso2.apk.dp.commonController.deployment.controlplane.skipSSLVerification=true \ | ||
|
@@ -91,7 +87,7 @@ jobs: | |
helm install apim-apk-agent -n apk . --debug --wait --timeout 2m0s \ | ||
--set controlPlane.serviceURL=https://apim-wso2am-cp-1-service.apk.svc.cluster.local:9443/ \ | ||
--set controlPlane.eventListeningEndpoints="amqp://admin:[email protected]:5672?retries='10'&connectdelay='30'" \ | ||
--set dataPlane.k8ResourceEndpoint=https://apk-test-setup-wso2-apk-config-ds-service.apk.svc.cluster.local:9443/api/configurator/apis/generate-k8s-resources | ||
--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 | ||
- name: Run test cases | ||
|
@@ -114,10 +110,8 @@ jobs: | |
kubectl get tokenissuers -n apk | ||
kubectl get httproutes -n apk | ||
kubectl get pods -l app.kubernetes.io/name=apim-apk-agent | awk '{print $1}' | xargs -I{} kubectl logs {} -n apk | ||
helm uninstall apk-test-setup -n apk | ||
cd ../test/apim-apk-agent-test/apim-cp-helm-chart | ||
helm uninstall apk -n apk | ||
helm uninstall apim -n apk | ||
cd ../agent-helm-chart | ||
helm uninstall apim-apk-agent -n apk | ||
- name: Delete AKS cluster | ||
if: always() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...agent-test/agent-helm-chart/templates/cert-manager/certificates/apim-apk-issuer-cert.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: apim-apk-iss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YrOGJQK0t3czNVTS92RmZkNEdoMmFTMmI2Z093MjV0L1IwbERKVit3dEVDCkF3RUFBYU5qTUdFd0ZBWURWUjBSQkEwd0M0SUpiRzlqWVd4b2IzTjBNQjBHQTFVZERnUVdCQlNIQXhLb0tlWnMKWnMxbmkrRVhZVzc1Zk03MGJqQWRCZ05WSFNVRUZqQVVCZ2dyQmdFRkJRY0RBUVlJS3dZQkJRVUhBd0l3Q3dZRApWUjBQQkFRREFnVHdNQTBHQ1NxR1NJYjNEUUVCQ3dVQUE0SUJBUURHTDlTU0FjOHplWnBVb2loU2ExVnowZGNXCm5FR1lkdDdkQnB4U3ppcVJWSDVPNjJxVU92ZDhtbGh5M0h4N3B2Wm0yK2pKYjVMeEdKM2MvVzhGM211dDFTdGoKQVNFRXVsOWF4dXhvNWZuelVXazZBV20ycGFobEttZTBiSk8vdUJyY010WlU2TXdCdkU3NkEzZmgra1p6VlREbApMbjJUVG9ySlhydC9JQm5KdVZHT2UzWGxGTlMyMEo3bEtFUmt3UHZEZlhkZ25aSWlUYkcwdzliQUxVSmpROFUyCkFBUDlha2d1N3BMV0w3RzU1c1NWb2JGckJMSkVMZ3FxU1VUVXhBOXVybzYwRjFRMFVhWHBOd2h0MUJ3QTFVUEIKcys1T3ZmVzhnMWhkVmdWdmNmZUZIQk9oSTJOa1RtemRGRldKZTBFeE9Db3liR1dJZkZkYlZtalVZL2JSCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,5 @@ metrics: | |
enabled: false | ||
agent: | ||
mode: CPtoDP | ||
certmanager: | ||
enabled: true |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.