Skip to content

Commit

Permalink
Merge pull request #332 from yuwenma/align-go-tag
Browse files Browse the repository at this point in the history
fix: align go build tag delimiters to hyphen
  • Loading branch information
k8s-ci-robot committed May 5, 2023
2 parents 4cd1d8f + b66c5da commit c72ef4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/patterns/declarative/kustomize/enabled.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion reconciler-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c72ef4b

Please sign in to comment.