Add leidsestraatweg site

This commit is contained in:
Julius 2022-08-18 09:15:09 +02:00
parent f46129163c
commit d876a94d9d
Signed by: j00lz
GPG key ID: AF241B0AA237BBA2
5 changed files with 63 additions and 0 deletions

View file

@ -5,3 +5,4 @@ resources:
- galerie-staging
- registry-creds.yaml
- ansichtkaarten
- weg

View file

@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: weg-deployment
namespace: family
labels:
app: weg-deployment
keel.sh/policy: force
keel.sh/match-tag: "true"
spec:
replicas: 1
selector:
matchLabels:
app: weg-deployment
template:
metadata:
labels:
app: weg-deployment
spec:
containers:
- name: weg-deployment
imagePullPolicy: Always
image: registry.asraphiel.dev/library/weg:main
ports:
- containerPort: 80
imagePullSecrets:
- name: registry-creds

View file

@ -0,0 +1,17 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: weg-deployment-ingress
namespace: family
spec:
rules:
- host: "weg.asraphiel.dev"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: weg-deployment-service
port:
number: 80

View file

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- ingress.yaml
- service.yaml

View file

@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: weg-deployment-service
namespace: family
spec:
selector:
app: weg-deployment
ports:
- protocol: TCP
port: 80
targetPort: 80