Skip to content

Commit

Permalink
v2.19.0 (#2060)
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBmau authored Mar 23, 2023
1 parent a4e09ba commit 643cd18
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
13 changes: 7 additions & 6 deletions .changelog/changelog.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,20 @@ SECURITY:
{{ end -}}
{{- end -}}

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

{{range .NotesByType.feature -}}
* {{ template "note" . }}
{{range $features | sort -}}
{{ template "note" . }}
{{ end -}}
{{- end -}}

{{- if .NotesByType.enhancement }}
ENHANCEMENT:
ENHANCEMENTS:

{{range .NotesByType.enhancement -}}
* {{ template "note" . }}
{{range .NotesByType.enhancement | sort -}}
{{ template "note" .}}
{{ end -}}
{{- end -}}

Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 2.19.0 (March 23, 2023)

Generating changelog for release-v2.19.0 from v2.18.1...


FEATURES:

New Resource: `kubernetes_token_request_v1`. [[GH-2024](https://github.com/hashicorp/terraform-provider-kubernetes/issues/2024)]

BUG FIXES:

* `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)]
* `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)]
* `kubernetes/schema_pod_spec.go`: Fix unexpected volumes appearing on plan [[GH-2006](https://github.com/hashicorp/terraform-provider-kubernetes/issues/2006)]
* `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)]
* `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)]
* `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)]

## 2.18.1 (February 21, 2023)

HOTFIX:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/schema_token_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ func tokenRequestSpecFields() map[string]*schema.Schema {
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.",
ValidateFunc: func(value interface{}, key string) ([]string, []error) {
v := value.(int)
if v < 600 || v > 4294967296 {
return nil, []error{errors.New("must be between 600 and 4294967296 ")}
if v < 600 {
return nil, []error{errors.New("must be greater than or equal to 600")}
}
return nil, nil
},
Expand Down

0 comments on commit 643cd18

Please sign in to comment.