fluxcd-community/helm-charts

Ability to set name for gitrepository and kustomization

grzegorzgniadek opened this issue · 2 comments

Is your feature request related to a problem ?

Allow flux2-sync to set gitrepository and kustomization .metadata.name

Describe the solution you'd like.

metadata:
  name: {{ .Values.gitRepository.name | default .Release.Name  }}

in flux-gitrepository.yaml
and

metadata:
  name: {{ .Values.kustomization.name | default .Release.Name  }}
sourceRef:
  kind: GitRepository
  name:  {{ .Values.gitRepository.name | default .Release.Name  }}

in flux-kustomization.yaml

Describe alternatives you've considered.

None

Additional context.

No response

There's an active PR for this, testers wanted?