Use server-side apply for addons. Idenity as kops

This commit is contained in:
Ole Markus With 2021-10-23 08:16:38 +02:00
parent 727cdf73ad
commit e387ddee12
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ func Apply(data []byte) error {
return fmt.Errorf("error writing temp file: %v", err) return fmt.Errorf("error writing temp file: %v", err)
} }
_, err = execKubectl("apply", "-f", localManifestFile) _, err = execKubectl("apply", "-f", localManifestFile, "--server-side", "--force-conflicts", "--field-manager=kops")
return err return err
} }