Files
auth0mock/k8s/deploy.yaml
T

46 lines
988 B
YAML
Raw Normal View History

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