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
I'm trying to write a ApplicationSet + Generators for a Gitlab group so at any point of time a repository within this group decided to have a deployment, they just need to build and publish their Helm chart.
For this purpose, I am using the SCMProvider Generator for Gitlab.
My question is, how should I setup my ApplicationSet so for all the available Helm packages under the Gitlab group, an equivalent Argo Helm application gets created?
The problem is, when I configure the SCMProvider for a Gitlab group:
An alternative could have been using the Gitlab group package API: https://gitlab.com/api/v4/groups/[GROUP_ID]/packages/?package_type=helm to get all the Helm packages, but this endpoint response is not compatible with Helm as it does not contain the index.yaml file.
Or, write a Plugin Generator which returns Gitlab repositories' project_id and combine it with the SCMProvider within a Matrix generator..
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm trying to write a ApplicationSet + Generators for a Gitlab group so at any point of time a repository within this group decided to have a deployment, they just need to build and publish their Helm chart.
For this purpose, I am using the SCMProvider Generator for Gitlab.
My question is, how should I setup my ApplicationSet so for all the available Helm packages under the Gitlab group, an equivalent Argo Helm application gets created?
The problem is, when I configure the SCMProvider for a Gitlab group:
The provider does not return the Gitlab
project_idof the scanned repositories so that I could generate the following GitlabrepoUrlpath:An alternative could have been using the Gitlab group package API:
https://gitlab.com/api/v4/groups/[GROUP_ID]/packages/?package_type=helmto get all the Helm packages, but this endpoint response is not compatible with Helm as it does not contain theindex.yamlfile.Or, write a Plugin Generator which returns Gitlab repositories'
project_idand combine it with the SCMProvider within a Matrix generator..Any thoughts?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions