mirror of
https://github.com/ko-build/ko.git
synced 2025-03-17 20:47:51 +02:00
Fix issue where kubectl apply is run in place of kubectl create (#494)
This commit is contained in:
parent
0015a81537
commit
de2ce53efb
@ -86,7 +86,7 @@ func addCreate(topLevel *cobra.Command) {
|
||||
// Issue a "kubectl create" command reading from stdin,
|
||||
// to which we will pipe the resolved files, and any
|
||||
// remaining flags passed after '--'.
|
||||
argv := []string{"apply", "-f", "-"}
|
||||
argv := []string{"create", "-f", "-"}
|
||||
if kflags := kf.Values(); len(kflags) != 0 {
|
||||
skflags := strings.Join(stripPassword(kflags), " ")
|
||||
log.Printf(kubectlFlagsWarningTemplate,
|
||||
|
Loading…
x
Reference in New Issue
Block a user