Skip to content

Commit cd00d85

Browse files
authored
chore: expose storage class & image config of postgres/prometheus chart (#173)
Signed-off-by: Nic <[email protected]>
1 parent bbd6db6 commit cd00d85

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-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.17.12
18+
version: 0.17.13
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: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# api7ee3
22

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

55
A Helm chart for Kubernetes
66

@@ -181,6 +181,7 @@ A Helm chart for Kubernetes
181181
| dp_manager_service.tlsPort | int | `7943` | |
182182
| dp_manager_service.type | string | `"ClusterIP"` | |
183183
| fullnameOverride | string | `""` | |
184+
| global.storageClass | string | `""` | |
184185
| imagePullSecret | string | `""` | |
185186
| nameOverride | string | `""` | |
186187
| nodeSelector | object | `{}` | |
@@ -191,6 +192,9 @@ A Helm chart for Kubernetes
191192
| postgresql.auth.username | string | `"api7ee"` | |
192193
| postgresql.builtin | bool | `true` | |
193194
| postgresql.fullnameOverride | string | `"api7-postgresql"` | |
195+
| postgresql.image.registry | string | `"docker.io"` | |
196+
| postgresql.image.repository | string | `"bitnami/postgresql"` | |
197+
| postgresql.image.tag | string | `"15.4.0-debian-11-r45"` | |
194198
| postgresql.primary.persistence.size | string | `"256Gi"` | |
195199
| postgresql.primary.service.ports.postgresql | int | `5432` | |
196200
| postgresql.readReplicas.persistence.size | string | `"256Gi"` | |
@@ -202,12 +206,15 @@ A Helm chart for Kubernetes
202206
| prometheus.server.enableAdminAPI | bool | `true` | |
203207
| prometheus.server.enableRemoteWriteReceiver | bool | `true` | |
204208
| prometheus.server.existingSecret | string | `""` | |
209+
| prometheus.server.image.registry | string | `"docker.io"` | |
210+
| prometheus.server.image.repository | string | `"bitnami/prometheus"` | |
205211
| prometheus.server.persistence.enabled | bool | `true` | |
206212
| prometheus.server.persistence.size | string | `"120Gi"` | |
207213
| prometheus.server.rbac.create | bool | `false` | |
208214
| prometheus.server.service.ports.http | int | `9090` | |
209215
| prometheus.server.service.type | string | `"ClusterIP"` | |
210216
| prometheus.server.serviceAccount.create | bool | `false` | |
217+
| prometheus.server.tag | string | `"2.48.1-debian-11-r0"` | |
211218
| resources | object | `{}` | |
212219
| securityContext | object | `{}` | |
213220
| serviceAccount.annotations | object | `{}` | |

charts/api7/values.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
# This is a YAML-formatted file.
33
# Declare variables to be passed into your templates.
44

5+
## @section Global parameters
6+
## Please, note that this will override the parameters, including dependencies, configured to use the global value
7+
##
8+
global:
9+
## @param global.storageClass Global StorageClass for Persistent Volume(s)
10+
##
11+
storageClass: ""
12+
513
dashboard:
614
replicaCount: 1
715
# Specifies the name of Secret for dashboard TLS configuration, and files store under /app/certs directory
@@ -223,6 +231,10 @@ prometheus:
223231
alertmanager:
224232
enabled: false
225233
server:
234+
image:
235+
registry: docker.io
236+
repository: bitnami/prometheus
237+
tag: 2.48.1-debian-11-r0
226238
existingSecret: "" # name of existing secret to mount the path of prometheus client certs.
227239
enableRemoteWriteReceiver: true
228240
enableAdminAPI: true
@@ -242,6 +254,10 @@ prometheus:
242254
postgresql:
243255
builtin: true
244256
fullnameOverride: "api7-postgresql"
257+
image:
258+
registry: docker.io
259+
repository: bitnami/postgresql
260+
tag: 15.4.0-debian-11-r45
245261
primary:
246262
persistence:
247263
size: 256Gi

0 commit comments

Comments
 (0)