mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 05:36:50 +08:00
get artifactRepository config separately
This commit is contained in:
@@ -119,6 +119,12 @@ func (c *Client) injectAutomatedFields(namespace string, wf *wfv1.Workflow, opts
|
||||
}
|
||||
}
|
||||
|
||||
// Get artifact repository config from current namespace
|
||||
wf.Spec.ArtifactRepositoryRef = &wfv1.ArtifactRepositoryRef{
|
||||
ConfigMap: "onepanel",
|
||||
Key: "artifactRepository",
|
||||
}
|
||||
|
||||
// Create dev/shm volume
|
||||
wf.Spec.Volumes = append(wf.Spec.Volumes, corev1.Volume{
|
||||
Name: "sys-dshm",
|
||||
|
Reference in New Issue
Block a user