mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-09-18 13:22:17 +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{}{
|
"volumes": map[string]interface{}{
|
||||||
"configMap": map[string]interface{}{
|
"configMap": map[string]interface{}{
|
||||||
"name": "cm1",
|
"name": "cm1",
|
||||||
@@ -176,6 +181,11 @@ func TestNameReferenceRun(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"imagePullSecrets": []interface{}{
|
||||||
|
map[string]interface{}{
|
||||||
|
"name": "someprefix-secret1-somehash",
|
||||||
|
},
|
||||||
|
},
|
||||||
"volumes": map[string]interface{}{
|
"volumes": map[string]interface{}{
|
||||||
"configMap": map[string]interface{}{
|
"configMap": map[string]interface{}{
|
||||||
"name": "someprefix-cm1-somehash",
|
"name": "someprefix-cm1-somehash",
|
||||||
|
|||||||
Reference in New Issue
Block a user