Fixing oc-auth service, and hydra and keto integration
This commit is contained in:
parent
2738dd614c
commit
30b04e62c0
@ -28,7 +28,7 @@ dependencies:
|
|||||||
repository: "https://cowboysysop.github.io/charts/"
|
repository: "https://cowboysysop.github.io/charts/"
|
||||||
condition: mongo-express.enabled
|
condition: mongo-express.enabled
|
||||||
- name: hydra
|
- name: hydra
|
||||||
version: "0.50.2"
|
version: "0.50.6"
|
||||||
repository: "https://k8s.ory.sh/helm/charts"
|
repository: "https://k8s.ory.sh/helm/charts"
|
||||||
condition: hydra.enabled
|
condition: hydra.enabled
|
||||||
- name: keto
|
- name: keto
|
||||||
|
@ -4,6 +4,6 @@ dependencies:
|
|||||||
version: 0.1.0
|
version: 0.1.0
|
||||||
- name: hydra-maester
|
- name: hydra-maester
|
||||||
repository: file://../hydra-maester
|
repository: file://../hydra-maester
|
||||||
version: 0.50.2
|
version: 0.50.6
|
||||||
digest: sha256:f39e4a74150060c63515886f4905dce57e1a90419e5a5c530684f1a363686cda
|
digest: sha256:0799d168b3e83ce9b85a48ef5d3abb9a99f6cb2f8436be51d91f3612e6b2b2da
|
||||||
generated: "2024-11-28T10:30:15.53366383Z"
|
generated: "2024-12-16T15:04:47.361658969Z"
|
||||||
|
@ -9,7 +9,7 @@ dependencies:
|
|||||||
condition: maester.enabled
|
condition: maester.enabled
|
||||||
name: hydra-maester
|
name: hydra-maester
|
||||||
repository: file://../hydra-maester
|
repository: file://../hydra-maester
|
||||||
version: 0.50.2
|
version: 0.50.6
|
||||||
description: A Helm chart for deploying ORY Hydra in Kubernetes
|
description: A Helm chart for deploying ORY Hydra in Kubernetes
|
||||||
home: https://www.ory.sh/
|
home: https://www.ory.sh/
|
||||||
icon: https://raw.githubusercontent.com/ory/docs/master/docs/static/img/logo-hydra.svg
|
icon: https://raw.githubusercontent.com/ory/docs/master/docs/static/img/logo-hydra.svg
|
||||||
@ -30,4 +30,4 @@ sources:
|
|||||||
- https://github.com/ory/hydra
|
- https://github.com/ory/hydra
|
||||||
- https://github.com/ory/k8s
|
- https://github.com/ory/k8s
|
||||||
type: application
|
type: application
|
||||||
version: 0.50.2
|
version: 0.50.6
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# hydra
|
# hydra
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
A Helm chart for deploying ORY Hydra in Kubernetes
|
A Helm chart for deploying ORY Hydra in Kubernetes
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ A Helm chart for deploying ORY Hydra in Kubernetes
|
|||||||
|
|
||||||
| Repository | Name | Version |
|
| Repository | Name | Version |
|
||||||
|------------|------|---------|
|
|------------|------|---------|
|
||||||
| file://../hydra-maester | hydra-maester(hydra-maester) | 0.50.1 |
|
| file://../hydra-maester | hydra-maester(hydra-maester) | 0.50.5 |
|
||||||
| file://../ory-commons | ory(ory-commons) | 0.1.0 |
|
| file://../ory-commons | ory(ory-commons) | 0.1.0 |
|
||||||
|
|
||||||
## Values
|
## Values
|
||||||
@ -98,7 +98,7 @@ A Helm chart for deploying ORY Hydra in Kubernetes
|
|||||||
| deployment.serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
|
| deployment.serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
|
||||||
| deployment.serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
|
| deployment.serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
|
||||||
| deployment.serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
|
| deployment.serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
|
||||||
| deployment.startupProbe | object | `{"failureThreshold":5,"initialDelaySeconds":0,"periodSeconds":1,"successThreshold":1,"timeoutSeconds":1}` | Default probe timers |
|
| deployment.startupProbe | object | `{"failureThreshold":5,"initialDelaySeconds":1,"periodSeconds":1,"successThreshold":1,"timeoutSeconds":2}` | Default probe timers |
|
||||||
| deployment.strategy.rollingUpdate.maxSurge | string | `"25%"` | |
|
| deployment.strategy.rollingUpdate.maxSurge | string | `"25%"` | |
|
||||||
| deployment.strategy.rollingUpdate.maxUnavailable | string | `"25%"` | |
|
| deployment.strategy.rollingUpdate.maxUnavailable | string | `"25%"` | |
|
||||||
| deployment.strategy.type | string | `"RollingUpdate"` | |
|
| deployment.strategy.type | string | `"RollingUpdate"` | |
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: v0.0.34
|
appVersion: v0.0.36
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
icon: https://raw.githubusercontent.com/ory/docs/master/docs/static/img/logo-hydra.svg
|
icon: https://raw.githubusercontent.com/ory/docs/master/docs/static/img/logo-hydra.svg
|
||||||
name: hydra-maester
|
name: hydra-maester
|
||||||
type: application
|
type: application
|
||||||
version: 0.50.2
|
version: 0.50.6
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# hydra-maester
|
# hydra-maester
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
A Helm chart for Kubernetes
|
A Helm chart for Kubernetes
|
||||||
|
|
||||||
@ -20,6 +20,7 @@ A Helm chart for Kubernetes
|
|||||||
| deployment.automountServiceAccountToken | bool | `true` | This applications connects to the k8s API and requires the permissions |
|
| deployment.automountServiceAccountToken | bool | `true` | This applications connects to the k8s API and requires the permissions |
|
||||||
| deployment.dnsConfig | object | `{}` | Configure pod dnsConfig. |
|
| deployment.dnsConfig | object | `{}` | Configure pod dnsConfig. |
|
||||||
| deployment.extraAnnotations | object | `{}` | Deployment level extra annotations |
|
| deployment.extraAnnotations | object | `{}` | Deployment level extra annotations |
|
||||||
|
| deployment.extraEnv | list | `[]` | To set extra env vars for the container. |
|
||||||
| deployment.extraLabels | object | `{}` | Deployment level extra labels |
|
| deployment.extraLabels | object | `{}` | Deployment level extra labels |
|
||||||
| deployment.extraVolumeMounts | list | `[]` | |
|
| deployment.extraVolumeMounts | list | `[]` | |
|
||||||
| deployment.extraVolumes | list | `[]` | If you want to mount external volume |
|
| deployment.extraVolumes | list | `[]` | If you want to mount external volume |
|
||||||
@ -52,7 +53,7 @@ A Helm chart for Kubernetes
|
|||||||
| forwardedProto | string | `nil` | |
|
| forwardedProto | string | `nil` | |
|
||||||
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
||||||
| image.repository | string | `"oryd/hydra-maester"` | Ory Hydra-maester image |
|
| image.repository | string | `"oryd/hydra-maester"` | Ory Hydra-maester image |
|
||||||
| image.tag | string | `"v0.0.35-amd64"` | Ory Hydra-maester version |
|
| image.tag | string | `"v0.0.36"` | Ory Hydra-maester version |
|
||||||
| imagePullSecrets | list | `[]` | Image pull secrets |
|
| imagePullSecrets | list | `[]` | Image pull secrets |
|
||||||
| pdb.enabled | bool | `false` | |
|
| pdb.enabled | bool | `false` | |
|
||||||
| pdb.spec.maxUnavailable | string | `""` | |
|
| pdb.spec.maxUnavailable | string | `""` | |
|
||||||
|
@ -78,6 +78,13 @@ spec:
|
|||||||
ClientName is the human-readable string name of the client
|
ClientName is the human-readable string name of the client
|
||||||
to be presented to the end-user during authorization.
|
to be presented to the end-user during authorization.
|
||||||
type: string
|
type: string
|
||||||
|
deletionPolicy:
|
||||||
|
description:
|
||||||
|
Indicates if a deleted OAuth2Client custom resource should
|
||||||
|
delete the database row or not. Value 1 means deletion of
|
||||||
|
the OAuth2 client, value 2 means keep an orphan oauth2
|
||||||
|
client.
|
||||||
|
type: integer
|
||||||
frontChannelLogoutSessionRequired:
|
frontChannelLogoutSessionRequired:
|
||||||
default: false
|
default: false
|
||||||
description:
|
description:
|
||||||
|
@ -80,6 +80,10 @@ spec:
|
|||||||
{{- if .Values.deployment.extraVolumeMounts }}
|
{{- if .Values.deployment.extraVolumeMounts }}
|
||||||
{{- toYaml .Values.deployment.extraVolumeMounts | nindent 12 }}
|
{{- toYaml .Values.deployment.extraVolumeMounts | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.deployment.extraEnv }}
|
||||||
|
env:
|
||||||
|
{{- tpl (toYaml .Values.deployment.extraEnv) . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.deployment.resources | nindent 12 }}
|
{{- toYaml .Values.deployment.resources | nindent 12 }}
|
||||||
terminationMessagePath: /dev/termination-log
|
terminationMessagePath: /dev/termination-log
|
||||||
|
@ -12,7 +12,7 @@ image:
|
|||||||
# -- Ory Hydra-maester image
|
# -- Ory Hydra-maester image
|
||||||
repository: oryd/hydra-maester
|
repository: oryd/hydra-maester
|
||||||
# -- Ory Hydra-maester version
|
# -- Ory Hydra-maester version
|
||||||
tag: v0.0.35-amd64
|
tag: v0.0.36
|
||||||
# -- Image pull policy
|
# -- Image pull policy
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
@ -56,6 +56,9 @@ deployment:
|
|||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
# memory: 20Mi
|
# memory: 20Mi
|
||||||
|
|
||||||
|
# -- To set extra env vars for the container.
|
||||||
|
extraEnv: []
|
||||||
|
|
||||||
# -- If you want to mount external volume
|
# -- If you want to mount external volume
|
||||||
extraVolumes: []
|
extraVolumes: []
|
||||||
# - name: my-volume
|
# - name: my-volume
|
||||||
|
@ -345,8 +345,8 @@ deployment:
|
|||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
periodSeconds: 1
|
periodSeconds: 1
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 2
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 1
|
||||||
|
|
||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: false
|
||||||
|
|
||||||
|
@ -211,16 +211,21 @@ hydra:
|
|||||||
enabled: true
|
enabled: true
|
||||||
maester:
|
maester:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
secret:
|
||||||
|
enabled: false
|
||||||
|
nameOverride: hydra-secret
|
||||||
|
hashSumEnabled: false
|
||||||
hydra:
|
hydra:
|
||||||
dev: true
|
dev: true
|
||||||
|
existingSecret: hydra-secret
|
||||||
config:
|
config:
|
||||||
dsn: memory
|
dsn: memory
|
||||||
urls:
|
urls:
|
||||||
login: http://localhost/authentication/login
|
login: https://localhost-login/authentication/login
|
||||||
consent: http://localhost/consent/consent
|
consent: https://localhost-consent/consent/consent
|
||||||
logout: http://localhost/authentication/logout
|
logout: https://localhost-logout/authentication/logout
|
||||||
self:
|
self:
|
||||||
issuer: http://localhost/idp
|
issuer: http://dev-hydra-public:4444/
|
||||||
|
|
||||||
keto:
|
keto:
|
||||||
enabled: true
|
enabled: true
|
||||||
@ -357,12 +362,13 @@ argo-workflows:
|
|||||||
|
|
||||||
ocAuth:
|
ocAuth:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
enableTraefikProxyIntegration: true
|
||||||
image: oc/oc-auth:0.0.1
|
image: oc/oc-auth:0.0.1
|
||||||
authType: hydra
|
authType: hydra
|
||||||
keto:
|
keto:
|
||||||
adminRole: admin
|
adminRole: admin
|
||||||
hydra:
|
hydra:
|
||||||
openCloudOauth2ClientSecretName: oc-auth-got-secret
|
openCloudOauth2ClientSecretName: oc-oauth2-client-secret
|
||||||
ldap:
|
ldap:
|
||||||
bindDn: "cn=admin,dc=example,dc=com"
|
bindDn: "cn=admin,dc=example,dc=com"
|
||||||
binPwd: "admin@password"
|
binPwd: "admin@password"
|
||||||
|
@ -15,4 +15,17 @@ spec:
|
|||||||
name: {{ .Release.Name }}-hydra-public.{{ .Release.Namespace }}
|
name: {{ .Release.Name }}-hydra-public.{{ .Release.Namespace }}
|
||||||
passHostHeader: true
|
passHostHeader: true
|
||||||
port: 4444
|
port: 4444
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
type: Opaque
|
||||||
|
metadata:
|
||||||
|
name: hydra-secret
|
||||||
|
data:
|
||||||
|
dsn: bWVtb3J5
|
||||||
|
secretsCookie: U0prcFlUeDFZZWhPMFEyc3UweWlwcDdmZ1BaRmc2ajA=
|
||||||
|
secretsSystem: M3FwWnlpemIzbXc2cE80Q1l3Q1MyUVFmbXdOeVFpRzE=
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
@ -16,6 +16,9 @@ spec:
|
|||||||
port: 8080
|
port: 8080
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: strip-aggregator-prefix
|
- name: strip-aggregator-prefix
|
||||||
|
{{- if index .Values.ocAuth.enableTraefikProxyIntegration }}
|
||||||
|
- name: forward-auth
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
@ -14,6 +14,11 @@ spec:
|
|||||||
- kind: Service
|
- kind: Service
|
||||||
name: oc-auth-svc
|
name: oc-auth-svc
|
||||||
port: 8094
|
port: 8094
|
||||||
|
middlewares:
|
||||||
|
{{- if index .Values.ocAuth.enableTraefikProxyIntegration }}
|
||||||
|
- name: forward-auth
|
||||||
|
{{- end }}
|
||||||
|
- name: strip-auth-prefix
|
||||||
---
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
@ -23,5 +28,4 @@ spec:
|
|||||||
stripPrefix:
|
stripPrefix:
|
||||||
prefixes:
|
prefixes:
|
||||||
- "/auth"
|
- "/auth"
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
@ -5,22 +5,32 @@ metadata:
|
|||||||
name: open-cloud-client
|
name: open-cloud-client
|
||||||
spec:
|
spec:
|
||||||
grantTypes:
|
grantTypes:
|
||||||
- implicit
|
|
||||||
- refresh_token
|
- refresh_token
|
||||||
- authorization_code
|
- authorization_code
|
||||||
- client_credentials
|
- client_credentials
|
||||||
|
- implicit
|
||||||
responseTypes:
|
responseTypes:
|
||||||
- id_token
|
- id_token
|
||||||
- token
|
- token
|
||||||
- code
|
- code
|
||||||
scope: openid profile email roles
|
scope: openid profile email roles
|
||||||
secretName: oc-auth-got-secret
|
secretName: oc-oauth2-client-secret
|
||||||
redirectUris:
|
redirectUris:
|
||||||
- https://myapp.example.com/callback
|
- https://{{ .Values.host }}/auth/callback
|
||||||
postLogoutRedirectUris:
|
postLogoutRedirectUris:
|
||||||
- http://localhost:3000
|
- https://{{ .Values.host }}/auth/logout/
|
||||||
tokenEndpointAuthMethod: client_secret_post
|
tokenEndpointAuthMethod: client_secret_post
|
||||||
allowedCorsOrigins:
|
allowedCorsOrigins:
|
||||||
- http://localhost
|
- "http://0.0.0.0"
|
||||||
|
#---
|
||||||
|
#apiVersion: v1
|
||||||
|
#kind: Secret
|
||||||
|
#metadata:
|
||||||
|
# name: oc-auth-got-secret
|
||||||
|
# namespace: dev
|
||||||
|
#stringData:
|
||||||
|
# CLIENT_ID: {{ .Values.ocAuth.hydra.clientId }}
|
||||||
|
# CLIENT_SECRET: {{ .Values.ocAuth.hydra.clientSecret }}
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
31
opencloud/templates/oc-auth/rbac.yaml
Normal file
31
opencloud/templates/oc-auth/rbac.yaml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{{- if .Values.ocAuth.enabled }}
|
||||||
|
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: Role
|
||||||
|
metadata:
|
||||||
|
name: secret-reader-role
|
||||||
|
rules:
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["secrets"]
|
||||||
|
verbs: ["get", "list"]
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: RoleBinding
|
||||||
|
metadata:
|
||||||
|
name: secret-reader-binding
|
||||||
|
namespace: default
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: ocauth-sa
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
roleRef:
|
||||||
|
kind: Role
|
||||||
|
name: secret-reader-role
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
---
|
||||||
|
kind: ServiceAccount
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: ocauth-sa
|
||||||
|
{{- end }}
|
||||||
|
|
@ -15,6 +15,9 @@ spec:
|
|||||||
name: oc-catalog-svc
|
name: oc-catalog-svc
|
||||||
port: 8080
|
port: 8080
|
||||||
middlewares:
|
middlewares:
|
||||||
|
{{- if index .Values.ocAuth.enableTraefikProxyIntegration }}
|
||||||
|
- name: forward-auth
|
||||||
|
{{- end }}
|
||||||
- name: strip-catalog-prefix
|
- name: strip-catalog-prefix
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -16,6 +16,7 @@ spec:
|
|||||||
port: 8080
|
port: 8080
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: strip-datacenter-prefix
|
- name: strip-datacenter-prefix
|
||||||
|
- name: forward-auth
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
@ -15,8 +15,12 @@ spec:
|
|||||||
name: oc-peer-svc
|
name: oc-peer-svc
|
||||||
port: 8080
|
port: 8080
|
||||||
middlewares:
|
middlewares:
|
||||||
|
{{- if index .Values.ocAuth.enableTraefikProxyIntegration }}
|
||||||
|
- name: forward-auth
|
||||||
|
{{- end }}
|
||||||
- name: strip-peer-prefix
|
- name: strip-peer-prefix
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
|
@ -16,6 +16,10 @@ spec:
|
|||||||
port: 8080
|
port: 8080
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: strip-scheduler-prefix
|
- name: strip-scheduler-prefix
|
||||||
|
{{- if index .Values.ocAuth.enableTraefikProxyIntegration }}
|
||||||
|
- name: forward-auth
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
@ -16,6 +16,9 @@ spec:
|
|||||||
port: 8080
|
port: 8080
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: strip-shared-prefix
|
- name: strip-shared-prefix
|
||||||
|
{{- if index .Values.ocAuth.enableTraefikProxyIntegration }}
|
||||||
|
- name: forward-auth
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
@ -16,6 +16,10 @@ spec:
|
|||||||
port: 8080
|
port: 8080
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: strip-workflow-prefix
|
- name: strip-workflow-prefix
|
||||||
|
{{- if index .Values.ocAuth.enableTraefikProxyIntegration }}
|
||||||
|
- name: forward-auth
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
@ -16,6 +16,9 @@ spec:
|
|||||||
port: 8080
|
port: 8080
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: strip-workspace-prefix
|
- name: strip-workspace-prefix
|
||||||
|
{{- if index .Values.ocAuth.enableTraefikProxyIntegration }}
|
||||||
|
- name: forward-auth
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
@ -2,16 +2,22 @@ apiVersion: v1
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: opencloud-config
|
name: opencloud-config
|
||||||
|
annotations:
|
||||||
|
"helm.sh/hook": post-install
|
||||||
|
"helm.sh/hook-weight": "1" # Lower number runs first
|
||||||
|
"helm.sh/hook-delete-policy": hook-succeeded
|
||||||
data:
|
data:
|
||||||
|
OC_NAMESPACE: "{{ .Release.Namespace }}"
|
||||||
OC_ADMIN_ROLE: "{{ .Values.ocAuth.keto.adminRole }}"
|
OC_ADMIN_ROLE: "{{ .Values.ocAuth.keto.adminRole }}"
|
||||||
OC_PUBLIC_KEY_PATH: "/keys/public/public.pem"
|
OC_PUBLIC_KEY_PATH: "/keys/public/public.pem"
|
||||||
OC_PRIVATE_KEY_PATH: "/keys/private/private.pem"
|
OC_PRIVATE_KEY_PATH: "/keys/private/private.pem"
|
||||||
OC_CLIENT_SECRET: "{{ .Values.ocAuth.hydra.openCloudOauth2ClientSecretName }}"
|
OC_OAUTH2_CLIENT_SECRET_NAME: "{{ .Values.ocAuth.hydra.openCloudOauth2ClientSecretName }}"
|
||||||
OC_AUTH: "{{ .Values.ocAuth.authType }}"
|
OC_AUTH: "{{ .Values.ocAuth.authType }}"
|
||||||
OC_AUTH_CONNECTOR_HOST: "{{ .Release.Name }}-hydra-admin.{{ .Release.Namespace }}"
|
OC_AUTH_CONNECTOR_HOST: "{{ .Release.Name }}-hydra-admin.{{ .Release.Namespace }}"
|
||||||
|
OC_AUTH_CONNECTOR_PUBLIC_HOST: "{{ .Release.Name }}-hydra-public.{{ .Release.Namespace }}"
|
||||||
OC_AUTH_CONNECTOR_PORT: "4444"
|
OC_AUTH_CONNECTOR_PORT: "4444"
|
||||||
OC_AUTH_CONNECTOR_ADMIN_PORT: "4445"
|
OC_AUTH_CONNECTOR_ADMIN_PORT: "4445"
|
||||||
OC_PERMISSION_CONNECTOR_HOST: "{{ .Release.Name }}-keto-write.{{ .Release.Namespace }}"
|
OC_PERMISSION_CONNECTOR_HOST: "{{ .Release.Name }}-keto-read.{{ .Release.Namespace }}"
|
||||||
OC_PERMISSION_CONNECTOR_PORT: "80"
|
OC_PERMISSION_CONNECTOR_PORT: "80"
|
||||||
OC_PERMISSION_CONNECTOR_ADMIN_PORT: "80"
|
OC_PERMISSION_CONNECTOR_ADMIN_PORT: "80"
|
||||||
OC_LDAP_ENDPOINTS: "{{ .Release.Name }}-openldap.{{ .Release.Namespace }}.svc.cluster.local:389"
|
OC_LDAP_ENDPOINTS: "{{ .Release.Name }}-openldap.{{ .Release.Namespace }}.svc.cluster.local:389"
|
||||||
|
@ -4,5 +4,5 @@ metadata:
|
|||||||
name: forward-auth
|
name: forward-auth
|
||||||
spec:
|
spec:
|
||||||
forwardAuth:
|
forwardAuth:
|
||||||
address: "http://oc-auth-svc.{{ .Release.Namespace }}:8080/oc/forward"
|
address: "http://oc-auth-svc.{{ .Release.Namespace }}:8094/oc/forward"
|
||||||
trustForwardHeader: true
|
trustForwardHeader: true
|
||||||
|
Loading…
Reference in New Issue
Block a user