flux/apps/simplysyncedllc-com/deployment.yaml

66 lines
1.3 KiB
YAML
Raw 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
image: gitea.simplysyncedllc.com/dex/ss_website:1.1.0
ports:
2024-08-16 22:47:16 +00:00
- name: http
containerPort: 3000
protocol: TCP
envFrom:
- secretRef:
name: simplysyncedllc-com-secrets
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