shinyproxy-operator icon indicating copy to clipboard operation
shinyproxy-operator copied to clipboard

Pass environment variables to created shinyproxy instance when using DockerOperator

Open tjpalanca opened this issue 4 months ago • 1 comments

Hi,

I would like to ask for a way to pass the environment variables from the Shinyproxy Operator instance to the underlying created Shinyproxy instances in cases where the proxy config contains ${TEMPLATED_ENV_VARS} or specifies config using env vars.

This is useful for OIDC client secrets:

  # Filename: {realm-id}.shinyproxy.yaml
  # Authentication
  authentication: openid
  openid:
    auth-url:  ${AUTH0_DOMAIN}/authorize 
    token-url: ${AUTH0_DOMAIN}/oauth/token
    jwks-url: ${AUTH0_DOMAIN}/.well-known/jwks.json
    client-id: ${AUTH0_CLIENT_ID}                
    client-secret: ${AUTH0_CLIENT_SECRET}

Thank you for building shinyproxy - it's been such a versatile tool.

tjpalanca avatar Aug 03 '25 02:08 tjpalanca