Skip to content

Conversation

njhale
Copy link
Member

@njhale njhale commented Apr 9, 2020

TODO:

  • add operator types
  • add make rule to generate deepcopy
  • generate deepcopy
  • add make rule to generate CRD specs
  • generate CRD specs
  • convenience getters for unmarshaled CRD
  • add webhook descriptions to CSV type and CRD spec

njhale and others added 11 commits April 1, 2020 13:24
Add the v2alpha1 group version and the initial Operator type definition.
In this form, the Operator type will support aggregating resource status
conditions to enable operator component discoverability.
Prevents fields of type *json.RawMessage from causing controller-gen to
output bad deepcopy types by switching to json.RawMessage. The
underlying type is []byte, so the fields remain semantically equivalent.
Add the generate and vendor rules to the Makefile. The generate rule
uses controller-gen to generate deepcopy types. The vendor rule updates
vendored dependencies and is a prereq of generate.
Update vendor directory to include the controller-tools dependency.
Add convenience getters that lazily unmarshal and memoize each of the latest CRDs.
Sync type definitions with the latest from OLM's repo. Update deepcopy
and manifests to match.
Add v1alpha2 types for OperatorGroup to fix a bad schemapatch on its CRD
spec. Regenerate CRDs, deepcopy, etc.
@ecordell
Copy link
Member

ecordell commented Apr 9, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 9, 2020
@njhale njhale merged commit 3973134 into operator-framework:master Apr 9, 2020
@njhale njhale deleted the op-disc-2 branch April 9, 2020 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants