-
Notifications
You must be signed in to change notification settings - Fork 251
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
GMS authentication breaks datahub-system-update-job #265
Comments
This issue was introduced trough the usage as a datahub-helm/charts/datahub/templates/datahub-upgrade/datahub-system-update-job.yml Line 14 in 0361995
Is is even necessary to have it here as a pre-install hook?It is only used to upgrade existing environments. Besides that one could think about creating the secret in a pre-install hook too.
|
Since creating the
|
Any updates on this? |
Is there a temp fix or work around for this? |
As also mentioned by @HannesHil, the only viable option if you don't want to disable the update job is to (manually) generate the secrets up front and disable provisioning the secrets through the chart: datahub-helm/charts/datahub/values.yaml Lines 393 to 395 in f2269e3
|
I created 2 PRs which adds ability to remove helmhooks with everything still running normally (with the upgrade jobs) but I got no feedback and I kept adding to the PR because I am using my fork. If you'd like I can update my fork again to what I use and I will provide the registry to pull from. @mingz-work @nachiket-juneja @matthijsvanderloos |
This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io. For feature requests please use https://feature-requests.datahubproject.io |
This issue was closed because it has been inactive for 30 days since being marked as stale. |
Describe the bug
When enabling GMS authentication (via
global.datahub.metadata_service_authentication.enabled
), thedatahub-system-update-job
job fails to start on a fresh install of Datahub because it references thedatahub-auth-secrets
secret, which has not yet been created.To Reproduce
Run the following commands:
The output includes the spec for the
datahub-system-update-job
job. Note the reference todatahub-auth-secrets
for theDATAHUB_SYSTEM_CLIENT_SECRET
environment variable:Expected behavior
datahub-system-update-job
job starts and completes successfully during fresh install with GMS authentication enabled.Additional context
In addition to this issue, there are also duplicated environment variables in the job spec, see #261.
The text was updated successfully, but these errors were encountered: