Skip to content

Possible to set selector in parent helmfile? #344

@2ZZ

Description

@2ZZ

I have a helmfile that pulls in another helmfile
cluster1-helmfile.yaml

---
context: cluster1
helmfiles:
 - apps-helmfile.yaml

Inside the second helmfile there are selectors
apps-helmfile.yaml

releases:
- name: app1
  chart: repo/app1
  version: '*'
  labels:
    enabled: app1
- name: app2
  chart: repo/app2
  version: '*'
  labels:
    enabled: app2

Currently I deploy it using

helmfile --selector enabled=app1 -f cluster-helmfile.yaml sync

Instead is it possible to set the enabled label in the parent helmfile? Similar to #168 (comment)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions