You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a ConfigMap with some data in it, and I want to pull that data into another ConfigMap but with a few changes to add or override some things.
I think we should be able to use overrideStrategy for this, but it currently seems to expect the override data to come from another ConfigMap, whereas I want to be able to hardcode the data I want to add/override into the mtp. To do this we would need to be able to specify a block of json or yaml instead of a configMapKeyRef
Here's an example of one of the things I tried that did not work:
instead of using value, use valueFrom, but point at some non-existant configmap. You will also need to define a default value. The only side effect from this work around, is there will be a warning message that says "couldnt find your value, we are using the default instead"
for future reference..
i think this will involve adding a type field at the same level as value in the schema, and then calling typeCast on env.value with said type, before doing the short circuit return of value
We have a ConfigMap with some data in it, and I want to pull that data into another ConfigMap but with a few changes to add or override some things.
I think we should be able to use overrideStrategy for this, but it currently seems to expect the override data to come from another ConfigMap, whereas I want to be able to hardcode the data I want to add/override into the mtp. To do this we would need to be able to specify a block of json or yaml instead of a configMapKeyRef
Here's an example of one of the things I tried that did not work:
The text was updated successfully, but these errors were encountered: