Skip to content

ArgoCD Helm: Impossible to create a PDB for redis-ha in ArgoCD #3496

@forward2you

Description

@forward2you

Describe the bug

Describe the bug
Currently in the ArgoCD redis/pdb helm template, there's logic that prevents the PDB to be created if redis-ha is enabled.
The safe behavior is to enable both redis-ha and pdb.

Related helm chart

argo-cd

Helm chart version

8.1.3

To Reproduce

redis-ha:
enabled: true
redis:
pdb:
enabled: true
minAvailable: 1

No PDB is created. As it's blocked here

Related old issue

Expected behavior

Both redis-ha and redis pdb are enabled

With this config, will create PDB

redis-ha:
  enabled: true
redis:
  pdb:
    enabled: true
    minAvailable: 1

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions