mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-25 17:12:50 +00:00
fix: artifact package exclude `certs` (#2396)
* fix: graceful delete runtime dir. Signed-off-by: joyceliu <joyceliu@yunify.com> * fix: graceful delete runtime dir. Signed-off-by: joyceliu <joyceliu@yunify.com> * fix: artifact package exclude `certs` Signed-off-by: joyceliu <joyceliu@yunify.com> --------- Signed-off-by: joyceliu <joyceliu@yunify.com> Co-authored-by: joyceliu <joyceliu@yunify.com>
This commit is contained in:
parent
d2ea25dffe
commit
e22d6f6db2
|
|
@ -56,6 +56,8 @@ func newArtifactExportCommand() *cobra.Command {
|
|||
return err
|
||||
}
|
||||
}
|
||||
// when package an artifact, should not contains certs
|
||||
pipeline.Spec.SkipTags = []string{"certs"}
|
||||
|
||||
return run(ctx, pipeline, config, inventory)
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue