|
|
@ -19,6 +19,7 @@ package main
|
|
|
|
import (
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
"context"
|
|
|
|
"fmt"
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"path/filepath"
|
|
|
|
"strings"
|
|
|
|
"strings"
|
|
|
|
"time"
|
|
|
|
"time"
|
|
|
|
|
|
|
|
|
|
|
@ -142,7 +143,7 @@ func createKsCmdRun(cmd *cobra.Command, args []string) error {
|
|
|
|
Interval: metav1.Duration{
|
|
|
|
Interval: metav1.Duration{
|
|
|
|
Duration: createArgs.interval,
|
|
|
|
Duration: createArgs.interval,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Path: kustomizationArgs.path.String(),
|
|
|
|
Path: filepath.ToSlash(kustomizationArgs.path.String()),
|
|
|
|
Prune: kustomizationArgs.prune,
|
|
|
|
Prune: kustomizationArgs.prune,
|
|
|
|
SourceRef: kustomizev1.CrossNamespaceSourceReference{
|
|
|
|
SourceRef: kustomizev1.CrossNamespaceSourceReference{
|
|
|
|
Kind: kustomizationArgs.source.Kind,
|
|
|
|
Kind: kustomizationArgs.source.Kind,
|
|
|
|