Skip to content

Instantly share code, notes, and snippets.

@Alveel
Last active March 22, 2021 16:18
Show Gist options
  • Save Alveel/26a55f4c817913f1eba9efd9e2d04e5f to your computer and use it in GitHub Desktop.
Save Alveel/26a55f4c817913f1eba9efd9e2d04e5f to your computer and use it in GitHub Desktop.
group-sync-operator user/group mapping issue
apiVersion: config.openshift.io/v1
kind: OAuth
metadata:
name: cluster
spec:
identityProviders:
- mappingMethod: claim
name: $name
openID:
claims:
email:
- email
name:
- name
preferredUsername:
- preferred_username
clientID: tst-ocp1
clientSecret:
name: $secret_name
extraScopes: []
issuer: https://auth-acc.$my_domain/auth/realms/ARO-PLATFORM
type: OpenID
apiVersion: redhatcop.redhat.io/v1alpha1
kind: GroupSync
name: keycloak-groupsync
namespace: group-sync-operator
spec:
providers:
- keycloak:
credentialsSecret:
name: keycloak-group-sync
namespace: group-sync-operator
loginRealm: ARO-PLATFORM
realm: ARO-PLATFORM
scope: one
url: https://auth-acc.$my_domain
name: keycloak
schedule: 0 3 * * *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment