mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 16:21:44 +02:00
feat: refactor label creation in state.go (#1758)
* feat: refactor label creation in state.go Signed-off-by: yxxhero <aiopsclub@163.com> * fix more Signed-off-by: yxxhero <aiopsclub@163.com> * fix test Signed-off-by: yxxhero <aiopsclub@163.com> * fix more issue Signed-off-by: yxxhero <aiopsclub@163.com> --------- Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
@@ -185,9 +185,9 @@ global kube-system true true incubator/raw
|
||||
check(t, testcase{
|
||||
environment: "development",
|
||||
selectors: []string{"app=test"},
|
||||
expected: `NAME NAMESPACE ENABLED INSTALLED LABELS CHART VERSION
|
||||
external-secrets default true true app:test,chart:raw,name:external-secrets,namespace:default incubator/raw
|
||||
my-release default true true app:test,chart:raw,name:my-release,namespace:default incubator/raw
|
||||
expected: `NAME NAMESPACE ENABLED INSTALLED LABELS CHART VERSION
|
||||
external-secrets default true true app:test incubator/raw
|
||||
my-release default true true app:test incubator/raw
|
||||
`,
|
||||
}, cfg)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user