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
{{ message }}
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
For some organizations, a monorepo of application manifests can contain a mix of different deployment mechanisms, especially when different teams with different preferences for things like Helm/Kustomize/etc are handling different deployments. If each of those deployments uses a standard structure that Argo natively understands, ApplicationSets can handle that with no issue.
However, if some of those manifests require special deployment logic (kustomized-helm, for example), the current ApplicationSet generators are basically all-or-nothing deals, mainly because of the fact that pluginSpec is a map and an ApplicationSpec can't just contain a name field with an empty string (otherwise this could be handled by setting or not setting a plugin value in settings file if we were using the git file generator.
(Potential) Solution: Allow maps to be substituted
The current git file generator only seems to support substituting values as strings, adding map support could address this use case (and potentially others down the line)
If we want to include a plugin, we add this to our config.json for a given app
{
"plugin": {
"name": "kustomized-helm"
}
}
If not, we either explicitly set plugin to be empty {}, or else omit the key, and the generator can just drop the plugin field from the generated ApplicationSpec
The text was updated successfully, but these errors were encountered:
@rbkaspr Did you ever a figure out a workaround for this?
I am in a similar boat where the entire cluster is deployed using a single ApplicationSet utilizing Helm. However, one of the deployments requires Kustomize and that means I need to either deploy it separately or add kustomization.yaml for every project. Neither is ideal.
anyone found a workaround maybe with the latest changes as the gotemplate sprig functions https://github.com/Masterminds/sprig ?
Or another workaround that allows applications with or without plugins from the same application set?
also noticed plugin: {} does not work the whole key should be ommited
Hello, is there already a solution to this problem available? I have the same requirement. Otherwise, I am not able to use the ApplicationSet Git Generator pattern when I have helm and kustomize applications in my repository.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What's the issue?
For some organizations, a monorepo of application manifests can contain a mix of different deployment mechanisms, especially when different teams with different preferences for things like Helm/Kustomize/etc are handling different deployments. If each of those deployments uses a standard structure that Argo natively understands, ApplicationSets can handle that with no issue.
However, if some of those manifests require special deployment logic (kustomized-helm, for example), the current ApplicationSet generators are basically all-or-nothing deals, mainly because of the fact that pluginSpec is a map and an ApplicationSpec can't just contain a name field with an empty string (otherwise this could be handled by setting or not setting a
plugin
value in settings file if we were using the git file generator.(Potential) Solution: Allow maps to be substituted
The current git file generator only seems to support substituting values as strings, adding map support could address this use case (and potentially others down the line)
If we want to include a plugin, we add this to our config.json for a given app
If not, we either explicitly set plugin to be empty
{}
, or else omit the key, and the generator can just drop the plugin field from the generated ApplicationSpecThe text was updated successfully, but these errors were encountered: