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

Artifacts copy step template #333

Closed
rafalbigaj opened this issue Oct 16, 2020 · 1 comment · Fixed by #336
Closed

Artifacts copy step template #333

rafalbigaj opened this issue Oct 16, 2020 · 1 comment · Fixed by #336

Comments

@rafalbigaj
Copy link
Contributor

/kind feature

Description:
Custom artifacts copy step requires access to specific secrets and env variables. It would be extremely useful to be able to provide a container template for this step in configuration.

Additional information:
The new configuration option ARTIFACT_COPY_STEP_TEMPLATE should allow to specify a artifacts copy step template, e.g.:

{
  "ARTIFACT_COPY_STEP_TEMPLATE": {
    "image": "us.icr.io/ai-lifecycle/cpdctl:0.1.59",
    "volumeMounts": [
      {"name": "cpdconfig", "mountPath": "/opt/app-root/src/cpdconfig", "readOnly": true}
    ],
    "env": [
      {"name": "CPDCONFIG", "value": "/opt/app-root/src/cpdconfig/config"},
      {"name": "SCOPE", "valueFrom": {"fieldRef": {"fieldPath": "metadata.labels['orchestration/scope']"}}}
    ]
  }
}
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the labels:

Label Probability
area/front-end 0.99

Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants