apiVersion: v1
data:
  primary.conf: |-
    dir /data
    # User-supplied primary configuration:
    rename-command FLUSHDB ""
    rename-command FLUSHALL ""
    # End of primary configuration
  replica.conf: |-
    dir /data
    # User-supplied replica configuration:
    rename-command FLUSHDB ""
    rename-command FLUSHALL ""
    # End of replica configuration
  sentinel.conf: |-
    dir "/tmp"
    port 26379
    sentinel monitor atmosphere valkey-node-0.valkey-headless.openstack.svc.cluster.local 6379 2
    sentinel down-after-milliseconds atmosphere 60000
    sentinel failover-timeout atmosphere 180000
    sentinel parallel-syncs atmosphere 1
    # User-supplied sentinel configuration:
    # End of sentinel configuration
  valkey.conf: |-
    # User-supplied common configuration:
    # Enable AOF https://valkey.io/docs/topics/persistence.html
    appendonly yes
    # Disable RDB persistence, AOF persistence already enabled.
    save ""
    # End of common configuration
kind: ConfigMap
metadata:
  annotations:
    meta.helm.sh/release-name: valkey
    meta.helm.sh/release-namespace: openstack
  creationTimestamp: "2026-04-25T11:28:23Z"
  labels:
    app.kubernetes.io/instance: valkey
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: valkey
    app.kubernetes.io/part-of: valkey
    app.kubernetes.io/version: 8.0.2
    helm.sh/chart: valkey-2.4.6
  name: valkey-configuration
  namespace: openstack
  resourceVersion: "2167"
  uid: db81868b-b630-4fee-b821-b511308fb019
