Custom Resource Definition (CRD) for an OIDC connection

https://medium.com/@rasvihostings/custom-resource-definition-crd-for-an-oidc-connection-829c91f01d8d

For Application OIDC: You have several options:

a) Use Existing Solutions:

  • OAuth2 Proxy
  • Dex (OIDC identity provider)
  • Keycloak
  • cert-manager (for OIDC workload identity)

b) Create Custom Implementation:

  • Create your own CRD (like the example I will show the below)
  • Implement a custom controller to handle the OIDC logic

I want to walk through how to create a custom CRD for OIDC connection for your K8s applications.