We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fd0d1f commit d31c4fbCopy full SHA for d31c4fb
internal/pkg/plugin/helminstaller/helminstaller.go
@@ -88,7 +88,7 @@ func getDefaultOptionsByInstanceID(instanceID string) *helm.Options {
88
// e.g. argocd-config-001 contains argocd and argocd-config, so the argocd and argocd-config both are matched name.
89
var matchedNames = make([]string, 0)
90
for name := range defaults.DefaultOptionsMap {
91
- if strings.Contains(instanceID, name) {
+ if strings.HasPrefix(instanceID, name) {
92
matchedNames = append(matchedNames, name)
93
}
94
0 commit comments