Skip to content
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/rocketadmin)](https://artifacthub.io/packages/search?repo=rocketadmin)

## UPGRADE NOTICE

Starting with version 1 default storage changes to pglite. If you need to keep previous behaviour you need to set postgresql.enabled = true

## Overview

This Helm chart is used to deploy RocketAdmin, a comprehensive administration tool for managing databases, on a Kubernetes cluster. This chart configures and manages the necessary Kubernetes resources such as Deployments, Services, and ConfigMaps.
Expand Down Expand Up @@ -34,7 +38,7 @@ The command removes all the Kubernetes components associated with the chart and

## Configuration

The following table lists the configurable parameters of the RocketAdmin chart and their default values.
The following table lists the configurable parameters of the RocketAdmin chart and their default values. If you want to keep existing behaviour - set postgresql.enabled to true

| Parameter | Description | Default |
| ---------------------------------- | ------------------------------------------------------------ | ----------------------------- |
Expand Down
4 changes: 2 additions & 2 deletions charts/rocketadmin/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ dependencies:
- name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: 15.5.20
digest: sha256:37258931369b9ea3374b455c037d82ad7ea0bdcc649123d2f6f5cdc52dd7491b
generated: "2024-08-08T13:36:10.102618246Z"
digest: sha256:fa28791d6a669ccb1c04be8dd4dce32693ae1699ba318338f5ee8abadf40e0f2
generated: "2025-10-17T11:14:31.642107706Z"
5 changes: 3 additions & 2 deletions charts/rocketadmin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ name: rocketadmin
description: Rocketadmin is a web-based application for creating admin panels for your projects.
type: application
icon: https://avatars.githubusercontent.com/u/84132223
version: 0.1.66
version: 1.0.0
home: https://rocketadmin.com
sources:
- https://github.com/rocket-admin/rocketadmin
appVersion: "1.0.17"
appVersion: "1.0.18"
dependencies:
- name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: "15.5.20"
condition: "postgresql.enabled"
maintainers:
- name: gugu
email: andrii@rocketadmin.com
Expand Down
Binary file added charts/rocketadmin/charts/postgresql-15.5.20.tgz
Binary file not shown.
12 changes: 12 additions & 0 deletions charts/rocketadmin/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ spec:
serviceAccountName: {{ include "rocketadmin.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.pglite.enabled }}
volumes:
- name: rocketadmin-data
persistentVolumeClaim:
claimName: rocketadmin-data-pvc
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand All @@ -40,6 +46,11 @@ spec:
- name: http
containerPort: 8080
protocol: TCP
{{- if .Values.pglite.enabled }}
volumeMounts:
- name: rocketadmin-data
mountPath: /app/backend/pglite-storage
{{- end }}
livenessProbe:
httpGet:
path: /
Expand All @@ -48,6 +59,7 @@ spec:
httpGet:
path: /
port: http
initialDelaySeconds: 30
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
15 changes: 15 additions & 0 deletions charts/rocketadmin/templates/pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{- if .Values.pglite.enabled }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: rocketadmin-data-pvc
labels:
{{- include "rocketadmin.labels" . | nindent 4 }}
spec:
accessModes:
- ReadWriteOnce
storageClassName: {{ .Values.pglite.storageClass }}
resources:
requests:
storage: 10Gi
{{- end }}
5 changes: 5 additions & 0 deletions charts/rocketadmin/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ type: Opaque
stringData:
{{ ( include "gen.secret" . ) | indent 2}}
APP_DOMAIN_ADDRESS: {{ include "app-domain-address" . }}
{{- if .Values.postgresql.enabled}}
DATABASE_URL: postgresql://rocketadmin:{{urlquery .Values.auth.password}}@{{ include "rocketadmin.postgresql.fullname" . }}/rocketadmin
{{- end -}}
{{- if .Values.pglite.enabled }}
PGLITE_FOLDER_PATH: /pglite-storage
{{- end}}
{{- if .Values.email.enabled }}
EMAIL_CONFIG_STRING: "smtp://{{urlquery .Values.email.username}}:{{urlquery .Values.email.password}}@{{.Values.email.host}}:{{.Values.email.port}}"
EMAIL_FROM: {{.Values.email.from}}
Expand Down
6 changes: 5 additions & 1 deletion charts/rocketadmin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,14 @@ tolerations: []
affinity: {}

postgresql:
enabled: true
enabled: false
image:
repository: bitnamilegacy/postgresql
auth:
username: rocketadmin
existingSecret: rocketadmin-postgresql-secret
database: rocketadmin

pglite:
enabled: true
storageClass: