Add leidsestraatweg site
This commit is contained in:
parent
f46129163c
commit
d876a94d9d
|
@ -5,3 +5,4 @@ resources:
|
||||||
- galerie-staging
|
- galerie-staging
|
||||||
- registry-creds.yaml
|
- registry-creds.yaml
|
||||||
- ansichtkaarten
|
- ansichtkaarten
|
||||||
|
- weg
|
||||||
|
|
27
flux/cluster/apps/family/weg/deployment.yaml
Normal file
27
flux/cluster/apps/family/weg/deployment.yaml
Normal 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
|
17
flux/cluster/apps/family/weg/ingress.yaml
Normal file
17
flux/cluster/apps/family/weg/ingress.yaml
Normal 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
|
6
flux/cluster/apps/family/weg/kustomization.yaml
Normal file
6
flux/cluster/apps/family/weg/kustomization.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- deployment.yaml
|
||||||
|
- ingress.yaml
|
||||||
|
- service.yaml
|
12
flux/cluster/apps/family/weg/service.yaml
Normal file
12
flux/cluster/apps/family/weg/service.yaml
Normal 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
|
Loading…
Reference in a new issue