Skip to content

Commit d213799

Browse files
authored
chore: remove security context from prometheus and postgresql (#79)
Signed-off-by: Nic <[email protected]>
1 parent 8891be7 commit d213799

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
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.4.0
18+
version: 0.5.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: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# api7ee3
22

3-
![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.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.5.0](https://img.shields.io/badge/Version-0.5.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,15 +81,19 @@ 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` | |
8485
| postgresql.primary.persistence.size | string | `"256Gi"` | |
86+
| postgresql.primary.podSecurityContext.enabled | bool | `false` | |
8587
| postgresql.readReplicas.persistence.size | string | `"256Gi"` | |
8688
| prometheus.alertmanager.enabled | bool | `false` | |
8789
| prometheus.builtin | bool | `true` | |
8890
| prometheus.server.configuration | string | `""` | |
91+
| prometheus.server.containerSecurityContext.enabled | bool | `false` | |
8992
| prometheus.server.enableAdminAPI | bool | `true` | |
9093
| prometheus.server.enableRemoteWriteReceiver | bool | `true` | |
9194
| prometheus.server.persistence.enabled | bool | `true` | |
9295
| prometheus.server.persistence.size | string | `"120Gi"` | |
96+
| prometheus.server.podSecurityContext.enabled | bool | `false` | |
9397
| prometheus.server.rbac.create | bool | `false` | |
9498
| prometheus.server.service.ports.http | int | `9090` | |
9599
| prometheus.server.service.type | string | `"ClusterIP"` | |

charts/api7/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ prometheus:
8282
server:
8383
enableRemoteWriteReceiver: true
8484
enableAdminAPI: true
85+
podSecurityContext:
86+
enabled: false
87+
containerSecurityContext:
88+
enabled: false
8589
serviceAccount:
8690
create: false
8791
rbac:
@@ -102,6 +106,10 @@ postgresql:
102106
primary:
103107
persistence:
104108
size: 256Gi
109+
podSecurityContext:
110+
enabled: false
111+
containerSecurityContext:
112+
enabled: false
105113
readReplicas:
106114
persistence:
107115
size: 256Gi

0 commit comments

Comments
 (0)