Files
ota-admin-portal/k8s/templates/ingress.yaml
Rafi Greenberg b4d06cf52f CEC-1316 azure migration (#140)
* test portal azure

* :doh:

* runner

* WIP

* values

* letsencrypt + docker cache

* stg/prd

* portal things

* cleanup

* split build/deploy + temp stage deploy

* :doh:

* try this

* and prod

* this works for now, can improve later

* no need to specify azure anymore

Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>
2022-04-18 17:54:14 -04:00

25 lines
557 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
labels:
app: {{ .Chart.Name }}
name: {{ .Chart.Name }}
spec:
ingressClassName: nginx
rules:
- host: {{ .Values.ingress.hostname }}
http:
paths:
- backend:
service:
name: {{ .Chart.Name }}
port:
number: 80
path: /
pathType: ImplementationSpecific
tls:
- hosts:
- {{ .Values.ingress.hostname }}
secretName: {{ .Chart.Name }}-tls