v2 app deployment--templating mainly in manifest now.
This commit is contained in:
@@ -4,7 +4,7 @@ kind: Ingress
|
||||
metadata:
|
||||
name: example-app
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: {{ .cloud.domain }}
|
||||
external-dns.alpha.kubernetes.io/target: "{{ .cloud.externalDnsTarget }}"
|
||||
external-dns.alpha.kubernetes.io/cloudflare-proxied: false
|
||||
|
||||
# Optional: Enable HTTPS redirection
|
||||
@@ -15,7 +15,7 @@ metadata:
|
||||
# traefik.ingress.kubernetes.io/auth-secret: basic-auth
|
||||
spec:
|
||||
rules:
|
||||
- host: example-app.{{ .cloud.domain }}
|
||||
- host: "{{ .host }}"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
@@ -27,5 +27,5 @@ spec:
|
||||
number: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- example-app.{{ .cloud.domain }}
|
||||
- "{{ .host }}"
|
||||
secretName: wildcard-wild-cloud-tls
|
||||
|
||||
@@ -3,4 +3,7 @@ install: true
|
||||
description: An example application that is deployed with public access.
|
||||
version: 1.0.0
|
||||
defaultConfig:
|
||||
namespace: example-app
|
||||
externalDnsDomain: '{{ .cloud.domain }}'
|
||||
host: example-app.{{ .cloud.domain }}
|
||||
tlsSecretName: wildcard-wild-cloud-tls
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: example-app
|
||||
name: "{{ .namespace }}"
|
||||
|
||||
Reference in New Issue
Block a user