* feat: upgrade to DWO 0.22.0
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
* chore: run go mod vendor
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
---------
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
* Update devworkspace-operator dependency version to v0.21.0
Update devworkspace-operator dependency to v0.21.0 and update vendor dir
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
* Add project clone container config field to CheCluster CR
Add field .spec.devEnvironments.projectCloneContainer to allow
configuring image, env, resources, and pull policy for the project clone
container.
This change reuses the existing Container struct for storing this
config, which means that
* The name field is ignored (it appears to be a discriminator for the
Deployment struct's containers[] field
* Defaults are handled differently:
* Default imagePullPolicy is the general pull policy for DWO, with
default value "Always" (instead of depending on tag as documented)
* Resource requirements set to "0" are interpreted as "do not set this
field"
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
* Add reconcile step that syncs CheCluster project clone to DevWorkspace
Sync the field CheCluster.devEnvironments.projectCloneConfig to the
DevWorkspaceOperatorConfig owned by the operator.
Update tests to cover new functionality.
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
---------
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
* Update DevWorkspace Operator dependency to v0.12.2
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
* Update vendor directory to include DWO v0.12.2
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
* Adapt Che routing solver to DevWorkspace Operator changes
Adapt code in Che RoutingSolver to accomodate changes in DWO that
disconnect DevWorkspaceRouting resources from the upstream Devfile API
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
* Set Go version to 1.16
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
* Update all Go images used to use Go 1.16
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
* Set up Go to use 1.16 in PR check GitHub actions
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
* Update RBAC
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
feat: Sync the git tls certificate configuration in a format digestable by DWO.
Other slightly related changes:
* Make sure the version content annotations survive across multiple conversions
between v1 and v2alpha1.
* Add DWO watch labels so that our stuff is picked up.
* irifrance/gini has moved to go-air/gini
* Update controller runtime for che-operator and related deps.
Controller runtime update to version v0.9.5
go-client update to version v0.21.3
Udaptated tests to the new controller runtime and go-client.
Use newer image puller.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Implements eclipse/che#19846.
Defines a new version of the CheCluster custom resource and implements
conversion functions from and to v1. The v2alpha1 is intentionally NOT
part of the CRD yet and is meant to be used only at runtime by
the operator code.
* Set <username>-che as default namespace for Che workspaces
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Co-authored-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
* latest go in devtools/go-toolset-rhel7 is go 1.14, so use that
Change-Id: Ib2ac4b85ebbf210e887012edb179a3146229df78
Signed-off-by: nickboldt <nboldt@redhat.com>
* Update go.mod
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
* Update modules.txt
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
* Allow the che-operator to install the Kubernetes Image Puller operator and configure a KubernetesImagePuller CR in the same namespace that che is installed in.
Adds a new field to the CheCluster CR, imagePuller, that will install the operator and create a CR if enabled. If disabled, it will uninstall and remove the image puller artifacts.
Signed-off-by: Tom George <tgeorge@redhat.com>
* Back off openshift oauth, when oauth can't be used
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Use freezed go modules.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Add newer olm bundle.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>