Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to set name for gitrepository and kustomization #209

Open
grzegorzgniadek opened this issue Feb 5, 2024 · 0 comments · May be fixed by #224
Open

Ability to set name for gitrepository and kustomization #209

grzegorzgniadek opened this issue Feb 5, 2024 · 0 comments · May be fixed by #224
Labels
enhancement New feature or request

Comments

@grzegorzgniadek
Copy link

grzegorzgniadek commented Feb 5, 2024

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

@grzegorzgniadek grzegorzgniadek added the enhancement New feature or request label Feb 5, 2024
@grzegorzgniadek grzegorzgniadek linked a pull request May 19, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant