oidc-test-client/deployment.yaml
2023-03-20 21:28:14 +02:00

61 lines
1.2 KiB
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: oidc-test-client
annotations:
kubernetes.io/ingress.class: shared
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
external-dns.alpha.kubernetes.io/target: traefik.codemowers.ee
spec:
rules:
- host: client-gab7y.codemowers.ee
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: oidc-test-client
port:
number: 3000
tls:
- hosts:
- "*.codemowers.ee"
---
apiVersion: v1
kind: Service
metadata:
name: oidc-test-client
spec:
type: ClusterIP
selector:
app: oidc-test-client
ports:
- protocol: TCP
port: 3000
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: oidc-test-client
labels:
app: oidc-test-client
spec:
selector:
matchLabels:
app: oidc-test-client
replicas: 1
template:
metadata:
labels:
app: oidc-test-client
spec:
containers:
- name: oidc-test-client
image: oidc-test-client
ports:
- containerPort: 3000