AzureAD auth question - kubernetes setup

I was using the below config for azure AD auth setup for the implementation

hub:
  config:
    AzureAdOAuthenticator:
     client_id: XXXXX
      client_secret: YYYY

I wanted to avoid this and read the values from a secret , hence tried to setup using ENV vars as below:

hub:
  extraEnv:
    OAUTH_CLIENT_ID: XXXX
    OAUTH_CLIENT_SECRET: YYY

But this doesnt seem to work. Is there anything I’m missing here?

Please can you give us more information? What exactly isn’t working- what errors do you see? Are both configurations broken, or is it only broken when you use the environment variables? Which version of Z2JH are you using?

@manics Sorry for delay in getting back to this. I was not able to get the env variable populated correctly into the hub earlier. I tried the whole re-installation and it seems to be working. Thanks for looking into this