Files
auth0mock/k8s/deploy.yaml
T
2026-01-09 09:01:26 +00:00

52 lines
1.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: auth0mock
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: auth0mock
template:
metadata:
labels:
app.kubernetes.io/name: auth0mock
spec:
containers:
- name: auth0mock
image: oci.unbound.se/unboundsoftware/auth0mock@sha256:c9d60b464b573f06311f85462a51bcd23213a81a923b6d1be9824b5d050c225f:${COMMIT}
imagePullPolicy: "IfNotPresent"
resources:
requests:
memory: 256Mi
limits:
memory: 512Mi
ports:
- containerPort: 3333
env:
- name: AUDIENCE
value: https://shiny.unbound.se
readinessProbe:
httpGet:
port: 3333
path: /.well-known/jwks.json
livenessProbe:
httpGet:
port: 3333
path: /.well-known/jwks.json
initialDelaySeconds: 10
periodSeconds: 30
---
apiVersion: v1
kind: Service
metadata:
name: auth0mock
labels:
app.kubernetes.io/name: auth0mock
spec:
ports:
- port: 3333
selector:
app.kubernetes.io/name: auth0mock
type: ClusterIP