Skip to content

Commit

Permalink
Enable L7 and k8s secrets in tests
Browse files Browse the repository at this point in the history
This enables the ingress controller (thus l7 proxy) in the test setups
as well as the tls secrets backend to be k8s.
This allows the L7 ans TLS connectivity tests to run.

Signed-off-by: Maartje Eyskens <[email protected]>
  • Loading branch information
meyskens committed Feb 24, 2023
1 parent ddd0822 commit 71ec07a
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/in-cluster-test-scripts/aks-azure-ipam-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ cilium install \
--azure-client-id "${AZURE_CLIENT_ID}" \
--azure-client-secret "${AZURE_CLIENT_SECRET}" \
--wait=false \
--helm-set ingressController.enabled=true \
--helm-set tls.secretsBackend=k8s \
--config monitor-aggregation=none
2 changes: 2 additions & 0 deletions .github/in-cluster-test-scripts/aks-byocni-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ cilium install \
--disable-check=az-binary \
--datapath-mode=aks-byocni \
--wait=false \
--helm-set ingressController.enabled=true \
--helm-set tls.secretsBackend=k8s \
--config monitor-aggregation=none
2 changes: 2 additions & 0 deletions .github/in-cluster-test-scripts/eks-tunnel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ cilium install \
--wait=false \
--config monitor-aggregation=none \
--datapath-mode=tunnel \
--helm-set ingressController.enabled=true \
--helm-set tls.secretsBackend=k8s \
--ipam cluster-pool

# Enable Relay
Expand Down
2 changes: 2 additions & 0 deletions .github/in-cluster-test-scripts/eks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ cilium install \
--version "${CILIUM_VERSION}" \
--cluster-name "${CLUSTER_NAME}" \
--wait=false \
--helm-set ingressController.enabled=true \
--helm-set tls.secretsBackend=k8s \
--config monitor-aggregation=none

# Enable Relay
Expand Down
2 changes: 2 additions & 0 deletions .github/in-cluster-test-scripts/external-workloads-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ cilium install \
--config monitor-aggregation=none \
--config tunnel=vxlan \
--kube-proxy-replacement=strict \
--helm-set ingressController.enabled=true \
--helm-set tls.secretsBackend=k8s \
--ipv4-native-routing-cidr="${CLUSTER_CIDR}"

# Enable Relay
Expand Down
4 changes: 3 additions & 1 deletion .github/in-cluster-test-scripts/gke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ cilium install \
--version "${CILIUM_VERSION}" \
--cluster-name "${CLUSTER_NAME}" \
--config monitor-aggregation=none \
--ipv4-native-routing-cidr="${CLUSTER_CIDR}"
--ipv4-native-routing-cidr="${CLUSTER_CIDR}" \
--helm-set ingressController.enabled=true \
--helm-set tls.secretsBackend=k8s

# Enable Relay
cilium hubble enable
Expand Down
4 changes: 4 additions & 0 deletions .github/in-cluster-test-scripts/multicluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ CONTEXT2=$(kubectl config view | grep "${CLUSTER_NAME_2}" | head -1 | awk '{prin
cilium install \
--version "${CILIUM_VERSION}" \
--context "${CONTEXT1}" \
--helm-set ingressController.enabled=true \
--helm-set tls.secretsBackend=k8s \
--cluster-name "${CLUSTER_NAME_1}" \
--cluster-id 1 \
--config monitor-aggregation=none \
Expand All @@ -20,6 +22,8 @@ cilium install \
cilium install \
--version "${CILIUM_VERSION}" \
--context "${CONTEXT2}" \
--helm-set ingressController.enabled=true \
--helm-set tls.secretsBackend=k8s \
--cluster-name "${CLUSTER_NAME_2}" \
--cluster-id 2 \
--config monitor-aggregation=none \
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ jobs:
--version=${{ env.cilium_version }} \
--wait=false \
--config monitor-aggregation=none \
--helm-set cni.chainingMode=portmap
--helm-set cni.chainingMode=portmap \
--helm-set ingressController.enabled=true \
--helm-set tls.secretsBackend=k8s
- name: Enable Relay
run: |
Expand All @@ -85,7 +87,10 @@ jobs:
- name: Install Cilium with IPsec Encryption
run: |
cilium install --version=${{ env.cilium_version}} --encryption=ipsec --kube-proxy-replacement=disabled
cilium install \
--version=${{ env.cilium_version}} \
--encryption=ipsec \
--kube-proxy-replacement=disabled
- name: Enable Relay
run: |
Expand Down

0 comments on commit 71ec07a

Please sign in to comment.