Skip to content

Commit

Permalink
Release v1.25.0 (#6104)
Browse files Browse the repository at this point in the history
* Make changelog more consistent.

Signed-off-by: jesus m. rodriguez <jesusr@redhat.com>

Signed-off-by: jesus m. rodriguez <jesusr@redhat.com>
  • Loading branch information
jmrodri authored Oct 23, 2022
1 parent 2bda9e1 commit 3d4eb4b
Show file tree
Hide file tree
Showing 30 changed files with 153 additions and 275 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SHELL = /bin/bash
# This value must be updated to the release tag of the most recent release, a change that must
# occur in the release commit. IMAGE_VERSION will be removed once each subproject that uses this
# version is moved to a separate repo and release process.
export IMAGE_VERSION = v1.24.0
export IMAGE_VERSION = v1.25.0
# Build-time variables to inject into binaries
export SIMPLE_VERSION = $(shell (test "$(shell git describe --tags)" = "$(shell git describe --tags --abbrev=0)" && echo $(shell git describe --tags)) || echo $(shell git describe --tags --abbrev=0)+git)
export GIT_VERSION = $(shell git describe --dirty --tags --always)
Expand Down
20 changes: 0 additions & 20 deletions changelog/fragments/ansible-scaffolding-changes.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions changelog/fragments/bump-java-plugin-changes.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions changelog/fragments/component-config-changes.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions changelog/fragments/docs-bump-go-version.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions changelog/fragments/enable-seccompprofile-run-bundle.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions changelog/fragments/envtest-bump.yaml

This file was deleted.

62 changes: 0 additions & 62 deletions changelog/fragments/ginkgoV2-go-kb-bump-changes.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions changelog/fragments/helm-scaffolding-changes.yaml

This file was deleted.

37 changes: 0 additions & 37 deletions changelog/fragments/multi-arch-changes.yaml

This file was deleted.

21 changes: 21 additions & 0 deletions changelog/generated/v1.25.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## v1.25.0

### Changes

- (ansible/v1): Modified ansible scaffolding in order to incorporate changes with Kubebuilder on `--component-config` flag changes. Previously, the changes with `--component-config` flag were not considered by default.
The following are the modifications: 1. If the `--component-config` flag is passed then look for `- /manager` in `manager.yaml` in order to add leader election id. If the component config flag is not passed then check for `--leader-elect` flag. 2. In `manager_proxy_patch.yaml` file, look for `memory: 64Mi` if the component flag is passed flag is passed. If not then look for `--leader-elect`. 3. Repeat the same logic for replacing the port number from the file. 4. At the end, update the `manager.yaml` file to avoid lint errors. ([#6047](https://github.com/operator-framework/operator-sdk/pull/6047))
- (go/v3, hybrid.helm/v1-alpha, and quarkus/v1-alpha): Upgrade Kubernetes dependencies from `1.24` to `1.25`. ([#6044](https://github.com/operator-framework/operator-sdk/pull/6044))
- This PR bumped Kubebuilder to 3.7.1, with this version comes the addition of the `--component-config` flag.
This flag is passed through `operator-sdk init` command. If this flag is passed through the command line as an argument then only the `controller_manager_config.yaml` file will be scaffolded in the manifest. If it is not passed then it will not scaffold out this file. The command for passing the flag is: operator-sdk init --domain example.com --repo github.com/example/memcached-operator --component-config. ([#6047](https://github.com/operator-framework/operator-sdk/pull/6047))
- (ansible/v1): updates the base ansible base operator event api, api server, and proxy to now have a 5 second timeout when reading the request headers. This is to prevent the possibility of a [Slowloris attack](https://www.cloudflare.com/learning/ddos/ddos-attack-tools/slowloris/). ([#6088](https://github.com/operator-framework/operator-sdk/pull/6088))
- Modified go version to 1.19 and Kubebuilder to 3.7.1. The `config-gen` is completely removed from Kubebuilder. As part of this bump, the website content of SDK was updated where the doc is referring to `config-gen`. ([#6047](https://github.com/operator-framework/operator-sdk/pull/6047))
- Updated ginkgo to ginkgo/v2 in all of the files. ([#6047](https://github.com/operator-framework/operator-sdk/pull/6047))
- Updated: - ginko to `ginko/v2` - `io/ioutil` packages to either `io` or `os` since its not longer supported in go1.19. ([#6047](https://github.com/operator-framework/operator-sdk/pull/6047))
- (helm/v1): Modified helm scaffolding in order to incorporate changes with Kubebuilder on `--component-config` flag changes. Previously, the changes with `--component-config` flag were not considered by default.
The following are the modifications: 1. If the `--component-config` flag is passed then look for `- /manager` in `manager.yaml` in order to add leader election id. If the component config flag is not passed then check for `--leader-elect` flag. 2. In `manager_proxy_patch.yaml` file, look for `memory: 64Mi` if the component flag is passed flag is passed. If not then look for `--leader-elect`. 3. Repeat the same logic for replacing the port number from the file. 4. At the end, update the `manager.yaml` file to avoid lint errors. ([#6047](https://github.com/operator-framework/operator-sdk/pull/6047))
- (ansible/v1, helm/v1): Added support to build multi-arch images from the project Makefile. A docker-buildx target will build the images for the platforms specified by the PLATFORMS variable. ([#6093](https://github.com/operator-framework/operator-sdk/pull/6093))

### Bug Fixes

- (docs) Update the go version in the developer guide. The documentation wasn't updated when the go version was bumped to v1.18. ([#6101](https://github.com/operator-framework/operator-sdk/pull/6101))
- For operator-sdk run bundle and bundle-upgrade subcommands: Added --security-context-config flag to enable seccompprofile. It defaults to restricted to support k8s 1.25. You can disable it with --security-context-config=legacy. ([#6062](https://github.com/operator-framework/operator-sdk/pull/6062))
2 changes: 1 addition & 1 deletion testdata/ansible/memcached-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/operator-framework/ansible-operator:v1.24.0
FROM quay.io/operator-framework/ansible-operator:v1.25.0

COPY requirements.yml ${HOME}/requirements.yml
RUN ansible-galaxy collection install -r ${HOME}/requirements.yml \
Expand Down
2 changes: 1 addition & 1 deletion testdata/ansible/memcached-operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ ifeq (,$(shell which ansible-operator 2>/dev/null))
@{ \
set -e ;\
mkdir -p $(dir $(ANSIBLE_OPERATOR)) ;\
curl -sSLo $(ANSIBLE_OPERATOR) https://github.com/operator-framework/operator-sdk/releases/download/v1.24.0/ansible-operator_$(OS)_$(ARCH) ;\
curl -sSLo $(ANSIBLE_OPERATOR) https://github.com/operator-framework/operator-sdk/releases/download/v1.25.0/ansible-operator_$(OS)_$(ARCH) ;\
chmod +x $(ANSIBLE_OPERATOR) ;\
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ stages:
- entrypoint:
- scorecard-test
- basic-check-spec
image: quay.io/operator-framework/scorecard-test:v1.24.0
image: quay.io/operator-framework/scorecard-test:v1.25.0
labels:
suite: basic
test: basic-check-spec-test
Expand All @@ -18,7 +18,7 @@ stages:
- entrypoint:
- scorecard-test
- olm-bundle-validation
image: quay.io/operator-framework/scorecard-test:v1.24.0
image: quay.io/operator-framework/scorecard-test:v1.25.0
labels:
suite: olm
test: olm-bundle-validation-test
Expand All @@ -28,7 +28,7 @@ stages:
- entrypoint:
- scorecard-test
- olm-crds-have-validation
image: quay.io/operator-framework/scorecard-test:v1.24.0
image: quay.io/operator-framework/scorecard-test:v1.25.0
labels:
suite: olm
test: olm-crds-have-validation-test
Expand All @@ -38,7 +38,7 @@ stages:
- entrypoint:
- scorecard-test
- olm-crds-have-resources
image: quay.io/operator-framework/scorecard-test:v1.24.0
image: quay.io/operator-framework/scorecard-test:v1.25.0
labels:
suite: olm
test: olm-crds-have-resources-test
Expand All @@ -48,7 +48,7 @@ stages:
- entrypoint:
- scorecard-test
- olm-spec-descriptors
image: quay.io/operator-framework/scorecard-test:v1.24.0
image: quay.io/operator-framework/scorecard-test:v1.25.0
labels:
suite: olm
test: olm-spec-descriptors-test
Expand All @@ -58,7 +58,7 @@ stages:
- entrypoint:
- scorecard-test
- olm-status-descriptors
image: quay.io/operator-framework/scorecard-test:v1.24.0
image: quay.io/operator-framework/scorecard-test:v1.25.0
labels:
suite: olm
test: olm-status-descriptors-test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
entrypoint:
- scorecard-test
- basic-check-spec
image: quay.io/operator-framework/scorecard-test:v1.24.0
image: quay.io/operator-framework/scorecard-test:v1.25.0
labels:
suite: basic
test: basic-check-spec-test
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
entrypoint:
- scorecard-test
- olm-bundle-validation
image: quay.io/operator-framework/scorecard-test:v1.24.0
image: quay.io/operator-framework/scorecard-test:v1.25.0
labels:
suite: olm
test: olm-bundle-validation-test
Expand All @@ -14,7 +14,7 @@
entrypoint:
- scorecard-test
- olm-crds-have-validation
image: quay.io/operator-framework/scorecard-test:v1.24.0
image: quay.io/operator-framework/scorecard-test:v1.25.0
labels:
suite: olm
test: olm-crds-have-validation-test
Expand All @@ -24,7 +24,7 @@
entrypoint:
- scorecard-test
- olm-crds-have-resources
image: quay.io/operator-framework/scorecard-test:v1.24.0
image: quay.io/operator-framework/scorecard-test:v1.25.0
labels:
suite: olm
test: olm-crds-have-resources-test
Expand All @@ -34,7 +34,7 @@
entrypoint:
- scorecard-test
- olm-spec-descriptors
image: quay.io/operator-framework/scorecard-test:v1.24.0
image: quay.io/operator-framework/scorecard-test:v1.25.0
labels:
suite: olm
test: olm-spec-descriptors-test
Expand All @@ -44,7 +44,7 @@
entrypoint:
- scorecard-test
- olm-status-descriptors
image: quay.io/operator-framework/scorecard-test:v1.24.0
image: quay.io/operator-framework/scorecard-test:v1.25.0
labels:
suite: olm
test: olm-status-descriptors-test
Loading

0 comments on commit 3d4eb4b

Please sign in to comment.