diff --git a/pkg/patterns/declarative/kustomize/enabled.go b/pkg/patterns/declarative/kustomize/enabled.go index 8ecde726..e2050edb 100644 --- a/pkg/patterns/declarative/kustomize/enabled.go +++ b/pkg/patterns/declarative/kustomize/enabled.go @@ -13,7 +13,7 @@ import ( ) // Run calls the kustomize/api library to run `kustomize build`. This method is differentiated by go build -// tag `without-kustomize` +// tag `without_kustomize` func Run(ctx context.Context, fs filesys.FileSystem, manifestPath string) ([]byte, error) { log := log.FromContext(ctx) log.WithValues("manifestPath", manifestPath).Info("running kustomize") diff --git a/reconciler-options.md b/reconciler-options.md index c45de65e..70d23487 100644 --- a/reconciler-options.md +++ b/reconciler-options.md @@ -40,7 +40,7 @@ instead of matching the namespace of the DeclarativeObject ## WithApplyKustomize WithApplyKustomize runs the kustomize build to create final manifest. This feature needs the go dependency `kustomize/api`. If you do not need kustomize or want to use a conflict version of `kustomize/api`, you can opt out the kustomize and -the `kustomize/api` dependency via go build tag `without-kustomize`. e.g. `go run ./main.go -tags without-kustomize` +the `kustomize/api` dependency via go build tag `without_kustomize`. e.g. `go run ./main.go -tags without_kustomize` ## WithManagedApplication WithManagedApplication is a transform that will modify the Application object in the deployment to match the configuration of the rest of the deployment.