[Python] Kubernetes secret keycloak in operator kopf

Discussão em 'Python' iniciado por Stack, Junho 26, 2025.

  1. Stack

    Stack Membro Participativo

    I have to create keaycloak user using kubernetes secret for the credential. For this, I create an operator that

    1. gets the secret defined in the custom resources
    2. Decode the secret
    3. Add it in the JSON file and send it in the Keycloak API

    Is there a way to mimic keycloak operator kubernetes secret case. In Keycloak operator, the secret is not decoded. keycloak performs substitution at runtime using the ${ENV_VAR} syntax.

    Thank you for your helm

    Continue reading...

Compartilhe esta Página