OIDC application-type set to 'true'
Summary
When using OIDC authentication type for StackGres, the quarkus 'application-type' variable is not set correctly to web-app. Instead it is set to 'true'.
Example configuration using helm:
authentication:
type: oidc
oidc:
tlsVerification: required
authServerUrl: https://<name>.okta.com
Result of this is a crashing web-ui/api container, with the following error:
kubectl -n stackgres-operator logs -f stackgres-restapi-5c978c4d48-5gj78
Defaulted container "stackgres-restapi" out of: stackgres-restapi, stackgres-adminui
One or more configuration errors have prevented the application from starting. The errors are:
- SRCFG00039: The config property quarkus.oidc.application-type with the config value "true" threw an Exception whilst being converted Cannot convert true to enum class io.quarkus.oidc.OidcTenantConfig$ApplicationType
Current Behaviour
Steps to reproduce
Setup OIDC auth in 1.6.0
Expected Behaviour
WebUI container boots
Possible Solution
Environment
- StackGres version:
- Kubernetes version:
- Cloud provider or hardware configuration: