From b56399226a85bfe10e1603530655eeb6df4157e3 Mon Sep 17 00:00:00 2001 From: Jose Antonio Carmona Date: Fri, 15 Dec 2023 09:45:56 +0100 Subject: [PATCH] [bitnami/nginx] Add securityContext to values schema (#21567) Signed-off-by: Jose Antonio Carmona --- bitnami/nginx/Chart.yaml | 2 +- bitnami/nginx/values.schema.json | 38 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/bitnami/nginx/Chart.yaml b/bitnami/nginx/Chart.yaml index eaafbaecf1..213e456434 100644 --- a/bitnami/nginx/Chart.yaml +++ b/bitnami/nginx/Chart.yaml @@ -34,4 +34,4 @@ maintainers: name: nginx sources: - https://github.com/bitnami/charts/tree/main/bitnami/nginx -version: 15.4.4 +version: 15.4.5 diff --git a/bitnami/nginx/values.schema.json b/bitnami/nginx/values.schema.json index 8b51d95502..4b04738c59 100644 --- a/bitnami/nginx/values.schema.json +++ b/bitnami/nginx/values.schema.json @@ -49,6 +49,44 @@ "title": "Custom server block", "description": "Custom server block to be added to NGINX configuration" }, + "containerSecurityContext": { + "type": "object", + "form": true, + "title": "NGINX containers' Security Context", + "properties": { + "enabled": { + "type": "boolean", + "form": true, + "title": "Enable Security Context", + "description": "Whether to enable NGINX containers' Security Context" + }, + "runAsUser": { + "type": "integer", + "form": true, + "title": "ID of the user", + "description": "The UID of the user NGINX containers will run as" + } + } + }, + "podSecurityContext": { + "type": "object", + "form": true, + "title": "NGINX pods' Security Context", + "properties": { + "enabled": { + "type": "boolean", + "form": true, + "title": "Enable Security Context", + "description": "Whether to enable NGINX pods' Security Context" + }, + "fsGroup": { + "type": "integer", + "form": true, + "title": "ID of the group", + "description": "The GID of the group NGINX pods will run as" + } + } + }, "metrics": { "type": "object", "form": true,