Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Added fs_group_change_policy to reduce the number of chown for mounte…
Browse files Browse the repository at this point in the history
…d PVC
  • Loading branch information
Syakyr committed Aug 6, 2024
1 parent c7cc51a commit f7e571c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions coder-templates/gke/khull-gke.tf
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ resource "kubernetes_deployment" "main" {
security_context {
run_as_user = 2222
fs_group = 2222
fs_group_change_policy = "OnRootMismatch"
}
#node_selector = {
# (local.node_selector_key) = local.node_selector_value
Expand Down
1 change: 1 addition & 0 deletions coder-templates/on-premise/khull-onprem.tf
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ resource "kubernetes_deployment" "main" {
security_context {
run_as_user = 2222
fs_group = 2222
fs_group_change_policy = "OnRootMismatch"
}
#node_selector = {
# (local.node_selector_key) = local.node_selector_value
Expand Down

0 comments on commit f7e571c

Please sign in to comment.