Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

generate (new CLI): add kustomize subcommand #3258

Merged
merged 1 commit into from
Jun 18, 2020

Conversation

estroz
Copy link
Member

@estroz estroz commented Jun 18, 2020

Description of the change:

  • cmd/operator-sdk/generate/kustomize: add kustomize manifests subcommand that generates kustomize bases and a kustomization.yaml in config/manifests. These files can be used by generate <bundle|packagemanifests>

Motivation for the change: Both bundle and packagemanifests generate the same set of kustomize files/bases, but in different directories. Instead of duplicating logic, generate kustomize manifests will now write operator-framework kustomize files to config/manifests.

Blocks #3257

/cc @hasbro17 @joelanford @jmrodri @bharathi-tenneti

/kind feature

@openshift-ci-robot openshift-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Jun 18, 2020
…ze files/bases,

but in different directories. Instead of duplicating logic, `generate kustomize manifests`
will now write operator-framework kustomize files to `config/manifests`.

* cmd/operator-sdk/generate/kustomize: add `kustomize manifests` subcommand that
generates kustomize bases and a `kustomization.yaml` in `config/manifests`.
These files can be used by `generate <bundle|packagemanifests>`
@estroz estroz force-pushed the feature/generate-kustomize branch from aaf757a to af0926f Compare June 18, 2020 03:02
Copy link
Member

@joelanford joelanford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 18, 2020
@estroz estroz merged commit c4799c3 into operator-framework:master Jun 18, 2020
@estroz estroz deleted the feature/generate-kustomize branch June 18, 2020 20:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants