forked from innovacion/playground
update manifests
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user