diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index addc0e514..c05a1e111 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -378,8 +378,8 @@ jobs: # run: ./tests/main.py "docker" # - name: Run Autoconf tests # run: ./tests/main.py "autoconf" - - name: Run Swarm tests - run: ./tests/main.py "swarm" + # - name: Run Swarm tests + # run: ./tests/main.py "swarm" - name: Run Kubernetes tests run: ./tests/main.py "kubernetes" - name: Generate Linux packages and build test images diff --git a/examples/prestashop/docker-compose.yml b/examples/prestashop/docker-compose.yml index fd1ca5410..143799685 100644 --- a/examples/prestashop/docker-compose.yml +++ b/examples/prestashop/docker-compose.yml @@ -26,7 +26,6 @@ services: - USE_REVERSE_PROXY=yes - REVERSE_PROXY_URL=/ - REVERSE_PROXY_HOST=http://myps - # Remove the following lines after finishing the installation of PrestaShop - LIMIT_REQ_URL_1=/install/index.php - LIMIT_REQ_RATE_1=8r/s diff --git a/examples/prestashop/kubernetes.yml b/examples/prestashop/kubernetes.yml new file mode 100644 index 000000000..f67188654 --- /dev/null +++ b/examples/prestashop/kubernetes.yml @@ -0,0 +1,21 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: ingress + annotations: + bunkerweb.io/AUTO_LETS_ENCRYPT: "yes" + bunkerweb.io/www.example.com_MAX_CLIENT_SIZE: "50m" + bunkerweb.io/www.example.com_LIMIT_REQ_URL_1: "/install/index.php" + bunkerweb.io/www.example.com_LIMIT_REQ_RATE_1: "8r/s" +spec: + rules: + - host: www.example.com + http: + paths: + path: / + pathType: Prefix + backend: + service: + name: prestashop + port: + number: 80 \ No newline at end of file