Skip to content
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

[ci] Remove unnecessary worker-deploy-config secret #13343

Merged

Conversation

daniel-goldstein
Copy link
Contributor

Since #13211, all jobs by default have a deploy config mounted into the container. The worker-deploy-config secret is no longer necessary, so long as we properly configure the namespace that CI jobs need to talk to.

jigold
jigold previously requested changes Aug 1, 2023
@@ -3551,10 +3501,6 @@ steps:
namespace:
valueFrom: default_ns.name
mountPath: /user-tokens
- name: worker-deploy-config
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to set HAIL_DEFAULT_NAMESPACE for this job or was the secret not necessary?

Copy link
Contributor Author

@daniel-goldstein daniel-goldstein Aug 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The namespace is already specified in the command: hailctl curl {{ default_ns.name }}, so only the other parts of the deploy config (domain and location) were necessary, but those are now provided by the worker and don't change.

@daniel-goldstein daniel-goldstein force-pushed the no-longer-need-worker-deploy-config branch from 73be1bd to 6b5858d Compare August 2, 2023 13:52
@danking danking merged commit 763f431 into hail-is:main Aug 2, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants