You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "snazy (via GitHub)" <gi...@apache.org> on 2025/01/07 09:34:17 UTC

[I] Root `polaris-server.yml` not usable [polaris]

snazy opened a new issue, #620:
URL: https://github.com/apache/polaris/issues/620

   ### Describe the bug
   
   The `polaris-server.yml` in the root folder is made for testing purposes, and is by far not usable in production-ish setups. This is not nice and causes a lot of confusion and try-and-error round-trips - most of those errors aren't immediately visible to end users and only discoverable using an attached debugger.
   
   Summary of the issues:
   * The `default-realm` cannot be bootstrapped - something like `export POLARIS_BOOTSTRAP_DEFAULT-REALM_ROOT_CLIENT_ID=default_root_client`, as documented, does not work in e.g. `bash` - also: nothing says that the realm and principal name must be upper case in the env var names.
   * `oauth2` is configured to `test` - that doesn't make sense for prod use cases
   * `authenticator` same as for `oauth2`
   * `tokenBroker` is not configured and not mentioned at all in the config file
   * `defaultRealm` and `defaultRealms` options are at least confusing
   
   The code design makes it extremely hard for users, even engineers, to figure out that and even harder why things do not work.
   
   I propose to use this issue to come up with a better config mechanism via #469 and follow-ups.
   
   The default configuration should at least work.
   
   ### To Reproduce
   
   _No response_
   
   ### Actual Behavior
   
   _No response_
   
   ### Expected Behavior
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### System information
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Root `polaris-server.yml` not usable [polaris]

Posted by "snazy (via GitHub)" <gi...@apache.org>.
snazy closed issue #620: Root `polaris-server.yml` not usable
URL: https://github.com/apache/polaris/issues/620


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Root `polaris-server.yml` not usable [polaris]

Posted by "snazy (via GitHub)" <gi...@apache.org>.
snazy commented on issue #620:
URL: https://github.com/apache/polaris/issues/620#issuecomment-2592096564

   Closing after #469 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org