Add missing escalators
This commit is contained in:
parent
6d57a3c878
commit
95f11f80d5
27
flux/cluster/apps/misc/escalator-backend/deployment.yaml
Normal file
27
flux/cluster/apps/misc/escalator-backend/deployment.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: escalator-backend-deployment
|
||||||
|
namespace: misc
|
||||||
|
labels:
|
||||||
|
app: escalator-backend-deployment
|
||||||
|
keel.sh/policy: force
|
||||||
|
keel.sh/match-tag: "true"
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: escalator-backend-deployment
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: escalator-backend-deployment
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: escalator-backend-deployment
|
||||||
|
imagePullPolicy: Always
|
||||||
|
image: registry.asraphiel.dev/library/escalator-backend:main
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: registry-creds
|
17
flux/cluster/apps/misc/escalator-backend/ingress.yaml
Normal file
17
flux/cluster/apps/misc/escalator-backend/ingress.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: escalator-backend-deployment-ingress
|
||||||
|
namespace: misc
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: "escalator.asraphiel.dev"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: escalator-backend-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/misc/escalator-backend/service.yaml
Normal file
12
flux/cluster/apps/misc/escalator-backend/service.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: escalator-backend-deployment-service
|
||||||
|
namespace: misc
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: escalator-backend-deployment
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 80
|
||||||
|
targetPort: 8080
|
27
flux/cluster/apps/misc/escalator-display/deployment.yaml
Normal file
27
flux/cluster/apps/misc/escalator-display/deployment.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: escalator-display-deployment
|
||||||
|
namespace: misc
|
||||||
|
labels:
|
||||||
|
app: escalator-display-deployment
|
||||||
|
keel.sh/policy: force
|
||||||
|
keel.sh/match-tag: "true"
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: escalator-display-deployment
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: escalator-display-deployment
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: escalator-display-deployment
|
||||||
|
imagePullPolicy: Always
|
||||||
|
image: registry.asraphiel.dev/library/escalator-display:main
|
||||||
|
ports:
|
||||||
|
- containerPort: 3000
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: registry-creds
|
17
flux/cluster/apps/misc/escalator-display/ingress.yaml
Normal file
17
flux/cluster/apps/misc/escalator-display/ingress.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: escalator-display-deployment-ingress
|
||||||
|
namespace: misc
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: "escalator.asraphiel.dev"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: escalator-display-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/misc/escalator-display/service.yaml
Normal file
12
flux/cluster/apps/misc/escalator-display/service.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: escalator-display-deployment-service
|
||||||
|
namespace: misc
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: escalator-display-deployment
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 80
|
||||||
|
targetPort: 3000
|
|
@ -6,3 +6,5 @@ resources:
|
||||||
- whoami
|
- whoami
|
||||||
- tickets
|
- tickets
|
||||||
- escalator-admin
|
- escalator-admin
|
||||||
|
- escalator-display
|
||||||
|
- escalator-backend
|
||||||
|
|
Loading…
Reference in a new issue