update manifests

This commit is contained in:
Anibal Angulo
2025-11-28 11:08:02 -06:00
parent 5e4a155fed
commit a2a1ac7fa6
3 changed files with 9 additions and 10 deletions

View File

@@ -20,23 +20,20 @@ spec:
containers:
- name: playground
image: gitea.ia-innovacion.work/innovacion/playground:latest
env:
- name: VAULT_TOKEN
valueFrom:
secretKeyRef:
envFrom:
- secretRef:
name: playground-secret
key: VAULT_TOKEN
ports:
- containerPort: 80
- containerPort: 3000
readinessProbe:
httpGet:
path: /
port: 80
port: 3000
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: 80
port: 3000
initialDelaySeconds: 15
periodSeconds: 20

View File

@@ -2,6 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: playground-ingress
namespace: apps
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:

View File

@@ -2,13 +2,14 @@ apiVersion: v1
kind: Service
metadata:
name: playground-service
namespace: apps
labels:
app: playground
spec:
type: ClusterIP
selector:
app: playground
ports:
- port: 80
targetPort: 3000
protocol: TCP
type: ClusterIP