Changed to match new provider style

This commit is contained in:
GeorgeRaven
2025-09-07 11:23:16 +01:00
parent 1615f826c2
commit 9f2a13ff6f
4 changed files with 10 additions and 6 deletions

View File

@@ -5,10 +5,10 @@ metadata:
spec:
deletionPolicy: Delete
providerConfigRef:
name: owncloak
name: {{ .Values.oidc.config.ref }}
forProvider:
realmIdRef:
name: {{ .Values.oidc.realm }}
name: {{ .Values.oidc.realm.ref }}
name: bytestash
description: "bytestash client for authentication"
accessType: CONFIDENTIAL

View File

@@ -6,7 +6,7 @@ spec:
deletionPolicy: Delete
forProvider:
realmIdRef:
name: {{ .Values.oidc.realm }}
name: {{ .Values.oidc.realm.ref }}
clientIdRef:
name: bytestash
defaultScopes:
@@ -21,4 +21,4 @@ spec:
# non-standard extras
- roles-in-all-tokens # Add keycloak variant of roles to all tokens
providerConfigRef:
name: owncloak
name: {{ .Values.oidc.config.ref }}

View File

@@ -1,4 +1,4 @@
{{ $issuerUrl := printf "https://auth.%s/realms/%s" .Values.environment.baseDomain .Values.oidc.realm }}
{{ $issuerUrl := printf "https://auth.%s/realms/%s" .Values.environment.baseDomain .Values.oidc.realm.name }}
apiVersion: v1
kind: ConfigMap
metadata:

View File

@@ -104,7 +104,11 @@ bytestash-bkp:
previous: # int e.g: 2
oidc:
realm: owncloak-deepcypher
realm:
name: deepcypher
ref: owncloak-deepcypher
config:
ref: owncloak
environment:
name: unknown # not to be used for hard checks but to display to user