manual approval to prod
This commit is contained in:
@@ -3,4 +3,4 @@ kind: ConfigMap
|
||||
metadata:
|
||||
name: $DEPLOY
|
||||
data:
|
||||
ALLOWED_HOSTS: localhost,test.ducoterra.net
|
||||
ALLOWED_HOSTS: localhost,$DEPLOY.ducoterra.net
|
||||
@@ -7,10 +7,10 @@ metadata:
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- test.ducoterra.net
|
||||
- $DEPLOY.ducoterra.net
|
||||
secretName: letsencrypt
|
||||
rules:
|
||||
- host: test.ducoterra.net
|
||||
- host: $DEPLOY.ducoterra.net
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
@@ -29,7 +29,7 @@ spec:
|
||||
tls:
|
||||
secretName: letsencrypt
|
||||
routes:
|
||||
- match: Host(`test.ducoterra.net`)
|
||||
- match: Host(`$DEPLOY.ducoterra.net`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: $DEPLOY
|
||||
@@ -45,7 +45,7 @@ spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`test.ducoterra.net`)
|
||||
- match: Host(`$DEPLOY.ducoterra.net`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: $DEPLOY
|
||||
18
k8s/test/ingress.yaml
Normal file
18
k8s/test/ingress.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
ingress.kubernetes.io/ssl-redirect: "true"
|
||||
name: $DEPLOY
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- $DEPLOY.ducoterra.net
|
||||
secretName: letsencrypt
|
||||
rules:
|
||||
- host: $DEPLOY.ducoterra.net
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: $DEPLOY
|
||||
servicePort: 8000
|
||||
Reference in New Issue
Block a user