oidc added
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -2,10 +2,10 @@
|
||||
"web": {
|
||||
"issuer": "https://auth2.hottis.de/realms/hottis",
|
||||
"auth_uri": "https://auth2.hottis.de/ealms/hottis/protocol/openid-connect/auth",
|
||||
"client_id": "oidc-python-example",
|
||||
"client_id": "nutri",
|
||||
"client_secret": "%CLIENT_SECRET%",
|
||||
"redirect_uris": [
|
||||
"https://oidc-python-example.hottis.de/*"
|
||||
"http://localhost:8080/*"
|
||||
],
|
||||
"userinfo_uri": "https://auth2.hottis.de/realms/hottis/protocol/openid-connect/userinfo",
|
||||
"token_uri": "https://auth2.hottis.de/realms/hottis/protocol/openid-connect/token"
|
||||
|
Reference in New Issue
Block a user