* remove DOCKER_REPO from operator
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* make generate and update CDI schema
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* cut down operator permissions
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* mage sure csv-generator is built but not included in operator image
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* create aggregate cluster roles
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* CDIConfig needs a ClusterRoleBinding so bind to system:authenticated for reading
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* comment out problematic test
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* operator needs upload.cdi.kubevirt.io permission
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* revert commented out tests
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
* CDI OLM update support
* Download latest CDI OLM manifest from marketplace to set replaces field
* Prevent from genarting a csv version that already exist in the marketplace
* * Vendor the bellow packages in order to be able to fetch existing CSV
- github.com/operator-framework/operator-marketplace
- github.com/go-openapi/spec
- github.com/go-openapi/validate
- github.com/go-openapi/errors
- github.com/go-openapi/analysis
- github.com/go-openapi/strfmt
- github.com/go-openapi/loads
- github.com/go-openapi/runtime
* lint bug-fix
* CR fixes
* CR typo fixes
* * Split catalogsource/operatorsource/subscription manifests to k8s and os
* Update OLM documentation
* rename bundle-helper.go file
* * change CDI repository name in quay from cdi to cdi-operatorhub
* Update cdi-operator-olm.md
- Generate OLM related manifests for CDI in _out/manifests/release/olm
OLM bundle:
- cdi CSV manifest
- cdi crd manifest
- cdi package manifest
- operatorsource manifest
- subscription manifest
- operatorgroup manifest
- Modify cdi-operator role not to be cluster-admin but more specific
- Move all final manifests to _out/manifests directory and update travis with new manifests location
- Provide API for vendoring CDI OLM manifests generation code
Note:
- OLM CSV update to be supported in a separate PR
- OLM bundle integration in travis is to be supported together with CSV update
When generating the CDI release manifest, allow the image names for the
controller, importer, and cloner pods to be changed.
Signed-off-by: Adam Litke <alitke@redhat.com>
Adds go templated controller manifest
Adds make targets for template generation
Removes hard coded version values
Enables template generation and publishing in CI