Skip to content

Commit

Permalink
Merge pull request #2055 from CrowleyRajapakse/new-main4
Browse files Browse the repository at this point in the history
Changing apim docker image to amd64 arch
  • Loading branch information
CrowleyRajapakse authored Mar 1, 2024
2 parents 4d9931f + 4f86a5c commit 17126c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/agent-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ jobs:
helm repo add jetstack https://charts.jetstack.io
helm dependency build
helm install apim -n apk . --debug --wait --timeout 5m0s \
--set deployment.image.respository=sampathrajapakse/wso2am \
--set deployment.image.tag=4.3.0
--set wso2.deployment.image.registry=docker.io \
--set wso2.deployment.image.respository=rakhitharr/wso2am \
--set wso2.deployment.image.digest=sha256:6f647d64753462736bb1bc22b6fe675413278a02623a9c12609b3bc4d1f4a0ef
kubectl get pods -n apk
kubectl get svc -n apk
Expand Down Expand Up @@ -113,7 +114,7 @@ jobs:
with:
azcliversion: 2.44.1
inlineScript: |
az aks delete --resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} --name go-integ-${{ secrets.AKS_CLUSTER_NAME }}-${{ github.event.number || github.run_id }} --yes
az aks delete --resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} --name agent-integ-${{ secrets.AKS_CLUSTER_NAME }}-${{ github.event.number || github.run_id }} --yes
- name: Logout from azure
if: always()
uses: azure/CLI@v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
type: RuntimeDefault
containers:
- name: wso2am-control-plane
image: sampathrajapakse/wso2am:4.3.0
image: {{ .Values.wso2.deployment.image.registry }}/{{ .Values.wso2.deployment.image.repository }}@{{ .Values.wso2.deployment.image.digest }}
imagePullPolicy: {{ .Values.wso2.deployment.imagePullPolicy }}
env:
- name: PROFILE_NAME
Expand Down
8 changes: 4 additions & 4 deletions test/apim-apk-agent-test/apim-cp-helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ kubernetes:

securityContext:
# -- User ID of the container
runAsUser: 802
runAsUser: 10001
# -- Enable AppArmor profiles for the deployment
enableAppArmor: false

Expand Down Expand Up @@ -363,11 +363,11 @@ wso2:
# Container image configurations
image:
# -- Container registry hostname
registry: ""
registry: "docker.io"
# -- Azure ACR repository name consisting the image
repository: "sampathrajapakse/wso2am"
repository: "rakhitharr/wso2am"
# -- Docker image digest
digest: ""
digest: "sha256:6f647d64753462736bb1bc22b6fe675413278a02623a9c12609b3bc4d1f4a0ef"
# -- Refer to the Kubernetes documentation on updating images (https://kubernetes.io/docs/concepts/containers/images/#updating-images)
imagePullPolicy: Always

Expand Down

0 comments on commit 17126c1

Please sign in to comment.