tests - fix missing prestashop/kubernetes.yml

This commit is contained in:
bunkerity 2022-07-28 14:28:29 +02:00
parent 840b875f70
commit e8305b0b65
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
3 changed files with 23 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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