Skip to content

Commit

Permalink
feat: add oidc client config (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras authored Jun 21, 2024
1 parent c1b734e commit f18c5be
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 7 additions & 0 deletions src/main/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ app:
fieldPath: metadata.namespace
serviceAccount:
enabled: true
operator:
keycloak:
client:
enabled: true
spec:
kcConfig:
defaultClientScopes: [ ocx:ps-mfe:write ]

# Values: JOSDK_WATCH_CURRENT, JOSDK_ALL_NAMESPACES or comma separated list of namespaces
watchNamespaces: "JOSDK_WATCH_CURRENT"
6 changes: 2 additions & 4 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
%prod.quarkus.rest-client.product_store_client.url=http://onecx-product-store-svc:8080

# OIDC
#quarkus.rest-client.product_store_client.providers=io.quarkus.oidc.client.reactive.filter.OidcClientRequestReactiveFilter
#quarkus.oidc-client.client-id=${quarkus.application.name}
#quarkus.oidc-client.credentials.secret=
#quarkus.oidc-client.auth-server-url=
%prod.quarkus.rest-client.product_store_client.providers=io.quarkus.oidc.client.reactive.filter.OidcClientRequestReactiveFilter
%prod.quarkus.oidc-client.client-id=${quarkus.application.name}

# BUILD
quarkus.operator-sdk.helm.enabled=true
Expand Down

0 comments on commit f18c5be

Please sign in to comment.