Files
auth0mock/k8s/deploy.yaml
T

46 lines
912 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: auth0mock
spec:
replicas: 1
selector:
matchLabels:
app: auth0mock
template:
metadata:
labels:
app: auth0mock
spec:
containers:
- name: auth0mock
image: registry.gitlab.com/unboundsoftware/auth0mock:${COMMIT}
imagePullPolicy: "IfNotPresent"
resources:
requests:
memory: 200Mi
limits:
memory: 300Mi
ports:
- containerPort: 3333
env:
- name: AUDIENCE
value: https://shiny.unbound.se
readinessProbe:
httpGet:
port: 3333
path: .well-known/jwks.json
---
apiVersion: v1
kind: Service
metadata:
name: auth0mock
labels:
app: auth0mock
spec:
ports:
- port: 3333
selector:
app: auth0mock
type: ClusterIP