Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing apim docker image to amd64 arch #2055

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading