terraform-provider-kubernetes
terraform-provider-kubernetes copied to clipboard
config_map_v1_data same for secret_v1_data
Description
config_map_v1_data same for secret_v1_data
Potential Terraform Configuration
resource "kubernetes_secret_v1_data" "example" {
metadata {
name = "my-config"
}
data = {
"owner" = "myteam"
}
}
References
Seems no References
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
@Davidffry Hello thank you for opening this issue. Looking at the current config_map_v1_data resource, you can actually copy the existing code and have it do the same operation but for secret by changing certain config_map values to secret. You can certainly open a PR adding this secret_v1_data resource if you'd like.