Commit caeebb00 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

VHOST

parent 903b9550
......@@ -11,5 +11,5 @@ yelb:
image: $KUBECTL
script:
- NS=$(kubectl config view --minify --output 'jsonpath={..namespace}')
- HOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml
- HOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml | kubectl apply -f -
- VHOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml
- VHOST=yelb.$NS.$CLUSTER mo deploy/yelb.yaml | kubectl apply -f -
......@@ -66,7 +66,7 @@ metadata:
cert-manager.io/cluster-issuer: "letsencrypt-production"
spec:
rules:
- host: {{ HOST }}
- host: {{ VHOST }}
http:
paths:
- path: /
......@@ -79,7 +79,7 @@ spec:
tls:
- secretName: yelb-ingress-cert
hosts:
- {{ HOST }}
- {{ VHOST }}
---
apiVersion: apps/v1
kind: Deployment
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment