Skip to content

boolean logic in dependency condition? #31655

@shaofeng66

Description

@shaofeng66

What would you like to be added?

We have mysql or pxc-db as subchart to provide database, depends on whether it a HA deployment. Is it possible to has a single flag in values.yaml to trigger HA or not?

dependencies:
- name: mysql
  repository: oci://registry-1.docker.io/bitnamicharts
  version: 12.3.x
  condition: !highAvailability # <<<<<<<<<<<<<< something like this
- name: pxc-db
  repository: https://percona.github.io/percona-helm-charts
  version: 1.17.x
  condition: highAvailability

Why is this needed?

boolean logic in dependency

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