Quantcast
Channel: Kubernetes configuration with yaml anchors - DevOps Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by Eduardo Baitello for Kubernetes configuration with yaml anchors

YAML anchors are supported, but only for the same YAML file. You can't create the anchor (&) on a deployment file and reference (*) the value on another one.If you want to share ENVs values across...

View Article



Answer by Kroustou for Kubernetes configuration with yaml anchors

The preferred way is to use helm and create a chart. Helm practically generates your manifests based on templates.

View Article

Kubernetes configuration with yaml anchors

I have a deployment.yaml file and want to reuse the environment for all my deployments like this:apiVersion: apps/v1kind: Deploymentmetadata: name: beatspec: selector: matchLabels: app: beat template:...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images