diff --git a/defaults/main.yml b/defaults/main.yml index 7f605bf..54e8dfc 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -199,6 +199,7 @@ hydra_oidc_post_logout_redirect_url: hydra_oidc_scope: openid email hydra_oidc_client_id: hydra_oidc_client_secret: +hydra_oidc_environment_opts: [] hydra_oidc_attributes_rewrite_rules: email: diff --git a/templates/cadoles-pod-hydra-oidc-v1.conf.j2 b/templates/cadoles-pod-hydra-oidc-v1.conf.j2 index a2432e9..e67f6ef 100644 --- a/templates/cadoles-pod-hydra-oidc-v1.conf.j2 +++ b/templates/cadoles-pod-hydra-oidc-v1.conf.j2 @@ -19,4 +19,7 @@ PODMAN_ARGS="\ -e 'CLIENT_ID_FC={{ hydra_oidc_client_id }}' \ -e 'CLIENT_SECRET_FC={{ hydra_oidc_client_secret }}' \ -e 'TRUSTED_PROXIES=127.0.0.1,10.0.2.0/24' \ + {% for item in hydra_oidc_environment_opts %} + -e '{{ item.environment_var_name }}={{ item.value }}' \ + {% endfor %} " \ No newline at end of file