mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 14:57:16 +08:00
[bitnami/nginx] fix: 🐛 Set seLinuxOptions to null for Openshift compatibility (#22634)
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
committed by
GitHub
parent
9cfde3f66f
commit
2583d59448
@@ -34,4 +34,4 @@ maintainers:
|
||||
name: nginx
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/nginx
|
||||
version: 15.9.1
|
||||
version: 15.9.2
|
||||
|
||||
@@ -126,7 +126,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `podSecurityContext.fsGroup` | Set NGINX pod's Security Context fsGroup | `1001` |
|
||||
| `podSecurityContext.sysctls` | sysctl settings of the NGINX pods | `[]` |
|
||||
| `containerSecurityContext.enabled` | Enabled containers' Security Context | `true` |
|
||||
| `containerSecurityContext.seLinuxOptions` | Set SELinux options in container | `{}` |
|
||||
| `containerSecurityContext.seLinuxOptions` | Set SELinux options in container | `nil` |
|
||||
| `containerSecurityContext.runAsUser` | Set containers' Security Context runAsUser | `1001` |
|
||||
| `containerSecurityContext.runAsNonRoot` | Set container's Security Context runAsNonRoot | `true` |
|
||||
| `containerSecurityContext.privileged` | Set container's Security Context privileged | `false` |
|
||||
@@ -267,7 +267,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `metrics.containerPorts.metrics` | Prometheus exporter container port | `9113` |
|
||||
| `metrics.podAnnotations` | Additional annotations for NGINX Prometheus exporter pod(s) | `{}` |
|
||||
| `metrics.securityContext.enabled` | Enabled NGINX Exporter containers' Security Context | `false` |
|
||||
| `metrics.securityContext.seLinuxOptions` | Set SELinux options in container | `{}` |
|
||||
| `metrics.securityContext.seLinuxOptions` | Set SELinux options in container | `nil` |
|
||||
| `metrics.securityContext.runAsUser` | Set NGINX Exporter container's Security Context runAsUser | `1001` |
|
||||
| `metrics.service.port` | NGINX Prometheus exporter service port | `9113` |
|
||||
| `metrics.service.annotations` | Annotations for the Prometheus exporter service | `{}` |
|
||||
|
||||
@@ -227,7 +227,7 @@ podSecurityContext:
|
||||
## NGINX containers' Security Context.
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
||||
## @param containerSecurityContext.enabled Enabled containers' Security Context
|
||||
## @param containerSecurityContext.seLinuxOptions Set SELinux options in container
|
||||
## @param containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
|
||||
## @param containerSecurityContext.runAsUser Set containers' Security Context runAsUser
|
||||
## @param containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
|
||||
## @param containerSecurityContext.privileged Set container's Security Context privileged
|
||||
@@ -238,7 +238,7 @@ podSecurityContext:
|
||||
##
|
||||
containerSecurityContext:
|
||||
enabled: true
|
||||
seLinuxOptions: {}
|
||||
seLinuxOptions: null
|
||||
runAsUser: 1001
|
||||
runAsNonRoot: true
|
||||
privileged: false
|
||||
@@ -846,12 +846,12 @@ metrics:
|
||||
## Container Security Context
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
||||
## @param metrics.securityContext.enabled Enabled NGINX Exporter containers' Security Context
|
||||
## @param metrics.securityContext.seLinuxOptions Set SELinux options in container
|
||||
## @param metrics.securityContext.seLinuxOptions [object,nullable] Set SELinux options in container
|
||||
## @param metrics.securityContext.runAsUser Set NGINX Exporter container's Security Context runAsUser
|
||||
##
|
||||
securityContext:
|
||||
enabled: false
|
||||
seLinuxOptions: {}
|
||||
seLinuxOptions: null
|
||||
runAsUser: 1001
|
||||
## Prometheus exporter service parameters
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user