Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config_map_v1_data same for secret_v1_data #2233

Closed
Davidffry opened this issue Aug 18, 2023 · 1 comment · Fixed by #2604
Closed

config_map_v1_data same for secret_v1_data #2233

Davidffry opened this issue Aug 18, 2023 · 1 comment · Fixed by #2604
Assignees
Milestone

Comments

@Davidffry
Copy link

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
@BBBmau
Copy link
Contributor

BBBmau commented Aug 23, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment