v2 app deployment--templating mainly in manifest now.
This commit is contained in:
@@ -3,7 +3,6 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: example-admin
|
||||
namespace: example-admin
|
||||
labels:
|
||||
app: example-admin
|
||||
spec:
|
||||
|
||||
@@ -3,10 +3,9 @@ apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: example-admin
|
||||
namespace: example-admin
|
||||
spec:
|
||||
rules:
|
||||
- host: example-admin.{{ .cloud.internalDomain }}
|
||||
- host: "{{ .host }}"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
@@ -18,5 +17,5 @@ spec:
|
||||
number: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- example-admin.{{ .cloud.internalDomain }}
|
||||
- "{{ .host }}"
|
||||
secretName: wildcard-internal-wild-cloud-tls
|
||||
|
||||
@@ -3,4 +3,7 @@ install: true
|
||||
description: An example application that is deployed with internal-only access.
|
||||
version: 1.0.0
|
||||
defaultConfig:
|
||||
namespace: example-admin
|
||||
externalDnsDomain: '{{ .cloud.domain }}'
|
||||
host: '{{ .host }}'
|
||||
tlsSecretName: wildcard-internal-wild-cloud-tls
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: example-admin
|
||||
name: "{{ .namespace }}"
|
||||
|
||||
Reference in New Issue
Block a user