flux/apps/simplysyncedllc-com/deployment.yaml

68 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2024-08-16 20:57:57 +00:00
apiVersion: v1
kind: Namespace
metadata:
name: simplysyncedllc-com
---
apiVersion: v1
kind: Service
metadata:
name: simplysyncedllc-com-svc
spec:
selector:
app: SimplySyncedLLC_com
ports:
- protocol: TCP
port: 3000
targetPort: 3000
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: simplysyncedllc-com
spec:
selector:
matchLabels:
app: SimplySyncedLLC_com
replicas: 2
template:
metadata:
labels:
app: SimplySyncedLLC_com
spec:
containers:
- name: simplysyncedllc-com-site
2024-08-21 05:20:45 +00:00
image: ghcr.io/simplysynced/simplysyncedllc_website:latest
2024-08-16 20:57:57 +00:00
ports:
2024-08-16 22:47:16 +00:00
- name: http
containerPort: 3000
protocol: TCP
envFrom:
- secretRef:
name: simplysyncedllc-com-secrets
2024-08-21 05:25:58 +00:00
imagePullSecrets:
2024-08-21 15:52:05 +00:00
- name: regcred
2024-08-16 20:57:57 +00:00
ingress:
enabled: true
className: nginx
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: simplysyncedllc-com-ingress
namespace: simplysyncedllc-com
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:
- host: simplysyncedllc.com
http:
paths:
- backend:
service:
name: simplysyncedllc-com-svc
port:
number: 3000
path: /
pathType: ImplementationSpecific