Replace pkger with embed.FS compatibility

This commit is contained in:
Katrina Verey
2021-05-17 09:26:30 -07:00
parent 53c87a32e9
commit 3f3d3b17a4
59 changed files with 888 additions and 357 deletions

View File

@@ -2,11 +2,16 @@
// SPDX-License-Identifier: Apache-2.0
// Package main contains an example using the the framework.
// The example annotates all resources in the input with the value provided as a flag.
// The example annotates all resources in the input with the value provided as a flag,
// and adds all resources in the templates/ directory to the list.
//
// To execute the function, run:
//
// $ cat input/cm.yaml | go run ./main.go --value=foo
// $ cat testdata/basic/input.yaml | go run ./main.go --value=foo
//
// Alternatively, you can provide the value via a config file instead of a flag:
//
// $ go run ./main.go testdata/basic/config.yaml testdata/basic/input.yaml
//
// To generate the Dockerfile for the function image run:
//