terraform-provider-vault icon indicating copy to clipboard operation
terraform-provider-vault copied to clipboard

add use_annotations_as_alias_metadata field to auth_kubernetes_config

Open c0deaddict opened this issue 11 months ago • 1 comments

Description

This PR adds the field use_annotations_as_alias_metadata to the vault_kubernetes_auth_backend_config resource. The field is missing in older versions of Vault (<1.16) so it's made optional in the code.

Closes #2224

Checklist

  • [x] Added CHANGELOG entry (only for user-facing changes)
  • [ ] Acceptance tests where run against all supported Vault Versions

^ I'm not sure how to run the acceptance tests locally, kind of hoping they run on CI?

I have tested the binary generated with make build locally against Vault 1.16.1.

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

c0deaddict avatar Mar 27 '24 15:03 c0deaddict