Back to Skaffold

Raw YAML

docs-v2/content/en/docs/renderers/rawYaml.md

2.19.0885 B
Original Source

Rendering with raw YAML

In the case that your project does not currently use a render engine (helm, kustomize, kpt, etc), the rawYaml renderer should be used. This instructs skaffold to only do it's own yaml field replacement (image: and labels: modifications) and not to use any additional render engine.

Configuration

To use rawYaml, add render type rawYaml to the manifests section of skaffold.yaml.

The rawYaml configuration accepts a list of paths to your manifests with glob syntax supported.

{{< alert title="Note" >}} rawYaml in enabled by default, and has a default parameter of ['k8s/*.yaml']. {{< /alert >}}

Example

The following manifests section instructs Skaffold to render artifacts using rawYaml. Each entry should point to YAML manifest file and supports glob syntax:

{{% readfile file="samples/renderers/rawYaml.yaml" %}}