pkl_reader_kustomize

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

README

pkl-reader-kustomize

A Pkl external resource reader for Kustomize/Krusty builds.

Examples

Read manifests: gateway-api.pkl.

Generate Pkl modules from CRDs: gateway-api-crds

Install

  1. Build and install binary: go install -v https://github.com/RedL0tus/pkl-reader-kustomize/cmd/pkl-reader-kustomize@v0.1.0, make sure the binary exists in PATH.
  2. Update PklProject:
  • Add package://pkg.pkl-lang.org/github.com/RedL0tus/pkl-reader-kustomize@v0.1.0 to dependencies.
  • Update external reader settings:
evaluatorSettings {
  externalResourceReaders {
    ["reader+kustomize"] {
      executable = "pkl-reader-kustomize"
    }
  }
}

Credits

  • Official pkl-readers, used their shared utilities and boilerplates in this project.
  • k8s.contrib.crd, for Pkl module generation from CRDs.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
msg
Code generated from Pkl module `kustomize.kustomize`.
Code generated from Pkl module `kustomize.kustomize`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL