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

Mount secrets on argo workflow pods #584

Closed
filippomc opened this issue Oct 4, 2022 · 0 comments · Fixed by #585
Closed

Mount secrets on argo workflow pods #584

filippomc opened this issue Oct 4, 2022 · 0 comments · Fixed by #585
Assignees
Milestone

Comments

@filippomc
Copy link
Collaborator

filippomc commented Oct 4, 2022

This could be a good place:

Should try to match the logic here:

{{- if or (has "accounts" .app.harness.dependencies.hard) (eq .app.harness.name "accounts") }}

{{- if or (has "accounts" .app.harness.dependencies.hard) (eq .app.harness.name "accounts") }}

from cloudharness.workflows import operations, tasks, Secret
my_task = tasks.CustomTask('my-task', 'myapp-mytask', secrets=[Secret(name="accounts", path="/opt/cloudharness/resources/auth")])

Note that the accounts secret in the examples above is a special one and should be always mounted if the accounts application is part of the deployment

@afonsobspinto afonsobspinto self-assigned this Oct 4, 2022
afonsobspinto added a commit that referenced this issue Oct 4, 2022
@afonsobspinto afonsobspinto mentioned this issue Oct 6, 2022
16 tasks
@filippomc filippomc added this to the v2.0.0 milestone Oct 6, 2022
@afonsobspinto afonsobspinto linked a pull request Nov 4, 2022 that will close this issue
16 tasks
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 a pull request may close this issue.

2 participants