Skip to content

Commit

Permalink
*: release v0.19.0 (#3373)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Stroczynski committed Jul 9, 2020
1 parent 7e2976f commit 8e28aca
Show file tree
Hide file tree
Showing 41 changed files with 104 additions and 264 deletions.
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,54 @@
## v0.19.0

### Additions

- Add "panic" level for --zap-stacktrace-level (allows "debug", "info", "error", "panic"). ([#3040](https://github.com/operator-framework/operator-sdk/pull/3040))
- The `operator-sdk` binary has a new CLI workflow and project layout for scaffolding Go operators that is aligned with Kubebuilder's CLI and project layout. See the new [Quickstart Guide](https://master.sdk.operatorframework.io/docs/golang/quickstart) and the new [CLI reference](https://master.sdk.operatorframework.io/docs/new-cli) for more details. ([#3190](https://github.com/operator-framework/operator-sdk/pull/3190))
- `bundle validate` can now use a containerd image ("none") tool to unpack images, removing the need for an external image tool like docker/podman. ([#3222](https://github.com/operator-framework/operator-sdk/pull/3222))
- The SDK `scorecard` command adds a new test image, scorecard-test-kuttl, that allows end users to write and execute kuttl based tests. ([#3278](https://github.com/operator-framework/operator-sdk/pull/3278))
- Add "--olm-namespace" flag to olm subcommands (install, uninstall) to allow users to specify the namespace where olm is to be installed or uninstalled. ([#3300](https://github.com/operator-framework/operator-sdk/pull/3300))
- Add sdk annotations to bundle resources (CSVs, `annotations.yaml` and `bundle.dockerfile`). ([#3120](https://github.com/operator-framework/operator-sdk/pull/3120))
- Add "--version" flag to olm subcommands (uninstall, status) to allow users to override the version of olm inferred from packageserver's CSV. ([#3279](https://github.com/operator-framework/operator-sdk/pull/3279))
- Alias `run packagemanifests` as `run pm`. ([#3314](https://github.com/operator-framework/operator-sdk/pull/3314))
- add `generate kustomize manifests` subcommand for new project layouts. ([#3258](https://github.com/operator-framework/operator-sdk/pull/3258))
- add `generate packagemanifests` subcommand for legacy project layouts. ([#3149](https://github.com/operator-framework/operator-sdk/pull/3149))
- add `generate packagemanifests` subcommand for new project layouts. ([#3096](https://github.com/operator-framework/operator-sdk/pull/3096))
- Added predicate filtering function for labels based on selectors specified in watches.yaml. Events of resources that match the selector's labels will be skipped. ([#3275](https://github.com/operator-framework/operator-sdk/pull/3275))
- Add builds for `ansible-operator` and `helm-operator` binaries. ([#3363](https://github.com/operator-framework/operator-sdk/pull/3363))
- Add new scorecard APIVersion "osdk.openshift.io/v1alpha3" and types. ([#3125](https://github.com/operator-framework/operator-sdk/pull/3125))

### Changes

- **Breaking change**: Prevent the ansible-operator from mangling variables containing the uppercase representations of special words (e.g IP, HTTP, etc). ([#3265](https://github.com/operator-framework/operator-sdk/pull/3265))
- **Breaking change**: In Helm-based operators, the `UpdateSuccessful` condition reason was renamed to `UpgradeSuccessful` to better align with Helm nomenclature. ([#3345](https://github.com/operator-framework/operator-sdk/pull/3345))
- **Breaking change**: In Helm-based operators, the `UpdateError` condition reason was renamed to `UpgradeError` to better align with Helm nomenclature. ([#3269](https://github.com/operator-framework/operator-sdk/pull/3269))
- Upgrade Helm dependency for Helm based-Operators from `v3.2.0` to `v3.2.4` in order to fix CVE-2020-4053. ([#3313](https://github.com/operator-framework/operator-sdk/pull/3313))
- Change default value of `--overwrite` flag in `operator-sdk generate bundle` to true. ([#3280](https://github.com/operator-framework/operator-sdk/pull/3280))
- The scorecard-test-kuttl image was updated to be based off the v0.5.1 version of kudobuilder/kuttl. This update fixes bugs found in kuttl v0.5.0. ([#3369](https://github.com/operator-framework/operator-sdk/pull/3369))
- The `alpha scorecard` subcommand now outputs results as a [scorecard.operatorframework.io/v1alpha3 Test](https://godoc.org/github.com/operator-framework/operator-sdk/pkg/apis/scorecard/v1alpha3#Test) instead of a [scorecard.operatorframework.io/v1alpha2 ScorecardOutput](https://godoc.org/github.com/operator-framework/operator-sdk/pkg/apis/scorecard/v1alpha2#ScorecardOutput). As a result, the `--list` argument will now just output a list of tests, without associated labels. ([#3208](https://github.com/operator-framework/operator-sdk/pull/3208))

### Removals

- The `operator-sdk new` command no longer supports scaffolding new Go projects with the `--type=Go` flag. To scaffold new projects, users are expected to use `operator-sdk init` as part of the [new CLI](https://master.sdk.operatorframework.io/docs/new-cli) for Go operators. ([#3190](https://github.com/operator-framework/operator-sdk/pull/3190))

### Deprecations

- With the introduction of the new [Kubebuilder aligned CLI](https://master.sdk.operatorframework.io/docs/new-cli) and project layout for Go operators, the [old CLI](https://sdk.operatorframework.io/docs/cli) will still continue to work for Go projects scaffolded in the old layout with `operator-sdk new`. However the old CLI is now deprecated and will be removed in a future release. ([#3190](https://github.com/operator-framework/operator-sdk/pull/3190))
- The migrate sub-command is deprecated. ([#3319](https://github.com/operator-framework/operator-sdk/pull/3319))
- Deprecate 'operator-sdk add crd'. Use 'operator-sdk add api' instead. ([#3180](https://github.com/operator-framework/operator-sdk/pull/3180))
- `bundle create` is deprecated in favor of a combination of `generate bundle` and `docker build -f bundle.Dockerfile ...`. ([#3323](https://github.com/operator-framework/operator-sdk/pull/3323))
- `generate csv` is deprecated in favor of `generate bundle` or `generate packagemanifests`. ([#3322](https://github.com/operator-framework/operator-sdk/pull/3322))
- The flag `--git-init` in the `new` command was deprecated. ([#3241](https://github.com/operator-framework/operator-sdk/pull/3241))

### Bug Fixes

- fix leader election of follower showing that an old leader will be evicted when the current leader is healthy. ([#3059](https://github.com/operator-framework/operator-sdk/pull/3059))
- Fix bug in `operator-sdk bundle validation` that causes erroneous validation errors when the number of annotations in an existing `annotations.yaml` does not equal the number of default bundle annotations by upgrading the `operator-registry` dependency. ([#3221](https://github.com/operator-framework/operator-sdk/pull/3221))
- Fix the download URL for the `tini` binary on ARM64 for the ansible operator base image. ([#3234](https://github.com/operator-framework/operator-sdk/pull/3234))
- The `generate crds` subcommand now checks for the existence of the `pkg/apis` directory and logs a descriptive fatal error message if it does not exist or is not a directory. ([#3091](https://github.com/operator-framework/operator-sdk/pull/3091))
- Fix bug in `bundle validate` that erroneously causes errors when a CRD manifest contains versions not present in a bundled CSV by bumping the api library version. ([#3282](https://github.com/operator-framework/operator-sdk/pull/3282))
- Bump api validation library to fix "CRD key not found" [validation bug](https://github.com/operator-framework/api/pull/39). ([#3154](https://github.com/operator-framework/operator-sdk/pull/3154))

## v0.18.1

### Bug Fixes
Expand Down
6 changes: 0 additions & 6 deletions changelog/fragments/3040-fix-loglevel.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fragments/3059-fixleader-election-message.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions changelog/fragments/3173-bugfix.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions changelog/fragments/3190-add-new-cli-for-go-operators.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions changelog/fragments/3190-deprecate-old-cli-for-go-operators.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions changelog/fragments/3190-remove-new-cmd-for-go-operators.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions changelog/fragments/3221-bugfix.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions changelog/fragments/3222-none-tool.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions changelog/fragments/3234-arm64-tini-url.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions changelog/fragments/3278-add-scorecard-kuttl-image.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fragments/3319-deprecate-migrate-subcommand.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fragments/add-namespace-to-olm-sucommands.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/fragments/add-sdk-stamps.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fragments/add-version-to-olm-subcommands.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/fragments/alias-run-packagemanifests.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fragments/deprecate-add-crd.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions changelog/fragments/deprecate-bundle-create.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fragments/deprecate-generate-csv.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions changelog/fragments/generate-crds-non-go.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/fragments/generate-kustomize.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/fragments/generate-packagemanifests-legacy.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/fragments/generate-packagemanifests.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions changelog/fragments/gitnit.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions changelog/fragments/helm-conditional-reason.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions changelog/fragments/helm-conditional.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fragments/helm-upgrade.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fragments/modify-overwrite-flag.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions changelog/fragments/predicateChanges.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fragments/release-helm-ansible-binaries.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fragments/scorecard2-bump-kuttl.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions changelog/fragments/scorecard2-cli-v1alpha3.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/fragments/scorecard2-newapi-v1alpha3.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fragments/validation-bug-bump-api-2.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fragments/validation-bug-bump-api.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion internal/scaffold/ansible/go_mod.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const goModTmpl = `module {{ .Repo }}
go 1.13
require (
github.com/operator-framework/operator-sdk master
github.com/operator-framework/operator-sdk v0.19.0
sigs.k8s.io/controller-runtime v0.6.0
)
Expand Down
2 changes: 1 addition & 1 deletion internal/scaffold/go_mod.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const goModTmpl = `module {{ .Repo }}
go 1.13
require (
github.com/operator-framework/operator-sdk master
github.com/operator-framework/operator-sdk v0.19.0
sigs.k8s.io/controller-runtime v0.6.0
)
Expand Down
2 changes: 1 addition & 1 deletion internal/scaffold/helm/go_mod.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const goModTmpl = `module {{ .Repo }}
go 1.13
require (
github.com/operator-framework/operator-sdk master
github.com/operator-framework/operator-sdk v0.19.0
sigs.k8s.io/controller-runtime v0.6.0
)
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

//var needs to be used instead of const for ldflags
var (
Version = "v0.18.0+git"
Version = "v0.19.0"
GitVersion = "unknown"
GitCommit = "unknown"
KubernetesVersion = "unknown"
Expand Down
2 changes: 1 addition & 1 deletion website/content/en/docs/install-operator-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ brew install operator-sdk

```sh
# Set the release version variable
$ RELEASE_VERSION=v0.18.0
$ RELEASE_VERSION=v0.19.0
# Linux
$ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu
$ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/ansible-operator-${RELEASE_VERSION}-x86_64-linux-gnu
Expand Down
Loading

0 comments on commit 8e28aca

Please sign in to comment.