Commit 8b5b84cd authored by Finn Herzfeld's avatar Finn Herzfeld 🌵

After much trial and tribulation, migrate to new k8s cluster

parent ae2e3bbe
Pipeline #1971 failed with stages
in 6 minutes and 55 seconds
.git
*.swp
.asset-cache/
deploy
build
COMMIT_EDITMSG
FETCH_HEAD
......
apiVersion: apps/v1
kind: Deployment
metadata:
name: finn-io
namespace: finn-io
labels:
app: finn-io
spec:
replicas: 2
selector:
matchLabels:
app: finn-io
template:
metadata:
labels:
app: finn-io
spec:
containers:
- name: nginx
image: registry.git.callpipe.com/finn/finn.io:master
ports:
- containerPort: 80
protocol: TCP
---
kind: Service
apiVersion: v1
metadata:
name: finn-io
namespace: finn-io
labels:
app: finn-io
spec:
ports:
- port: 80
targetPort: 80
selector:
app: finn-io
---
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
name: finn-io
namespace: finn-io
spec:
secretName: finn-io-tls
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
commonName: finn.io
acme:
config:
- http01:
ingressClass: traefik
domains:
- finn.io
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: finn-io-ingress
namespace: finn-io
annotations:
kubernetes.io/ingress.class: "traefik"
ingress.kubernetes.io/hsts-max-age: "315360000"
ingress.kubernetes.io/hsts-include-subdomains: "true"
ingress.kubernetes.io/hsts-preload: "true"
certmanager.k8s.io/cluster-issuer: letsencrypt-prod
kubernetes.io/tls-acme: "true"
spec:
rules:
- host: finn.io
http:
paths:
- backend:
serviceName: finn-io
servicePort: 80
tls:
- secretName: finn-io-tls
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment