Start adding dragonfly to helmfile

Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
This commit is contained in:
2026-04-26 21:15:26 +02:00
parent e754ab25a0
commit 681bfd80b0
2 changed files with 47 additions and 10 deletions

View File

@@ -13,6 +13,9 @@ repositories:
- name: cloudpirates
url: registry-1.docker.io/cloudpirates
oci: true
- name: dragonfly
url: ghcr.io/dragonflydb/dragonfly/helm
oci: true
releases:
- name: postgres-instance
@@ -31,3 +34,41 @@ releases:
- persistentVolumeClaimRetentionPolicy:
enabled: true
whenDeleted: Delete
- name: dragonfly
namespace: databases
chart: dragonfly/dragonfly
version: v1.38.0
installed: true
values:
- storage:
enabled: true
requests: 128Mi # Set a desired volume size for PVC.
extraArgs:
- --dbfilename=my-dump-{timestamp} # Only the filename without any file extensions.
- --snapshot_cron=* * * * * # Set a valid cron schedule.
podSecurityContext:
fsGroup: 2000
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
redis:
# -- Enable redis cluster with docker container.
enable: true
image:
repository: bitnamilegacy/redis
# -- Cluster domain.
clusterDomain: 'cluster.local'
auth:
# -- Enable password authentication.
enabled: true
# -- Redis password.
password: dragonfly
master:
service:
ports:
# -- Redis master service port.
redis: 6379

View File

@@ -1,13 +1,9 @@
apiVersion: kind.x-k8s.io/v1alpha4
kind: Cluster
nodes:
- role: control-plane
extraPortMappings:
- containerPort: 30000
hostPort: 30000
- containerPort: 30001
hostPort: 30001
- containerPort: 30432
hostPort: 30432
- containerPort: 30306
hostPort: 30306
- role: control-plane
extraPortMappings:
- containerPort: 30432
hostPort: 30432
- containerPort: 30431
hostPort: 30431