CI: Disable RKE integrated ingress-nginx controller
@@ -99,8 +99,15 @@ jobs:
id: create-cluster
run: |
curl -sfL https://get.rke2.io | sudo INSTALL_RKE2_METHOD=tar sh -
+ # Allow non-root user to read KUBECONFIG file
sudo sh -c "echo RKE2_KUBECONFIG_MODE=0644 > /etc/sysconfig/rke2-server"
+ # Disable RKE integrated ingress-nginx controller
+ sudo sh -c "mkdir -p /etc/rancher/rke2/config.yaml.d"
+ sudo sh -c "echo 'disable: rke2-ingress-nginx' > /etc/rancher/rke2/config.yaml.d/00-epinio.yaml"
+ # Start RKE cluster
sudo systemctl enable --now rke2-server
+ # Wait a "little" to let enough time for RKE cluster to be up and running
+ sleep 120
- name: Installation Acceptance Tests
env:
