Skip to content

Commit 9d27e22

Browse files
authored
Release v1.1.0 (#4031)
1 parent c36f1b6 commit 9d27e22

37 files changed

+77
-365
lines changed

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,49 @@
1+
## v1.1.0
2+
3+
### Additions
4+
5+
- For Ansible-based Operator, add `.gitignore` file. ([#3806](https://github.com/operator-framework/operator-sdk/pull/3806))
6+
- Added the `--select-optional` flag to `bundle validate` to pass a label selector that runs any matching optional validator on top of required validators, and `--list-optional` to display optional validators, their selectors, and a short explanation of what each does. ([#3719](https://github.com/operator-framework/operator-sdk/pull/3719))
7+
- Added the OperatorHub.io optional validator to `bundle validate`, which can be run by setting `--select-optional=name=operatorhub` or `--select-optional=suite=operatorframework`. ([#3719](https://github.com/operator-framework/operator-sdk/pull/3719))
8+
- Added the `run bundle` command. ([#3988](https://github.com/operator-framework/operator-sdk/pull/3988))
9+
- Added new base image assets containing the Operator-SDK CLI at quay.io/repository/operator-framework/operator-sdk. ([#3902](https://github.com/operator-framework/operator-sdk/pull/3902))
10+
- Removed stale unix sockets. This allows for smoother initialization during the start-up of an Ansible operator, as each operator will clean up its sockets during termination. ([#3721](https://github.com/operator-framework/operator-sdk/pull/3721))
11+
- Added feature to the command `operator-sdk olm install` that allows installing OLM version 0.15.1 without fetching the manifest from Github. ([#3906](https://github.com/operator-framework/operator-sdk/pull/3906))
12+
- Re-enabled s390x docker image builds. ([#3855](https://github.com/operator-framework/operator-sdk/pull/3855))
13+
14+
### Changes
15+
16+
- In `ansible-operator` and `helm-operator` run commands, print git commit when logging version information. ([#3849](https://github.com/operator-framework/operator-sdk/pull/3849))
17+
- For Ansible/Helm, fix multigroup message. ([#3822](https://github.com/operator-framework/operator-sdk/pull/3822))
18+
- For Helm-based Operators, cleanup the file `.gitignore` in order to not have invalid instructions for the type. ([#3810](https://github.com/operator-framework/operator-sdk/pull/3810))
19+
- Updated scorecard-test-kuttl image to kuttl v0.6.1. ([#3659](https://github.com/operator-framework/operator-sdk/pull/3659))
20+
- Updated scorecard-test-kuttl image to kuttl v0.5.2. ([#3659](https://github.com/operator-framework/operator-sdk/pull/3659))
21+
- Updated scorecard-test-kuttl image to use latest kuttl. ([#3711](https://github.com/operator-framework/operator-sdk/pull/3711))
22+
- Updated the Makefile to build multiarch versions of the scorecard-test-kuttl and custom-scorecard-tests images to match the scorecard-test image. ([#3821](https://github.com/operator-framework/operator-sdk/pull/3821))
23+
24+
### Bug Fixes
25+
26+
- `generate <bundle|packagemanifests>` will populate a CSV's `webhookDefinition[].deploymentName` by selecting an input Deployment via its PodTemplate labels using a webhook Service's label selectors, defaulting to "<service.metadata.name>-service" if none is selected. ([#3761](https://github.com/operator-framework/operator-sdk/pull/3761))
27+
- Resolves an issue with default channel bundle validation. The default channel label is not required. ([#3953](https://github.com/operator-framework/operator-sdk/pull/3953))
28+
- Fixed debug logging in the `bundle validate` subcommand of `operator-sdk`. ([#3795](https://github.com/operator-framework/operator-sdk/pull/3795))
29+
- `generate <bundle|packagemanifests>` now generates a CSV base with only the `AllNamespaces` install mode supported by default, since projects are cluster-scoped by default. ([#3746](https://github.com/operator-framework/operator-sdk/pull/3746))
30+
- `generate <bundle|packagemanifests>` now defaults a CSV's `spec.webhookDefinition[].admissionReviewVersions` to []string{"v1beta1"}, as an empty or null value is invalid. ([#3903](https://github.com/operator-framework/operator-sdk/pull/3903))
31+
- `generate <bundle|packagemanifests>` now defaults a CSV's `spec.webhookDefinition[].sideEffects` to "None", as an empty or null value is invalid. ([#3903](https://github.com/operator-framework/operator-sdk/pull/3903))
32+
- The scaffolded manager deployment for Ansible-based Operators now has the `ANSIBLE_GATHERING` option set to `explicit`. Additionally, if the `ANSIBLE_GATHERING` environment variable is set to explicit when running a role directly, the `--role-skip-facts` argument will be passed to `ansible-runner`. ([#3933](https://github.com/operator-framework/operator-sdk/pull/3933))
33+
- Added kubernetes authentication clients to `ansible-operator` and `helm-operator` to enable authentication to gcp, azure, etc. kubernetes clusters. ([#3974](https://github.com/operator-framework/operator-sdk/pull/3974))
34+
- Fixed a bug with `run packagemanifests` that caused the underlying registry pod to fail to start. Changed the registry pod image from `quay.io/openshift/origin-operator-registry:latest` to `quay.io/operator-framework/upstream-registry-builder:latest`. ([#3856](https://github.com/operator-framework/operator-sdk/pull/3856))
35+
- When generating bundles and packagemanifests, remove `metadata.namespace` from namespaced resources when writing them into the `manifests` directory to avoid validation errors. ([#3813](https://github.com/operator-framework/operator-sdk/pull/3813))
36+
- Fixed a bug that caused the Helm operator not to set the `InstallSuccessful` and `UpgradeSuccessful` status reasons when the status update fails during installation and upgrade. ([#3735](https://github.com/operator-framework/operator-sdk/pull/3735))
37+
- Bumped helm and k8s dependencies to v3.3.4 and v1.18.8 to fix [this upstream bug](https://github.com/kubernetes/kubernetes/issues/91615). ([#3936](https://github.com/operator-framework/operator-sdk/pull/3936))
38+
- In Helm projects, fix operator permissions for Openshift deployments by adding a `<resource>/finalizers` rule in the operator's role. ([#3779](https://github.com/operator-framework/operator-sdk/pull/3779))
39+
- In Go projects, resolved an issue that caused failing tests by changing the Makefile's `test` target to automatically download and configure the necessary `envtest` binaries. ([#3983](https://github.com/operator-framework/operator-sdk/pull/3983))
40+
- Inform user to verify the presence of olm deployment manifests in github when `olm install` command gives a 404 http error. ([#3907](https://github.com/operator-framework/operator-sdk/pull/3907))
41+
- Prevent `run packagemanifests` from creating an OperatorGroup if one already exists in a namespace, and use that OperatorGroup if its target namespaces exactly match those passed in `--install-mode`. See [#3681](https://github.com/operator-framework/operator-sdk/issues/3681). ([#3689](https://github.com/operator-framework/operator-sdk/pull/3689))
42+
- Resolved an issue that caused bundle validation to unnecessarily restrict CSV names to a specific format. Now, only DNS-1123 subdomain validity is verified. ([#3887](https://github.com/operator-framework/operator-sdk/pull/3887))
43+
- Stop reconciling tasks when the event raised is a rescue in Ansible-based Operators. More info: [Bugzilla 1856714](https://bugzilla.redhat.com/show_bug.cgi?id=1856714). ([#3650](https://github.com/operator-framework/operator-sdk/pull/3650))
44+
- Fix an issue in `run packagemanifests` where the registry server writes files in locations that require root. ([#3867](https://github.com/operator-framework/operator-sdk/pull/3867))
45+
- When scaffolding scorecard configurations, use release versions instead of `latest` in image tags. ([#3845](https://github.com/operator-framework/operator-sdk/pull/3845))
46+
147
## v1.0.1
248

349
### Bug Fixes

changelog/fragments/3761.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

changelog/fragments/ansible-gitignore.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

changelog/fragments/ansible-helm-commit-info.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

changelog/fragments/ansible-helm-multigroup.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

changelog/fragments/bump-operator-registry.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog/fragments/bundle-validate-optional-validators.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

changelog/fragments/bundle-validate-verbose.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/fragments/csv-allnamespaces-default.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

changelog/fragments/csv-whdescs-defaults.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

changelog/fragments/disable_gather_facts.yaml

Lines changed: 0 additions & 38 deletions
This file was deleted.

changelog/fragments/enable-run-bundle-cmd.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/fragments/fix-ansible-helm-auth-providers.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

changelog/fragments/fix-run-packagemanifests-e2e.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

changelog/fragments/gen-bundle-namespaced.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.

changelog/fragments/helm-gitignore.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

changelog/fragments/helm-install-status-fix.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/fragments/helm-json-patch-bug.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

changelog/fragments/helm-roles-permissions.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

changelog/fragments/makefile_test.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

changelog/fragments/olm-improve-logs.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

changelog/fragments/operatorgroup-conflict.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

changelog/fragments/relax-csv-name-validation.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

changelog/fragments/rescue-reconciliation.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

changelog/fragments/run-pkgmnfs-writable-dir.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

changelog/fragments/scorecard-kuttl-image-bump-061.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/fragments/scorecard-kuttl-image-bump.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/fragments/scorecard-kuttl-version-bump.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

changelog/fragments/scorecard-multiarch-images.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/fragments/scorecard_scaffolded_version.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)