-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Reword the changelog fragments to better generate the CHANGELOG.md when we release 1.0. #3544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ee1da38
09cc771
fe42bd0
2d25117
c0ddc9f
c910f4b
ac7045d
84d6b41
9eec63a
b50289f
5a5f966
76e490e
f614bdf
13e121f
4530032
18b0226
c1a5fa9
f40ce02
45fd4c4
c5bfdf4
458118c
b33f360
c6f6585
468313a
cff9e28
9d374b8
f425d61
263e232
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,14 @@ | ||
| entries: | ||
| - description: > | ||
| Added `--metrics-addr` flag to ansible operator to make it configurable, and | ||
| changed the default from `:8383` to `:8080` | ||
| Added `--metrics-addr` flag to the Ansible operator to make it configurable, and | ||
| changed the default port from `:8383` to `:8080` | ||
|
|
||
| kind: "change" | ||
|
|
||
| # Is this a breaking change? | ||
| breaking: true | ||
|
|
||
| migration: | ||
| header: Default ansible operator metrics port changed | ||
| header: Default Ansible operator metrics port has changed | ||
| body: > | ||
| To continue using port 8383, specify `--metrics-addr=:8383` when you start the operator. | ||
|
|
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # entries is a list of entries to include in | ||
| # release notes and/or the migration guide | ||
| entries: | ||
| - description: > | ||
| Fixed CVE-2020-14040 by updating to `golang.org/x/text/0.3.3` | ||
|
|
||
| # - bugfix | ||
| kind: "bugfix" | ||
|
|
||
| # Is this a breaking change? | ||
| breaking: false | ||
|
|
||
| # What is the pull request number (without the "#")? | ||
| pull_request_override: 3458 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,14 @@ | ||
| entries: | ||
| - description: > | ||
| Added `--metrics-addr` flag to helm operator to make it configurable, and | ||
| changed the default from `:8383` to `:8080` | ||
| Added `--metrics-addr` flag to the Helm operator to make it configurable, and | ||
| changed the default port from `:8383` to `:8080` | ||
|
|
||
| kind: "change" | ||
|
|
||
| # Is this a breaking change? | ||
| breaking: true | ||
|
|
||
| migration: | ||
| header: Default helm operator metrics port changed | ||
| header: Default Helm operator metrics port has changed | ||
| body: > | ||
| To continue using port 8383, specify `--metrics-addr=:8383` when you start the operator. | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| entries: | ||
| - description: Remove `test` subcommand and the test framework `pkg/test`. | ||
| - description: Removed `test` subcommand and the test framework `pkg/test`. | ||
| kind: "removal" | ||
| pull_request_override: 3409 | ||
| breaking: true | ||
| migration: | ||
| header: Remove `test` subcommand and the test framework `pkg/test` | ||
| header: Removed `test` subcommand and the test framework `pkg/test` | ||
| body: TBD |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,14 @@ | ||
| entries: | ||
| - description: > | ||
| **(Valid only for Ansible/Helm-based Operators)**. The flag `--max-workers` is no longer supported. | ||
| Use `--max-concurrent-reconciles` instead. | ||
| The Ansible operator's `--max-workers` flag and `WORKERS_<Kind>_<Group>` | ||
| environment variable have been renamed to `--max-concurrent-reconciles` and | ||
| `MAX_CONCURRENT_RECONCILES_<Kind>_<Group>` respectively. | ||
| kind: "change" | ||
| breaking: true | ||
| migration: | ||
| header: Flag `max-workers` is no longer supported. | ||
| header: Flag `max-workers` and `WORKERS_<Kind>_<Group>` environment variable are no longer supported. | ||
| body: | | ||
| The flag `--max-workers` is no longer supported with ansible/helm binaries. It has been | ||
| renamed to `--max-concurrent-reconciles`. | ||
| The `--max-workers` flag and `WORKERS_<Kind>_<Group>` environment variable are no longer supported | ||
| with the Ansible operator. They have been renamed to `--max-concurrent-reconciles` and | ||
| `MAX_CONCURRENT_RECONCILES_<Kind>_<Group>` respectively. | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |
| # release notes and/or the migration guide | ||
| entries: | ||
| - description: > | ||
| The commands `operator-sdk new --type=ansible` and `operator-sdk add api` are no longer supported for Ansible-based Operators. | ||
| Removed legacy `new` and `add api` commands from Ansible-based Operators. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All legacy removals IMO could be replaced for one fragment: # entries is a list of entries to include in
# release notes and/or the migration guide
entries:
- description: >
Remove support for the legacy layout. Operator SDK has a new CLI and project layout that is aligned with Kubebuilder. (//todo: add all pr's numbers)
kind: "removal"
# Is this a breaking change?
breaking: yes
# Migration can be defined to automatically add a section to
# the migration guide. This is required for breaking changes.
migration:
header: Migrate your projects for the new layout
body: >
Operator SDK has a new CLI and project layout that is aligned with Kubebuilder.
See `operator-sdk init -h` and the following doc on how to scaffold a new project:
To migrate existing projects to the new layout see the migrations guides in
https://sdk.operatorframework.io.
- For Go-based Operators: https://master.sdk.operatorframework.io/docs/building-operators/golang/project_migration_guide/
- For Helm-based Operators: https://master.sdk.operatorframework.io/docs/building-operators/helm/migration/
- For Ansible-based Operators: TBD
Wdyt @joelanford |
||
|
|
||
| # kind is one of: | ||
| # - addition | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| entries: | ||
| - description: > | ||
| `generate bundle` now adds scorecard bundle metadata to bundle.Dockerfile and annotations.yaml | ||
| `generate bundle` now adds scorecard bundle metadata to `bundle.Dockerfile` and `annotations.yaml` | ||
| if `--overwrite` is set (the default in a project's `Makefile`) or both files do not exist. | ||
| kind: addition | ||
| breaking: false |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,18 +2,11 @@ | |
| # release notes and/or the migration guide | ||
| entries: | ||
| - description: > | ||
| Remove the implementation for `InstrumentedEnqueueRequestForObject` | ||
| handler from SDK repository and reference it from operator-lib instead. | ||
| Ansible & Helm-based Operators switched to using the `InstrumentedEnqueueRequestForObject` from | ||
| [operator-lib](https://github.com/operator-framework/operator-lib/blob/main/handler/instrumented_enqueue_object.go) | ||
| instead of controller-runtime's `EnqueueRequestForObject`. | ||
|
Comment on lines
+5
to
+7
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be consolidated with the removal of legacy metrics generation in Helm and Ansible operators fragments (again, in the release prep PR) |
||
|
|
||
| kind: "change" | ||
|
|
||
| # Is this a breaking change? | ||
| breaking: true | ||
|
|
||
| # Migration can be defined to automatically add a section to | ||
| # the migration guide. This is required for breaking changes. | ||
| migration: | ||
| header: Move the implementation of `InstrumentedEnqueueRequestForObject` handler | ||
| body: > | ||
| The implementation of `InstrumentedEnqueueRequestForObject` handler has been | ||
| removed from Operator SDK repository and is now imported from operator-lib. | ||
| breaking: false | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO we can combine the metrics change for Ansible and Helm: