Skip to content

Commit 3647941

Browse files
authored
fix: enable default security context for pg and prometheus (#81)
Signed-off-by: Nic <[email protected]>
1 parent 30fea87 commit 3647941

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

charts/api7/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.6.0
18+
version: 0.7.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/api7/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# api7ee3
22

3-
![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square)
3+
![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square)
44

55
A Helm chart for Kubernetes
66

@@ -81,19 +81,15 @@ A Helm chart for Kubernetes
8181
| postgresql.builtin | bool | `true` | |
8282
| postgresql.host | string | `"api7ee3-postgresql"` | |
8383
| postgresql.port | int | `5432` | |
84-
| postgresql.primary.containerSecurityContext.enabled | bool | `false` | |
8584
| postgresql.primary.persistence.size | string | `"256Gi"` | |
86-
| postgresql.primary.podSecurityContext.enabled | bool | `false` | |
8785
| postgresql.readReplicas.persistence.size | string | `"256Gi"` | |
8886
| prometheus.alertmanager.enabled | bool | `false` | |
8987
| prometheus.builtin | bool | `true` | |
9088
| prometheus.server.configuration | string | `""` | |
91-
| prometheus.server.containerSecurityContext.enabled | bool | `false` | |
9289
| prometheus.server.enableAdminAPI | bool | `true` | |
9390
| prometheus.server.enableRemoteWriteReceiver | bool | `true` | |
9491
| prometheus.server.persistence.enabled | bool | `true` | |
9592
| prometheus.server.persistence.size | string | `"120Gi"` | |
96-
| prometheus.server.podSecurityContext.enabled | bool | `false` | |
9793
| prometheus.server.rbac.create | bool | `false` | |
9894
| prometheus.server.service.ports.http | int | `9090` | |
9995
| prometheus.server.service.type | string | `"ClusterIP"` | |

charts/api7/values.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ prometheus:
8282
server:
8383
enableRemoteWriteReceiver: true
8484
enableAdminAPI: true
85-
podSecurityContext:
86-
enabled: false
87-
containerSecurityContext:
88-
enabled: false
8985
serviceAccount:
9086
create: false
9187
rbac:
@@ -106,10 +102,6 @@ postgresql:
106102
primary:
107103
persistence:
108104
size: 256Gi
109-
podSecurityContext:
110-
enabled: false
111-
containerSecurityContext:
112-
enabled: false
113105
readReplicas:
114106
persistence:
115107
size: 256Gi

0 commit comments

Comments
 (0)