Skip to content

Commit 643cd18

Browse files
authored
v2.19.0 (#2060)
1 parent a4e09ba commit 643cd18

File tree

3 files changed

+27
-8
lines changed

3 files changed

+27
-8
lines changed

.changelog/changelog.tmpl

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,20 @@ SECURITY:
1414
{{ end -}}
1515
{{- end -}}
1616

17-
{{- if .NotesByType.feature }}
17+
{{- $features := combineTypes .NotesByType.feature (index .NotesByType "new-resource" ) (index .NotesByType "new-data-source") (index .NotesByType "new-guide") }}
18+
{{- if $features }}
1819
FEATURES:
1920

20-
{{range .NotesByType.feature -}}
21-
* {{ template "note" . }}
21+
{{range $features | sort -}}
22+
{{ template "note" . }}
2223
{{ end -}}
2324
{{- end -}}
2425

2526
{{- if .NotesByType.enhancement }}
26-
ENHANCEMENT:
27+
ENHANCEMENTS:
2728

28-
{{range .NotesByType.enhancement -}}
29-
* {{ template "note" . }}
29+
{{range .NotesByType.enhancement | sort -}}
30+
{{ template "note" .}}
3031
{{ end -}}
3132
{{- end -}}
3233

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## 2.19.0 (March 23, 2023)
2+
3+
Generating changelog for release-v2.19.0 from v2.18.1...
4+
5+
6+
FEATURES:
7+
8+
New Resource: `kubernetes_token_request_v1`. [[GH-2024](https://github.com/hashicorp/terraform-provider-kubernetes/issues/2024)]
9+
10+
BUG FIXES:
11+
12+
* `data_source/kubernetes_secret_v1`: Fix an issue where data_source cannot read secret created with generate_name. [[GH-2028](https://github.com/hashicorp/terraform-provider-kubernetes/issues/2028)]
13+
* `data_source/kubernetes_secret`: Fix an issue where data_source cannot read secret created with generate_name. [[GH-2028](https://github.com/hashicorp/terraform-provider-kubernetes/issues/2028)]
14+
* `kubernetes/schema_pod_spec.go`: Fix unexpected volumes appearing on plan [[GH-2006](https://github.com/hashicorp/terraform-provider-kubernetes/issues/2006)]
15+
* `resource/kubernetes_cron_job_v1`: Fix annotation logic to prevent internalkeys from being removed in templates [[GH-1983](https://github.com/hashicorp/terraform-provider-kubernetes/issues/1983)]
16+
* `resource/kubernetes_manifest`: Fix a panic when constructing the diagnostic message about incompatible attribute types [[GH-2054](https://github.com/hashicorp/terraform-provider-kubernetes/issues/2054)]
17+
* `resource/kubernetes_manifest`: Fix crash when manifest config contains unknown values of unknown type (DynamicPseudoType) [[GH-2055](https://github.com/hashicorp/terraform-provider-kubernetes/issues/2055)]
18+
119
## 2.18.1 (February 21, 2023)
220

321
HOTFIX:

kubernetes/schema_token_request.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ func tokenRequestSpecFields() map[string]*schema.Schema {
6666
Description: "expiration_seconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response. The expiration can't be less than 10 minutes.",
6767
ValidateFunc: func(value interface{}, key string) ([]string, []error) {
6868
v := value.(int)
69-
if v < 600 || v > 4294967296 {
70-
return nil, []error{errors.New("must be between 600 and 4294967296 ")}
69+
if v < 600 {
70+
return nil, []error{errors.New("must be greater than or equal to 600")}
7171
}
7272
return nil, nil
7373
},

0 commit comments

Comments
 (0)