Skip to content

Commit 77b2185

Browse files
authored
Merge pull request #2 from rocket-admin/postgres-secret-name
change secret name
2 parents 48bdddd + 1e271b9 commit 77b2185

File tree

5 files changed

+39
-3
lines changed

5 files changed

+39
-3
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,32 @@
11
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/rocketadmin)](https://artifacthub.io/packages/search?repo=rocketadmin)
2+
3+
## Installation
4+
5+
To install the Helm chart, use the following command:
6+
7+
```bash
8+
helm install my-release rocketadmin/rocketadmin
9+
```
10+
11+
## Configuration
12+
13+
The following table lists the configurable parameters of the RocketAdmin chart and their default values.
14+
15+
| Parameter | Description | Default |
16+
|-----------|-------------|---------|
17+
| `replicaCount` | Number of replicas | `1` |
18+
| `image.repository` | Image repository | `rocketadmin/rocketadmin` |
19+
| `image.tag` | Image tag | `latest` |
20+
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
21+
| `service.type` | Service type | `ClusterIP` |
22+
| `service.port` | Service port | `80` |
23+
| `ingress.enabled` | Enable ingress | `false` |
24+
| `ingress.annotations` | Ingress annotations | `{}` |
25+
| `ingress.hosts` | Ingress hosts | `[]` |
26+
| `ingress.tls` | Ingress TLS configuration | `[]` |
27+
| `resources` | Resource requests and limits | `{}` |
28+
| `nodeSelector` | Node labels for pod assignment | `{}` |
29+
| `tolerations` | Toleration labels for pod assignment | `[]` |
30+
| `affinity` | Affinity settings for pod assignment | `{}` |
31+
32+
For more information on how to configure the RocketAdmin Helm chart, refer to the [documentation](https://github.com/rocketadmin/rocketadmin-chart).

charts/rocketadmin/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type: application
66
# This is the chart version. This version number should be incremented each time you make changes
77
# to the chart and its templates, including the app version.
88
# Versions are expected to follow Semantic Versioning (https://semver.org/)
9-
version: 0.1.10
9+
version: 0.1.11
1010
home: https://rocketadmin.com
1111
sources:
1212
- https://github.com/rocket-admin/rocketadmin

charts/rocketadmin/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ spec:
2727
serviceAccountName: {{ include "rocketadmin.serviceAccountName" . }}
2828
securityContext:
2929
{{- toYaml .Values.podSecurityContext | nindent 8 }}
30+
initContainers:
31+
- name: wait-for-master-before-starup
32+
image: busybox
33+
command: ["sh", "-c", "until nc -z {{ include "rocketadmin.postgresql.fullname" . }} 5432 > /dev/null; do echo Waiting for postgres.; sleep 2; done;"]
3034
containers:
3135
- name: {{ .Chart.Name }}
3236
securityContext:

charts/rocketadmin/templates/postgres-secret.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
apiVersion: v1
55
kind: Secret
66
metadata:
7-
name: {{ include "rocketadmin.fullname" . }}-postgresql
7+
name: rocketadmin-postgresql-secret
88
labels:
99
{{- include "rocketadmin.labels" . | nindent 4 }}
1010
type: Opaque
1111
stringData:
1212
password: {{ include "rocketadmin.dbPassword" . }}
13+
postgres-password: {{ include "rocketadmin.dbPassword" . }}

charts/rocketadmin/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ postgresql:
8585
enabled: true
8686
auth:
8787
username: rocketadmin
88-
existingSecret: rocketadmin-postgresql
88+
existingSecret: rocketadmin-postgresql-secret

0 commit comments

Comments
 (0)