oidc added

This commit is contained in:
2024-01-30 12:23:48 +01:00
parent 0bca4ba03b
commit 3c8d842e3b
3 changed files with 71 additions and 54 deletions

View File

@ -1,25 +1,25 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: oidc-python-example
name: nutri
labels:
app: oidc-python-example
app: nutri
spec:
replicas: 1
selector:
matchLabels:
app: oidc-python-example
app: nutri
template:
metadata:
labels:
app: oidc-python-example
app: nutri
spec:
containers:
- name: oidc-python-example
- name: nutri
image: %IMAGE%
envFrom:
- secretRef:
name: secrets
name: nutri-secrets
ports:
- containerPort: 8080
protocol: TCP
@ -27,11 +27,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: oidc-python-example
name: nutri
spec:
type: ClusterIP
selector:
app: oidc-python-example
app: nutri
ports:
- name: http
targetPort: 8080
@ -40,23 +40,23 @@ spec:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: oidc-python-example
name: nutri
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production-http
spec:
tls:
- hosts:
- oidc-python-example.hottis.de
secretName: oidc-python-example-cert
- nutri.hottis.de
secretName: nutri-cert
rules:
- host: oidc-python-example.hottis.de
- host: nutri.hottis.de
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: oidc-python-example
name: nutri
port:
number: 80