Vignesh S
Jun 21, 2022

--

is the command will not work if we give the json file as input in the configmap data ?

apiVersion: v1

kind: ConfigMap

metadata:

name: test-configmap

data:

vendor_config_dev.json: |

{{ .Files.Get "conf/test.json" | indent 4 }}

error: error parsing templates/config-map.yaml: error converting YAML to JSON: yaml: line 8: could not find expected ':'

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Vignesh S
Vignesh S

Responses (1)

Write a response