forked from operator-framework/operator-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release v1.2.0 (operator-framework#4201)
- Loading branch information
Eric Stroczynski
authored
Nov 9, 2020
1 parent
1cba71c
commit 215fc50
Showing
18 changed files
with
57 additions
and
181 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,31 @@ | ||
## v1.2.0 | ||
|
||
### Additions | ||
|
||
- Enabled definition of custom categories encoded as [JSON file(s)](https://olm.operatorframework.io/docs/tasks/validate-package/#validation) for the `operatorhub` validator. ([#4109](https://github.com/operator-framework/operator-sdk/pull/4109)) | ||
|
||
### Changes | ||
|
||
- Improved `ansible-operator` and `helm-operator` help text. ([#4187](https://github.com/operator-framework/operator-sdk/pull/4187)) | ||
- When generating bundles and package manifests, add all resources supported by OLM. ([#4137](https://github.com/operator-framework/operator-sdk/pull/4137)) | ||
- `olm` and `run` subcommands will print aggregated resource errors when either OLM or an operator fail to install, respectively. ([#3787](https://github.com/operator-framework/operator-sdk/pull/3787)) | ||
- Upgraded `sigs.k8s.io/controller-runtime` from `v0.6.2` to [`v0.6.3`](https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.6.3). ([#4062](https://github.com/operator-framework/operator-sdk/pull/4062)) | ||
|
||
### Bug Fixes | ||
|
||
- Set a generated CSV's `.spec.webhookdefinitions[].{targetPort,containerPort}` values from webhook `Service` ports. ([#4178](https://github.com/operator-framework/operator-sdk/pull/4178)) | ||
- Excluded `github.com/spf13/[email protected]` to fix CVE-2018-1098. ([#4199](https://github.com/operator-framework/operator-sdk/pull/4199)) | ||
- Added the `kustomize` make dependency to the `bundle` target scaffolded for Golang projects to install `kustomize` before running. ([#4090](https://github.com/operator-framework/operator-sdk/pull/4090)) | ||
- Fixed an issue in `operator-sdk cleanup` that caused `CatalogSource` and `OperatorGroup` objects not to be cleaned up if a previous `operator-sdk run` command failed. ([#4089](https://github.com/operator-framework/operator-sdk/pull/4089)) | ||
- Fixed an issue during CSV generation that caused incorrect paths to be used in `specDescriptors` and `statusDescriptors`. ([#4166](https://github.com/operator-framework/operator-sdk/pull/4166)) | ||
- In Helm projects, fixed operator RBAC permissions to support the OwnerReferencesPermissionEnforcement admission plugin by adding a `<resource>/finalizers` rule in the operator's role. ([#4105](https://github.com/operator-framework/operator-sdk/pull/4105)) | ||
- Removed redundant platform information from `operator-sdk version` output. ([#4083](https://github.com/operator-framework/operator-sdk/pull/4083)) | ||
- Format version string passed to `olm` subcommands so releases download correctly. ([#4181](https://github.com/operator-framework/operator-sdk/pull/4181)) | ||
- In Go, Ansible, and Helm operators, updated the `metrics-reader` ClusterRole to use `rbac.authorization.k8s.io/v1` to be consistent with all other scaffolded RBAC resources. ([#4136](https://github.com/operator-framework/operator-sdk/pull/4136)) | ||
- Modified `olm-status-descriptors-test` to only validate if the status-descriptors are present in CRD. ([#4009](https://github.com/operator-framework/operator-sdk/pull/4009)) | ||
- Webhook container port specified in CSV defaults to `443` if not specified by the user. ([#4109](https://github.com/operator-framework/operator-sdk/pull/4109)) | ||
- For Golang based operators with multigroup support, fixed `envtest.Environment.CRDDirectoryPaths` in scaffolded `controllers/<group>/suite_test.go` files. ([#4062](https://github.com/operator-framework/operator-sdk/pull/4062)) | ||
|
||
## v1.1.0 | ||
|
||
### Additions | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
changelog/fragments/autogenerated-makefile-bundle-prerequisite-task.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,22 @@ | ||
--- | ||
title: v1.2.0 | ||
weight: 998998000 | ||
--- | ||
|
||
## (Golang based operators) Update Makefile's bundle target | ||
|
||
In the `Makefile` file, replace `bundle: manifests` with `bundle: manifests kustomize` to call the kustomize target when the `bundle` target is used. | ||
|
||
_See [#4090](https://github.com/operator-framework/operator-sdk/pull/4090) for more details._ | ||
|
||
## (Golang based operators) Upgrade sigs.k8s.io/controller-runtime version to v0.6.3 | ||
|
||
In the `go.mod` file replace `sigs.k8s.io/controller-runtime v0.6.2` with `sigs.k8s.io/controller-runtime v0.6.3` and then run `go mod tidy`. | ||
|
||
_See [#4062](https://github.com/operator-framework/operator-sdk/pull/4062) for more details._ | ||
|
||
## (Golang based operators with multigroup support) Fix `CRDDirectoryPath` in `controllers/<group>/suite_test.go` | ||
|
||
If your project is multi-group, then replace `CRDDirectoryPaths: []string{filepath.Join("..", "config", "crd", "bases")},` with `CRDDirectoryPaths: []string{filepath.Join("..", "..", "config", "crd", "bases")},` in `suite_test.go` files found in `controllers/<group>/` directories. Otherwise, the tests will fail since this EnvTest will not be looking for the CRD's in the correct location. For more info, see [kubebuilder#1665](https://github.com/kubernetes-sigs/kubebuilder/issues/1665). | ||
|
||
_See [#4062](https://github.com/operator-framework/operator-sdk/pull/4062) for more details._ |