From: Carsten B. <ca...@tz...> - 2021-03-23 19:36:59
|
On 23. Mar 2021, at 16:02, Tom Corcoran <bo...@gm...> wrote: > > I have since learned that YAML is a dead language, not maintained for over 10 years, which seem strange considering how much it's used these days. It would be a dead language if it weren’t spoken. But as you notice, it is spoken a lot. > On Thu, 18 Mar 2021 at 21:50, Tom Corcoran <bo...@gm... <mailto:bo...@gm...>> wrote: > I have an anchor as follows: > > helm-install > docker-flags: &my_docker_flags > - "--network host" > - "--env KUBECONFIG=/tmp/admin.conf" > - "--env HOME=${env.HOME}" > - "--volume ${env.KUBECONFIG}:/tmp/admin.conf:ro" > - "--volume ${env.PWD}:${env.PWD}" > - "--volume ${env.HOME}/.helm:${env.HOME}/.helm" > - "--volume ${var.docker_config_basepath}:${var.docker_config_basepath}" > > later I want to do: > > docker-flags: > <<: *d my_docker_flags > - "--env K8_NAMESPACE=${env.K8_NAMESPACE}" > > But, the last line is flagged as bad indentation of a mapping entry YAML What are you trying to do? I can’t parse the above. Grüße, Carsten |