Skip to content

Commit 60d7299

Browse files
authoredNov 22, 2023
✏️ typo: set fsGroupChangePolicy to OnRootMismatch by defualt (#21032)
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
1 parent 0ba581c commit 60d7299

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
 

‎bitnami/minio/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ The command removes all the Kubernetes components associated with the chart and
152152
| `containerPorts.console` | MinIO&reg; container port to open for MinIO&reg; Console | `9001` |
153153
| `podSecurityContext.enabled` | Enable pod Security Context | `true` |
154154
| `podSecurityContext.fsGroup` | Group ID for the container | `1001` |
155+
| `podSecurityContext.fsGroupChangePolicy` | When K8s should preform chown on attached volumes | `OnRootMismatch` |
155156
| `containerSecurityContext.enabled` | Enabled containers' Security Context | `true` |
156157
| `containerSecurityContext.runAsUser` | Set containers' Security Context runAsUser | `1001` |
157158
| `containerSecurityContext.runAsNonRoot` | Set container's Security Context runAsNonRoot | `true` |
@@ -540,4 +541,4 @@ Unless required by applicable law or agreed to in writing, software
540541
distributed under the License is distributed on an "AS IS" BASIS,
541542
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
542543
See the License for the specific language governing permissions and
543-
limitations under the License.
544+
limitations under the License.

‎bitnami/minio/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -436,10 +436,12 @@ containerPorts:
436436
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
437437
## @param podSecurityContext.enabled Enable pod Security Context
438438
## @param podSecurityContext.fsGroup Group ID for the container
439+
## @param podSecurityContext.fsGroupChangePolicy When K8s should preform chown on attached volumes
439440
##
440441
podSecurityContext:
441442
enabled: true
442443
fsGroup: 1001
444+
fsGroupChangePolicy: "OnRootMismatch"
443445
## MinIO&reg; container Security Context
444446
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
445447
## @param containerSecurityContext.enabled Enabled containers' Security Context

0 commit comments

Comments
 (0)
Please sign in to comment.