-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tests): improve tests with actual keycloak connection
feat(micronaut): upgrade to 1.3.7 and testing lib 1.2.3 feat(test): try to actually create keycloak connection in test feat(test): food-realm feat(test): keycloak username feat(test): connect realms to keycloak feat(test): client-example fix: more logs fix: try testing latest only fix: debug fix: create keycloak-auth secret and configure keycloak via values file fix: values file syntax fix: file path fix: debug keycloak fix: debug keycloak fix: debug keycloak fix: debug keycloak fix: debug keycloak fix: debug keycloak fix: debug keycloak fix: debug keycloak fix: rm debug stuff fix: revert pom version changes fix: keycloak crd expects a secret with pw fix: rm debug log fix: revert kind change fix: proxy forwarding fix: proxy forwarding fix: use secret to auth with same creds in keycloak and keycloak controller admin client connection fix: revert keycloak chart change
- Loading branch information
1 parent
977ade5
commit ee1d69c
Showing
9 changed files
with
108 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
extraEnv: | | ||
- name: KEYCLOAK_USER_FILE | ||
value: /secrets/keycloak-auth/username | ||
- name: KEYCLOAK_PASSWORD_FILE | ||
value: /secrets/keycloak-auth/password | ||
- name: PROXY_ADDRESS_FORWARDING | ||
value: "true" | ||
extraVolumeMounts: | | ||
- name: keycloak-auth | ||
mountPath: /secrets/keycloak-auth | ||
readOnly: true | ||
extraVolumes: | | ||
- name: keycloak-auth | ||
secret: | ||
secretName: keycloak-auth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
apiVersion: k8s.kiwigrid.com/v1beta1 | ||
kind: KeycloakClient | ||
metadata: | ||
name: client-example | ||
spec: | ||
keycloak: fully-configured-keycloak | ||
realm: food-realm | ||
clientId: client-example | ||
clientType: confidential | ||
defaultClientScopes: | ||
- profile | ||
- roles | ||
directAccessGrantsEnabled: true | ||
standardFlowEnabled: true | ||
implicitFlowEnabled: false | ||
redirectUris: | ||
- http://* | ||
- https://* | ||
mapper: | ||
- name: audience | ||
protocolMapper: oidc-audience-mapper | ||
config: | ||
claim.name: audience | ||
access.token.claim: "true" | ||
included.client.audience: client-example | ||
- name: username | ||
protocolMapper: oidc-usermodel-property-mapper | ||
config: | ||
access.token.claim: "true" | ||
claim.name: username | ||
jsonType.label: String | ||
user.attribute: username | ||
- name: clientRoles | ||
protocolMapper: oidc-usermodel-client-role-mapper | ||
config: | ||
access.token.claim: "true" | ||
claim.name: clientRoles | ||
jsonType.label: String | ||
multivalued: "true" | ||
- name: roles | ||
protocolMapper: oidc-usermodel-realm-role-mapper | ||
config: | ||
access.token.claim: "true" | ||
claim.name: roles | ||
jsonType.label: String | ||
multivalued: "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: k8s.kiwigrid.com/v1beta1 | ||
kind: KeycloakRealm | ||
metadata: | ||
name: food-realm | ||
spec: | ||
keycloak: fully-configured-keycloak | ||
realm: food-realm | ||
roles: | ||
- admin | ||
- member | ||
- service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters