public
Authored by avatar Dishant Pandya :speech_balloon:

Kubernetes Config for Keycloak OIDC

Federated Access Config for Kubernetes Login with OIDC

config 2.06 KiB
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMrRENDQWVDZ0F3SUJBZ0lNRnN3Mkx6ZDBETjJVMlB3Q01BMEdDU3FHU0liM0RRRUJDd1VBTUJneEZqQVUKQmdOVkJBTVREV3QxWW1WeWJtVjBaWE10WTJFd0hoY05Nakl3TVRFNU1EWTBOVFF3V2hjTk16SXdNVEU1TURZMApOVFF3V2pBWU1SWXdGQVlEVlFRREV3MXJkV0psY201bGRHVnpMV05oTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGCkFBT0NBUThBTUlJQkNnS0NBUUVBeS9NY2ZYbFE2bDNuWk1OWlBwUndySTBEU0JuVnFmekhEaXVkTnVwY2ZZM1EKZUgxS0ZUSG40bWZJQ1NmYWUyMlE3d2pXYU5IZVFwRGdEOWI2Q0ttQ3dScWZqVWFaVW5oc084QWpqck9EMlZ0UApkWW1ma3BkU0ozamI4aE1oS0ZLOXRRSEtZdnBmdmJYRmVrdHV5TlA2M0p5c2pPT1NhWWtuWHVDTmRmQmU2OThzClhqVmNWU0pPeU43cFpDc05ETW91d3FiTVJPcGJRTjcwQ1MrZ2o1SFRha0trZ25UaGtFK0pEbXcwN3dKbXc3b0UKUFFPRnhSMkRCTGdHMWhJemxZSjBnU1VlWUlFN3pMbkFQSVpmTVdtK0NpTm9Ic2p1M1lKa2pyN045THdFMlZHTApaVFJmK0JoUm9ZcXRpbUZudkhPMm5aQStBRGNzamNLRkdYZEJnLzNMRVFJREFRQUJvMEl3UURBT0JnTlZIUThCCkFmOEVCQU1DQVFZd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFRmdRVVRiYVp0bHRmVUFicW9PVHIKVmpRVldRNFh5L1F3RFFZSktvWklodmNOQVFFTEJRQURnZ0VCQUplbUhLeHpRUUx2R1RqVnFjUFdKc2lhRWRYSApQY1FKeXVaeURjWWdzWDNrT2twc0NjQURlZlJNSUtIWFFRQVQyN29FL3FjK1BqRE9kYnlBYytIbkIyZkR1YWtWClhsSjFZWE1aVWtwczljbkpHUmlkVFhZSllvS3kvdGt2U1RxUnN0NC9qeXhtbkgxdGprT1ZQS3l6YWgraG5NUzIKOXdzOGNBMXU5RkVicTA4VDl0KzhuR3RDM3dYaU1rOHNPSTNRckpUV1hCZDhSWUEvN1NpeFRNSGpIejhsUG1pVgpuRlF1MGlQamtsNVRLQTlZcmdmaGN4VnlyNjlrTnhaUHNhaEc1ZFdNWDdJM3o2NjEweWVaODFqNUIyNjVOMWJ6CnVUdDg0aUFUaExPaExOZjMwRTRHV0ViN0dGeDIxRFkxL3FYTlBJNm1VSGxYbG83K1JHSU5KTmhEbUJjPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
    server: https://api.kops.openxcell.dev
  name: kops.openxcell.dev
contexts:
- context:
    cluster: kops.openxcell.dev
    user: oidc
  name: kops.openxcell.dev
current-context: kops.openxcell.dev
kind: Config
preferences: {}
users:
- name: oidc
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args:
      - oidc-login
      - get-token
      - --oidc-issuer-url=https://auth.openxcell.dev/auth/realms/Openxcell
      - --oidc-client-id=kubernetes
      command: kubectl
      env: null
      interactiveMode: IfAvailable
      provideClusterInfo: false
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment