You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently trying to create an ApplicationSet with nested Matrix Generators, but the final Cluster generator can't access the metadata.labels from the Cluster Secret. The system continues to complain that the map has no entry for the key metadata.
Seeing that I've followed the documentation correctly, I assume this may be a bug in using the functionality within a nested matrix.
To Reproduce
Here's a copy of the ApplicationSet and Cluster Secret for reference. (not some details have been redacted)
failed to get params for second generator in the matrix generator: child
generator returned an error on parameter generation: failed to replace
parameters in generator: failed to execute go template {{index
.metadata.labels "sanai/env"}}: template: :1:17: executing "" at
<.metadata.labels>: map has no entry for key "metadata"
The text was updated successfully, but these errors were encountered:
From what I've heard, matrix of matrix isn't fully supported. Are there other ways to restructure this to avoid having nested matrix? Is there something that can be added to ArgoCD to allow for that to happen?
Checklist:
argocd version
.Describe the bug
Currently trying to create an ApplicationSet with nested Matrix Generators, but the final Cluster generator can't access the
metadata.labels
from the Cluster Secret. The system continues to complain that the map has no entry for the keymetadata
.Seeing that I've followed the documentation correctly, I assume this may be a bug in using the functionality within a nested matrix.
To Reproduce
Here's a copy of the ApplicationSet and Cluster Secret for reference. (not some details have been redacted)
ApplicationSet
Cluster Secret
Expected behavior
I would have expected that the Cluster Generator would have pulled the metadata from the cluster secret to use within the ApplicationSet Template.
Screenshots
N/A
Version
Logs
The text was updated successfully, but these errors were encountered: