Skip to content

Commit

Permalink
generate: make CSV generator for Go GVKs package-aware (operator-fram…
Browse files Browse the repository at this point in the history
…ework#4445)

internal/generatel/clusterserviceversion/bases/definitions: make the
owned CRD generator package- and type-aware so multiple packages
containing the same type names can be used.

Signed-off-by: Eric Stroczynski <ericstroczynski@gmail.com>
Signed-off-by: Rein van 't Veer <reinvantveer@gmail.com>
  • Loading branch information
Eric Stroczynski authored and reinvantveer committed Feb 5, 2021
1 parent fba8938 commit 83bdd1c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions changelog/fragments/csv-gen-package-aware.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
entries:
- description: >
For Go-based projects, `generate <bundle|packagemanifests>` subcommands now consider package and type names
when parsing Go API types files to generate a CSV's `owned.customresourcedefinitions`, such that types in
different packages and files will not overwrite each other.
kind: bugfix

0 comments on commit 83bdd1c

Please sign in to comment.