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

fsGroupChangePolicy missing in pod security_context #1324

Closed
kel00s opened this issue Jul 7, 2021 · 5 comments
Closed

fsGroupChangePolicy missing in pod security_context #1324

kel00s opened this issue Jul 7, 2021 · 5 comments
Labels
acknowledged Issue has undergone initial review and is in our work queue. enhancement help wanted

Comments

@kel00s
Copy link

kel00s commented Jul 7, 2021

Hi there,

This is introduced in k8s 1.20

Terraform Version, Provider Version and Kubernetes Version

  • Finding hashicorp/kubernetes versions matching "~> 2.3.2"...
Terraform version: v0.15.5
Kubernetes provider version: 2.3.2
Kubernetes version: 1.20

Affected Resource(s)

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

Debug Output

╷
│ Error: Unsupported argument
│ 
│   on minio.tf line 163, in resource "kubernetes_stateful_set" "minio":
│  163:           fsGroupChangePolicy = var.security_context.fsGroupChangePolicy
│ 
│ An argument named "fsGroupChangePolicy" is not expected here.

Steps to Reproduce

Put fsGroupChangePolicy in pod variable "security_context

Expected Behavior

Should be applied to that block.

Actual Behavior

Not working

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
@kel00s kel00s added the bug label Jul 7, 2021
@dak1n1 dak1n1 added enhancement help wanted acknowledged Issue has undergone initial review and is in our work queue. and removed bug labels Jul 21, 2021
@GDegrove
Copy link
Contributor

@dak1n1 would it be ok if I take this one, it's blocking us for statefulsets that have huge amount of data and become critical on our end?

@kel00s
Copy link
Author

kel00s commented Dec 6, 2021

There is a Pull Request to solve this issue. Is there anyone available to review it?

@kel00s
Copy link
Author

kel00s commented Mar 24, 2022

@dak1n1 : could you help us to push forward with the Pull Request and the Issue?

@sheneska
Copy link
Contributor

sheneska commented Nov 9, 2022

Fixed in #1892

@sheneska sheneska closed this as completed Nov 9, 2022
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
acknowledged Issue has undergone initial review and is in our work queue. enhancement help wanted
Projects
None yet
4 participants