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

Update Istio to 1.13.4 #48

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
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
22 changes: 17 additions & 5 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,27 @@ jobs:
with:
version: v0.11.1
- name: Install Flux in Kubernetes Kind
run: flux install
run: flux install --registry docker.io/fluxcd
- name: Set Istio Gateway service type
run: |
kubectl -n flux-system create cm istio-version --from-literal=service=NodePort
- name: Setup cluster reconciliation
run: |
flux create source git flux-system \
--url=${{ github.event.repository.html_url }} \
--branch=${GITHUB_REF#refs/heads/}
kubectl apply -f - <<EOF > cat
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: GitRepository
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 15m
ref:
branch: ${GITHUB_REF#refs/heads/}
url: ${{ github.event.repository.html_url }}
ignore: |
/clusters/my-cluster/flux-system/
EOF

flux create kustomization flux-system \
--source=flux-system \
--path=./clusters/my-cluster
Expand All @@ -48,7 +60,7 @@ jobs:
flux get all --all-namespaces
- name: Test canary release
run: |
kubectl -n prod set image deployment/backend backend=ghcr.io/stefanprodan/podinfo:6.1.1
kubectl -n prod set image deployment/backend backend=docker.io/stefanprodan/podinfo:6.1.1
echo '>>> Waiting for canary finalization'
retries=25
count=0
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: backend
image: ghcr.io/stefanprodan/podinfo:5.0.0
image: docker.io/stefanprodan/podinfo:5.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9898
Expand Down
4 changes: 2 additions & 2 deletions apps/backend/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ resources:
- deployment.yaml
- hpa.yaml
images:
- name: ghcr.io/stefanprodan/podinfo
newName: ghcr.io/stefanprodan/podinfo
- name: docker.io/stefanprodan/podinfo
newName: docker.io/stefanprodan/podinfo
newTag: 6.1.0
patchesJson6902:
- path: deployment.patch.yaml
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: frontend
image: ghcr.io/stefanprodan/podinfo:5.0.0
image: docker.io/stefanprodan/podinfo:5.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9898
Expand Down
4 changes: 2 additions & 2 deletions apps/frontend/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ resources:
- deployment.yaml
- hpa.yaml
images:
- name: ghcr.io/stefanprodan/podinfo
newName: ghcr.io/stefanprodan/podinfo
- name: docker.io/stefanprodan/podinfo
newName: docker.io/stefanprodan/podinfo
newTag: 6.1.0
patchesJson6902:
- path: deployment.patch.yaml
Expand Down
2 changes: 1 addition & 1 deletion apps/loadtest/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
spec:
containers:
- name: loadtester
image: ghcr.io/fluxcd/flagger-loadtester:0.22.0
image: docker.io/weaveworks/flagger-loadtester:0.18.0
imagePullPolicy: IfNotPresent
ports:
- name: http
Expand Down
Loading