Add example-app .
This commit is contained in:
31
apps/example-app/ingress.yaml
Normal file
31
apps/example-app/ingress.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: example-app
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: {{ (ds "config").cloud.domain }}
|
||||
external-dns.alpha.kubernetes.io/cloudflare-proxied: false
|
||||
|
||||
# Optional: Enable HTTPS redirection
|
||||
traefik.ingress.kubernetes.io/redirect-entry-point: https
|
||||
|
||||
# Optional: Enable basic auth
|
||||
# traefik.ingress.kubernetes.io/auth-type: basic
|
||||
# traefik.ingress.kubernetes.io/auth-secret: basic-auth
|
||||
spec:
|
||||
rules:
|
||||
- host: example-app.{{ (ds "config").cloud.domain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: example-app
|
||||
port:
|
||||
number: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- example-app.{{ (ds "config").cloud.domain }}
|
||||
secretName: wildcard-wild-cloud-tls
|
Reference in New Issue
Block a user