Add ansichtkaarten site
This commit is contained in:
parent
0ce5577c73
commit
6997a00979
27
flux/cluster/apps/family/ansichtkaarten/deployment.yaml
Normal file
27
flux/cluster/apps/family/ansichtkaarten/deployment.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: ansichtkaarten-deployment
|
||||||
|
namespace: family
|
||||||
|
labels:
|
||||||
|
app: ansichtkaarten-deployment
|
||||||
|
keel.sh/policy: force
|
||||||
|
keel.sh/match-tag: "true"
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: ansichtkaarten-deployment
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: ansichtkaarten-deployment
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: ansichtkaarten-deployment
|
||||||
|
imagePullPolicy: Always
|
||||||
|
image: registry.asraphiel.dev/library/ansichtkaarten:main
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: registry-creds
|
27
flux/cluster/apps/family/ansichtkaarten/ingress.yaml
Normal file
27
flux/cluster/apps/family/ansichtkaarten/ingress.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: ansichtkaarten-deployment-ingress
|
||||||
|
namespace: family
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: "groenehartansichtkaarten.nl"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: ansichtkaarten-deployment-service
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
- host: "ansichtkaarten.asraphiel.dev"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: ansichtkaarten-deployment-service
|
||||||
|
port:
|
||||||
|
number: 80
|
|
@ -0,0 +1,6 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- deployment.yaml
|
||||||
|
- ingress.yaml
|
||||||
|
- service.yaml
|
12
flux/cluster/apps/family/ansichtkaarten/service.yaml
Normal file
12
flux/cluster/apps/family/ansichtkaarten/service.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: ansichtkaarten-deployment-service
|
||||||
|
namespace: family
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: ansichtkaarten-deployment
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 80
|
||||||
|
targetPort: 80
|
Loading…
Reference in a new issue