Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Enh: clusterDecisionResource should also provide labels/annotations, like regular cluster generator #401

Open
hans-d opened this issue Nov 1, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@hans-d
Copy link

hans-d commented Nov 1, 2021

The cluster generator provides labels and annotations from the selected/generated clusters.
These can be used in the template.

The clusterDecisionResource does only provide data provided in referenced resource from which the decision is made. It would be very beneficial if labels/annotations from the cluster resource from argo cd are provided as well.

@jgwest jgwest added the enhancement New feature or request label Nov 1, 2021
@crenshaw-dev
Copy link
Member

I think this could be done with the new merge generator. Use a ClusterDecisionResource generator to as the base generator and then merge with a Cluster generator on the server param.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants