Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 475 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 475 Bytes

Kubernetes YAML Glob

Author: Glenn Franxman

Load kubernetes manifests by glob patterns.

Usage

First load the extension like:

load('ext://k8s_yaml_glob', 'k8s_yaml_glob')

Then use it like this:

# all of the .yaml files in the k8s directory.
k8s_yaml_glob('./k8s/*.yaml')  

or like this:

# all of the dev-*.yaml files in the k8s directory and subdirectories.
k8s_yaml_glob('./k8s/**/dev-*.yaml')