Allows Secret & ConfigMap Keys to look like Environment Variables
This makes environment variable style keys (uppercase with underscores) valid in Secrets and ConfigMap.
This commit is contained in:
@@ -93,7 +93,7 @@ func TestUpdate(t *testing.T) {
|
||||
// invalid updateFunc
|
||||
func(obj runtime.Object) runtime.Object {
|
||||
cfg := obj.(*api.ConfigMap)
|
||||
cfg.Data["badKey"] = "value"
|
||||
cfg.Data["bad*Key"] = "value"
|
||||
return cfg
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user