mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
add test
This commit is contained in:
@@ -94,6 +94,11 @@ func TestNameReferenceRun(t *testing.T) {
|
||||
},
|
||||
},
|
||||
},
|
||||
"imagePullSecrets": []interface{}{
|
||||
map[string]interface{}{
|
||||
"name": "secret1",
|
||||
},
|
||||
},
|
||||
"volumes": map[string]interface{}{
|
||||
"configMap": map[string]interface{}{
|
||||
"name": "cm1",
|
||||
@@ -176,6 +181,11 @@ func TestNameReferenceRun(t *testing.T) {
|
||||
},
|
||||
},
|
||||
},
|
||||
"imagePullSecrets": []interface{}{
|
||||
map[string]interface{}{
|
||||
"name": "someprefix-secret1-somehash",
|
||||
},
|
||||
},
|
||||
"volumes": map[string]interface{}{
|
||||
"configMap": map[string]interface{}{
|
||||
"name": "someprefix-cm1-somehash",
|
||||
|
||||
Reference in New Issue
Block a user