Update manifest.yaml
This commit is contained in:
parent
d611575adb
commit
c6a85ba9ca
1 changed files with 4 additions and 19 deletions
|
|
@ -10,7 +10,7 @@ data:
|
|||
APP_DEBUG: "${APP_1_LRVL_APP_DEBUG}"
|
||||
APP_URL: "https://www.${APP_1_LRVL_DOMAIN}"
|
||||
LOG_CHANNEL: "k8s"
|
||||
DB_HOST: "mariadb-service.common-services"
|
||||
DB_HOST: "mariadb.common-services"
|
||||
DB_DATABASE: "${APP_1_LRVL_DB_DATABASE}"
|
||||
DB_USERNAME: "${APP_1_LRVL_DB_USERNAME}"
|
||||
DB_PASSWORD: "${APP_1_LRVL_DB_PASSWORD}"
|
||||
|
|
@ -93,7 +93,7 @@ spec:
|
|||
targetPort: 443
|
||||
|
||||
---
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: ${CI_PROJECT_PATH_SLUG}-ingress-route
|
||||
|
|
@ -102,30 +102,15 @@ spec:
|
|||
- web
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`${APP_1_LRVL_DOMAIN}`, `www.${APP_1_LRVL_DOMAIN}`)
|
||||
- match: Host(`${APP_1_LRVL_DOMAIN}`) || Host(`www.${APP_1_LRVL_DOMAIN}`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: ${CI_PROJECT_PATH_SLUG}-service
|
||||
port: 80
|
||||
middlewares:
|
||||
- name: redirect-no-www-to-www
|
||||
namespace: common-services
|
||||
tls:
|
||||
secretName: $APP_1_LRVL_DOMAIN
|
||||
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: $APP_1_LRVL_DOMAIN
|
||||
spec:
|
||||
dnsNames:
|
||||
- $APP_1_LRVL_DOMAIN
|
||||
- www.${APP_1_LRVL_DOMAIN}
|
||||
secretName: $APP_1_LRVL_DOMAIN
|
||||
issuerRef:
|
||||
name: $APP_1_LRVL_CERT_ISSUER
|
||||
kind: ClusterIssuer
|
||||
secretName: $CRT_TLS_NAME
|
||||
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue