8dc80e28cd
Change labels in the deployment and service configurations from the custom format to the standard Kubernetes naming convention. This improves consistency and compatibility with Kubernetes tools and enhances maintainability.
46 lines
988 B
YAML
46 lines
988 B
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: 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.kubernetes.io/name: auth0mock
|
|
spec:
|
|
ports:
|
|
- port: 3333
|
|
selector:
|
|
app.kubernetes.io/name: auth0mock
|
|
type: ClusterIP
|