-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue with using external_source_url #48
Comments
Hey @theeheng, By the way, you can also join our Slack community so we can communicate their ! |
I just did a quick test using the latest hotfix 0.0.21, it still set OPAL Server the environment variable OPAL_DATA_CONFIG_SOURCES as
where the correct value for the environment variable should be the following when using external source url only:
here is the screenshot when i describe the pod after doing helm install and when i check the log for the opal server pod to see why its crashing it shows "you must provide ONLY ONE of these fields: config, external_source_url (type=value_error)" |
Hey @theeheng , |
For me it looks good, maybe i'm missing something ?
And here is the output when I run
|
I just tried with the sample value file you provided and name it as
I had minukube running on my machine and I run helm install with your latest changes in the
when I check my auth server pod using kubectl describe pods/xxxxxxxx, it still says :
I think you need to do helm install to actually see that the environment variable actually set incorrectly: |
I understand what happens here.
Hope it helps. |
I get the following error when i set the config to null :
I think its because in the schema json file it set the config type as object : |
That's really odd. Let me know if that works for you - you can also just grab a spot on my Calendly - https://calendly.com/razco/1-on-1-permit-io |
hi there, we are trying to use terraform to deploy the opal server with the latest version on the helm chart and notice that you have committed this changes 25731f6 recently to change the the default values file 'dataConfigSources' section:
which currently cause an issue when we set the value for external_source_url as follow:
When we deploy via terraform it will set the environment variable OPAL_DATA_CONFIG_SOURCES to {"config":{"entries":[]},"external_source_url":"http://xxx-xxx-xx-xxx"} and opal server is throwing the following error:
pydantic.error_wrappers.ValidationError: 1 validation error for ServerDataSourceConfig
root
you must provide ONLY ONE of these fields: config, external_source_url (type=value_error)
I think thats why the default values file was initially set with external_source_url as the first options rather than having the config -> entries as the first options.
I'm wondering if you able to revert this that part of the code changes in the value file or update the server template file to fix this issue.
The text was updated successfully, but these errors were encountered: