mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-05 17:44:44 +00:00
Ensure proper FS root is set while bootstrapping
This ensures relative paths to e.g. bases can be used. Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
938f2570ef
commit
5130a154e4
4 changed files with 39 additions and 19 deletions
|
|
@ -194,7 +194,7 @@ func installCmdRun(cmd *cobra.Command, args []string) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
applyOutput, err := utils.Apply(ctx, kubeconfigArgs, kubeclientOptions, filepath.Join(tmpDir, manifest.Path))
|
||||
applyOutput, err := utils.Apply(ctx, kubeconfigArgs, kubeclientOptions, tmpDir, filepath.Join(tmpDir, manifest.Path))
|
||||
if err != nil {
|
||||
return fmt.Errorf("install failed: %w", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue