add app set

This commit is contained in:
2025-11-24 16:49:46 +00:00
parent 11214c47f6
commit 6374bf9371
8 changed files with 121 additions and 373 deletions

View File

@@ -0,0 +1,41 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: mayacontigo-ocp
labels:
app: mayacontigo-ocp
spec:
replicas: 1
selector:
matchLabels:
app: mayacontigo-ocp
template:
metadata:
labels:
app: mayacontigo-ocp
spec:
imagePullSecrets:
- name: gitea-registry-cred
containers:
- name: mayacontigo-ocp
image: gitea.ia-innovacion.work/innovacion/mayacontigo-ocp:latest
env:
- name: VAULT_TOKEN
valueFrom:
secretKeyRef:
name: mayacontigo-ocp-secret
key: VAULT_TOKEN
ports:
- containerPort: 80
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 15
periodSeconds: 20

View File

@@ -0,0 +1,17 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: mayacontigo-ocp-vault
spec:
refreshInterval: "15s"
secretStoreRef:
name: vault-backend
kind: SecretStore
namespace: external-secrets
target:
name: mayacontigo-ocp-vault
data:
- secretKey: VAULT_TOKEN
remoteRef:
key: mayacontigo-ocp
property: VAULT_TOKEN

Submodule apps/redes-sociales deleted from ab2229fa26