* Bump Alizer to the latest commit at this time [1]
Amongst other things, this fixes an issue when analyzing large projects,
by preventing potential panics when trying to detect application ports.
[1] 14114f066c
* Downgrade and pin the versions of 'sigs.k8s.io/controller-runtime' and 'k8s.io/*' to the previous versions we had
Bumping Alizer bumped these packages to upper versions,
which seems to cause build errors due to Service Binding Operator
libraries not compatible with those new versions.
See the error below.
Since we don't want to update SBO libraries at this time
(as SBO is currently in maintenance mode only),
this makes sure we are using the versions it builds against.
Build error for reference:
```
go install -mod=vendor -ldflags="-X github.com/redhat-developer/odo/pkg/version.GITCOMMIT=cb9c13900" ./cmd/odo/
# github.com/redhat-developer/service-binding-operator/apis/spec/v1alpha3
vendor/github.com/redhat-developer/service-binding-operator/apis/spec/v1alpha3/servicebinding_webhook.go:44:27: cannot use &ServiceBinding{} (value of type *ServiceBinding) as type admission.Validator in variable declaration:
*ServiceBinding does not implement admission.Validator (wrong type for ValidateCreate method)
have ValidateCreate() error
want ValidateCreate() (warnings admission.Warnings, err error)
# github.com/redhat-developer/service-binding-operator/apis/binding/v1alpha1
vendor/github.com/redhat-developer/service-binding-operator/apis/binding/v1alpha1/servicebinding_webhook.go:37:27: cannot use &ServiceBinding{} (value of type *ServiceBinding) as type admission.Validator in variable declaration:
*ServiceBinding does not implement admission.Validator (wrong type for ValidateCreate method)
have ValidateCreate() error
want ValidateCreate() (warnings admission.Warnings, err error)
make: *** [Makefile:90: install] Error 2
```
* Fix expected output in doc automation tests
* update go version to 1.17
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* update go version to 1.17 and fix failure
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* Adds support for linking using service binding without the service binding operator
* Uses isLinkResource() to detect the service binding resources
* Updates the success message for operator based links
* Updates the flow to creating the deployment first
* Adds annotations to the Redis CR in devfile-with-link.yaml file
* Updates the flow to create only the services before the deployment.
It also separates the push related code for link and service creation.
* Moves the for loop in setLinksServiceNames() inside the if condition
* Adds and returns a error message when the pipeline throws a forbidden type of error
* Moves the updation of services and pvcs with owner references before attempting creation of links
* update to openshift 4.7 and sbo 0.7.0
* use server side apply for updating deployments
* go mod vendor
* use ApplyDeployment instad Patch and Create
* fix login message
* update unit tests to work with ApplyDeployment function
* fall back to Create/Update for k8s older than 1.16
* abstract fieldManager into const
* fix operator-framework imports
* Makes odo work with v0.3.0 of Service Binding Operator
* Self-review of documentation
* Change from SBR to SB in integration test
* Fix Group and Kind when checking for SB support
* switch to go modules
* update vendor (go mod vendor)
* swithing to go mod: update docs and makefile
* update goget-tools
* use go mod verify to check vendor
* Update goget-tools
- pin goget-tools versions
- update gikgo to 1.14.0
- reset GOFLAGS for goget-tools
- fix ginkgo get for Prow
* go mod: replace github.com/kr/pty with github.com/creack/pty
* update vendor (go mod vendor)
* fix make cross target
-mod=vendor was not used for corss compiling
* debuging timeout issue
* use httpcaching (15min) for registry related requests
* update vendor
* add RegistryCacheTime preference option
* fix preference unit test
* add DownloadFileWithCache function
* address PR review comments
* address PR review comments
* errors related to caching should not be fatal
* cleaner cache logging
* Add dependency on service binding operator
* Add extra dependencies for service binding operator
* Adds support for odo link between component and operator hub service
* Add owner reference for the link
* Deals with inability to install SBO the OLM way on k8s
https://github.com/redhat-developer/service-binding-operator/issues/536
* Adds and removes 'odo link' entry to/from env.yaml
* Makes odo push set appropriate "envFrom" for a podTemplateSpec
* Changes to unit test & those based on PR feedback
* Rebase and "glide update -v"
* Make the linter happy. Remove unused variables
* Fix unit test of envinfo to include 'link' paramter
* Move 'odo link' tests under operator hub tests
* Install SBO on the cluster
* Changes as per PR feedback
* Check for Operator before trying to create a link
* Change error message expected in tests
* Make example less confusing by using less 'example'