Skip to content

Commit 5edb430

Browse files
authored
update kubernetes.core collection default to v2.4.0 (#6334)
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
1 parent 8e26d14 commit 5edb430

File tree

3 files changed

+44
-2
lines changed

3 files changed

+44
-2
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# entries is a list of entries to include in
2+
# release notes and/or the migration guide
3+
entries:
4+
- description: >
5+
For ansible operators: fix a JSON parsing bug by updating the kubernetes.core collection to v2.4.0
6+
7+
# kind is one of:
8+
# - addition
9+
# - change
10+
# - deprecation
11+
# - removal
12+
# - bugfix
13+
kind: "bugfix"
14+
15+
# Is this a breaking change?
16+
breaking: false
17+
18+
# NOTE: ONLY USE `pull_request_override` WHEN ADDING THIS
19+
# FILE FOR A PREVIOUSLY MERGED PULL_REQUEST!
20+
#
21+
# The generator auto-detects the PR number from the commit
22+
# message in which this file was originally added.
23+
#
24+
# What is the pull request number (without the "#")?
25+
# pull_request_override: 0
26+
27+
28+
# Migration can be defined to automatically add a section to
29+
# the migration guide. This is required for breaking changes.
30+
migration:
31+
header: (ansible) - Upgrade kubernetes.core collection to v2.4.0
32+
body: |
33+
In the requirements.yaml file replace:
34+
```yaml
35+
- name: kubernetes.core
36+
version: "2.3.1"
37+
```
38+
with:
39+
```yaml
40+
- name: kubernetes.core
41+
version: "2.4.0"
42+
```

internal/plugins/ansible/v1/scaffolds/internal/templates/requirements.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ collections:
4040
- name: operator_sdk.util
4141
version: "0.4.0"
4242
- name: kubernetes.core
43-
version: "2.3.1"
43+
version: "2.4.0"
4444
- name: cloud.common
4545
version: "2.1.1"
4646
- name: community.docker

testdata/ansible/memcached-operator/requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ collections:
55
- name: operator_sdk.util
66
version: "0.4.0"
77
- name: kubernetes.core
8-
version: "2.3.1"
8+
version: "2.4.0"
99
- name: cloud.common
1010
version: "2.1.1"
1111
- name: community.docker

0 commit comments

Comments
 (0)