Skip to content

generate (new CLI): add kustomize subcommand#3258

Merged
estroz merged 1 commit intooperator-framework:masterfrom
estroz:feature/generate-kustomize
Jun 18, 2020
Merged

generate (new CLI): add kustomize subcommand#3258
estroz merged 1 commit intooperator-framework:masterfrom
estroz:feature/generate-kustomize

Conversation

@estroz
Copy link
Copy Markdown
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
Copy Markdown
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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