Skip to content

Commit 3828e8a

Browse files
authored
feat: integrate training-operator with ambient mesh (#292)
* feat: integrate training-operator with ambient mesh * terraform: update outputs.tf with new relations
1 parent 2195808 commit 3828e8a

File tree

10 files changed

+2183
-360
lines changed

10 files changed

+2183
-360
lines changed

.github/workflows/integrate.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ jobs:
5757
runs-on: ubuntu-24.04
5858
strategy:
5959
matrix:
60-
tox-environments:
60+
tox-environment:
6161
- integration
62+
- integration-ambient
6263
- integration-with-profiles
6364
steps:
6465
- name: Maximise GH runner space
@@ -76,8 +77,16 @@ jobs:
7677
sudo snap install concierge --classic
7778
sudo concierge prepare --trace
7879
80+
- name: Configure Cilium for Canonical K8s
81+
if: matrix.tox-environment == 'integration-ambient'
82+
run: |
83+
# Configure Cilium for Canonical K8s to work with Charmed Istio (Ambient mode)
84+
# See https://canonical-service-mesh-documentation.readthedocs-hosted.com/en/latest/how-to/use-charmed-istio-with-canonical-kubernetes/
85+
kubectl -n kube-system patch configmap cilium-config --type merge --patch '{"data":{"bpf-lb-sock-hostns-only":"true"}}'
86+
kubectl -n kube-system rollout restart daemonset cilium
87+
7988
- name: Run integration tests
80-
run: tox -e ${{ matrix.tox-environments }} -- --model testing
89+
run: tox -e ${{ matrix.tox-environment }} -- --model testing
8190

8291
- name: Capture k8s resources on failure
8392
run: |

0 commit comments

Comments
 (0)