airshipctl/pkg/document
Matthew Fuller 52c5aedc63 Generate additional CRDs from API types
'make manifests' attempts to generate all airshipctl API types,
but several types throw errors and the resulting CRDs can't be
properly generated. This change:

- updates the controller-gen version to pull in a bug fix for the
  error 'map values must be a named type, not *ast.StarExpr'
- modifies the Templater type's Values member to be of type JSON
  since controller-gen does not support map[string]interface{},
  and unmarshals it separately in the templater itself
- adds 'image_repositories' to the VersionsCatalogueSpec struct
  to ensure it doesn't get deleted from the schema when manifests
  get regenerated
- checks in generated copies of all CRDs from airshipctl's API
  types, not just catalogues, to be used for validation

Closes: #574
Change-Id: I89a12cfd307a08da9aaec9773eac01169ea43ace
2021-06-25 19:10:25 +00:00
..
metadata Update metadata.yaml to kubernetes style 2021-06-04 03:34:31 +00:00
plugin Generate additional CRDs from API types 2021-06-25 19:10:25 +00:00
pull Change default manifest target path 2021-05-03 12:08:52 +00:00
repo Add document pull step to gate script runner 2020-09-25 00:39:28 -05:00
testdata Add phase tree command in package module 2021-01-06 19:38:54 +00:00
bundle.go Add validation phases 2021-04-22 11:37:12 -05:00
bundle_test.go Add ability to create bundle from bytes 2021-02-08 23:32:06 -06:00
constants.go Embed validation cfg into phase and plan definition 2021-06-11 15:37:38 +00:00
dochelper_baremetalhost.go Add copyright for missing files 2020-04-09 08:35:59 -05:00
dochelper_test.go Added unit test for dochelper, config 2020-07-14 16:48:03 -05:00
dochelper_utils.go Update ephemeral-bmc-secret to use base64 data 2021-06-07 15:17:17 -05:00
document.go Remove unnecessary code 2021-05-03 14:34:57 +03:00
document_test.go Fix typos 2020-09-21 02:49:33 -05:00
errors.go Remove unnecessary code 2021-05-03 14:34:57 +03:00
selectors.go Generate additional CRDs from API types 2021-06-25 19:10:25 +00:00
selectors_test.go Remove unnecessary code 2021-05-03 14:34:57 +03:00
tree.go Add phase tree command in package module 2021-01-06 19:38:54 +00:00
tree_test.go Add phase tree command in package module 2021-01-06 19:38:54 +00:00