Upded the simple website yaml variant

This commit is contained in:
niggl committed 2022-05-14 20:55:39 +02:00
1 parent 6231300b8d
commit 79eca2ea7b
5 files changed
+23 -13

No files matched your search

+1
View File
@@ -14,6 +14,7 @@
* DNS: Creates a new cname entry for the provided domain pointing to our kubernetes cluster (k.odit.services)
* Ingress: Creates the IngressRoute for Traefik and Certificate for CertManager w/ Cloudflare DNS Verification
* Service: The Service that points Traefik to the right pod
* Simple Website: The Result of rendering the Jsonnet to yaml with TODO Prefixes
## Renovate
* Automerge: The full Renovate config w/ automerge (wait for CI Tests, Merge if successfull, Tag Reviewers if failed)
@@ -1,6 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
linkerd.io/inject: enabled
name: TODO:NAME
spec:
replicas: 1
+10
View File
@@ -0,0 +1,10 @@
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
name: TODO:NAME-dns
spec:
endpoints:
- dnsName: TODO:DOMAIN
recordType: CNAME
targets:
- k.odit.services
+2 -5
View File
@@ -2,7 +2,6 @@ apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: TODO:NAME
namespace: default
spec:
entryPoints:
- websecure
@@ -14,18 +13,16 @@ spec:
port: 80
tls:
secretName: TODO:NAME-cert
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: TODO:NAME-cert
namespace: default
spec:
commonName: TODO:DOMAIN
secretName: TODO:NAME-cert
dnsNames:
- TODO:DOMAIN
issuerRef:
kind: ClusterIssuer
name: letsencrypt-prod-dns
kind: ClusterIssuer
secretName: TODO:NAME-cert
+8 -8
View File
@@ -1,10 +1,10 @@
apiVersion: v1
kind: Service
metadata:
apiVersion: v1
kind: Service
metadata:
name: TODO:NAME
spec:
ports:
- port: 80
targetPort: 80
selector:
spec:
ports:
- port: 80
targetPort: TODO:PORT
selector:
app: TODO:NAME