-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates for operator sdk v1.28 (#45)
* required changes to update operator sdk Signed-off-by: Michael Valdron <mvaldron@redhat.com> * ginkgo v2 migration changes. Signed-off-by: Michael Valdron <mvaldron@redhat.com> * remove extra ENVTEST definition Signed-off-by: Michael Valdron <mvaldron@redhat.com> * dependencies updated to match operator sdk v1.28 requirements Signed-off-by: Michael Valdron <mvaldron@redhat.com> * refactoring controllers package to internal/controller package as part of go/v4 prep changes in operator sdk v1.28 Signed-off-by: Michael Valdron <mvaldron@redhat.com> * bump gcr.io/kubebuilder/kube-rbac-proxy from v0.13.0 to v0.13.1 as part of operator sdk v1.28 changes Signed-off-by: Michael Valdron <mvaldron@redhat.com> * refactoring main.go to cmd/main.go as part of go/v4 prep changes in operator sdk v1.28 Signed-off-by: Michael Valdron <mvaldron@redhat.com> * update header under integration test source Signed-off-by: Michael Valdron <mvaldron@redhat.com> * update go version from 1.18 to 1.19 under ci workflows Signed-off-by: Michael Valdron <mvaldron@redhat.com> * import admissionv1beta1 changed to admissionv1 as part of operator sdk v1.28 changes Signed-off-by: Michael Valdron <mvaldron@redhat.com> * update license header and boilerplate files Signed-off-by: Michael Valdron <mvaldron@redhat.com> * rbac service account role bindings fixed with labels added Signed-off-by: Michael Valdron <mvaldron@redhat.com> * security context for manager container updated. Signed-off-by: Michael Valdron <mvaldron@redhat.com> * recent changes applied to bundle manifests Signed-off-by: Michael Valdron <mvaldron@redhat.com> * service account renamed to fix name prefix issue. Signed-off-by: Michael Valdron <mvaldron@redhat.com> * fixed envtest binary name Signed-off-by: Michael Valdron <mvaldron@redhat.com> * fixed relative path to 'config/crd/bases' under controller test suite Signed-off-by: Michael Valdron <mvaldron@redhat.com> * controller-gen deepcopy source update to header Signed-off-by: Michael Valdron <mvaldron@redhat.com> * fixup docker-buildx rule Signed-off-by: Michael Valdron <mvaldron@redhat.com> * CHANGELOG added Signed-off-by: Michael Valdron <mvaldron@redhat.com> * included change log documenting as part of PR acceptance criteria Signed-off-by: Michael Valdron <mvaldron@redhat.com> * target os is always linux Signed-off-by: Michael Valdron <mvaldron@redhat.com> * sa changed to service-account Signed-off-by: Michael Valdron <mvaldron@redhat.com> * bundle csv update Signed-off-by: Michael Valdron <mvaldron@redhat.com> * go v4 project structure changes reverted. Signed-off-by: Michael Valdron <mvaldron@redhat.com> * restore unset GOFLAGS Signed-off-by: Michael Valdron <mvaldron@redhat.com> * use operator namespace when waiting for operator pod to run for integration test suite Signed-off-by: Michael Valdron <mvaldron@redhat.com> * add registry operator deploy command to openshift integration test script Signed-off-by: Michael Valdron <mvaldron@redhat.com> * add touch command in Makefile to create junit report if does not exist Signed-off-by: Michael Valdron <mvaldron@redhat.com> * add docker-buildx optional step to build and run the operator instruction under CONTRIBUTING.md Signed-off-by: Michael Valdron <mvaldron@redhat.com> * make /tmp/artifacts directory if does not exist before running integration tests Signed-off-by: Michael Valdron <mvaldron@redhat.com> --------- Signed-off-by: Michael Valdron <mvaldron@redhat.com>
- Loading branch information
1 parent
9ac9961
commit fd4aacc
Showing
55 changed files
with
1,385 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [Unreleased] | ||
|
||
### Added | ||
- [devfile/api#1106](https://github.com/devfile/api/issues/1106) | ||
Registry operator should be in sync with operator SDK releases | ||
- Addition of `CHANGELOG.md` | ||
|
||
### Changed | ||
|
||
- [devfile/api#1106](https://github.com/devfile/api/issues/1106) | ||
Registry operator should be in sync with operator SDK releases | ||
- Syncs changes up to operator sdk v1.28 | ||
- [v1.28.0 changes](https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.28.0/) | ||
- [v1.25.0 changes](https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.25.0/) | ||
- [v1.23.0 changes](https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.23.0/) | ||
- [devfile/api#881](https://github.com/devfile/api/issues/881) | ||
Update Ginkgo version in registry operator | ||
|
||
### Fixed | ||
- [devfile/api#1106](https://github.com/devfile/api/issues/1106) | ||
Registry operator should be in sync with operator SDK releases | ||
- Registry operator service account changed from `default` to `service-account` to fix permissions error for creating leader election leases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
bundle/manifests/registry-operator-default_v1_serviceaccount.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.