Skip to content

Commit a62e30e

Browse files
authored
Move kubeconform to curated fns (#1183)
* Move kubeconform to curated fns Signed-off-by: Fiachra Corcoran <[email protected]> * Update image paths etc Signed-off-by: Fiachra Corcoran <[email protected]> --------- Signed-off-by: Fiachra Corcoran <[email protected]>
1 parent 79565bd commit a62e30e

File tree

562 files changed

+23
-23
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

562 files changed

+23
-23
lines changed

contrib/functions/go/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ GOBIN := $(shell go env GOPATH)/bin
2121
# Edit this list to contain all go functions
2222
FUNCTIONS := \
2323
annotate-apply-time-mutations \
24-
delete-annotations \
25-
kubeconform
24+
delete-annotations
2625

2726
# Targets for running all function tests
2827
FUNCTION_TESTS := $(patsubst %,%-TEST,$(FUNCTIONS))
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
exitCode: 1
22
skip: false
33
testType: eval
4-
image: ghcr.io/kptdev/krm-functions-catalog/krm-fn-contrib/kubeconform:latest
4+
image: ghcr.io/kptdev/krm-functions-catalog/kubeconform:latest
55
args:
66
strict: 'true'
77
skip_kinds: MyCustom,MyOtherCustom

contrib/examples/kubeconform-imperative/.expected/results.yaml renamed to examples/kubeconform-imperative/.expected/results.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: fnresults
55
exitCode: 1
66
items:
7-
- image: ghcr.io/kptdev/krm-functions-catalog/krm-fn-contrib/kubeconform:latest
7+
- image: ghcr.io/kptdev/krm-functions-catalog/kubeconform:latest
88
stderr: 'failed to evaluate function: error: function failure'
99
exitCode: 1
1010
results:

contrib/examples/kubeconform-imperative/README.md renamed to examples/kubeconform-imperative/README.md

Lines changed: 3 additions & 3 deletions

contrib/examples/kubeconform-mount-schema/.expected/exec.sh renamed to examples/kubeconform-mount-schema/.expected/exec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eo pipefail
44

5-
kpt fn eval -i ghcr.io/kptdev/krm-functions-catalog/krm-fn-contrib/kubeconform:latest --image-pull-policy never \
5+
kpt fn eval -i ghcr.io/kptdev/krm-functions-catalog/kubeconform:latest --image-pull-policy never \
66
--results-dir="$(pwd)/../results" \
77
--mount type=bind,src="$(pwd)/jsonschema",dst=/schema-dir/master-standalone \
88
-- schema_location=file:///schema-dir

contrib/examples/kubeconform-mount-schema/.expected/results.yaml renamed to examples/kubeconform-mount-schema/.expected/results.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: fnresults
55
exitCode: 1
66
items:
7-
- image: ghcr.io/kptdev/krm-functions-catalog/krm-fn-contrib/kubeconform:latest
7+
- image: ghcr.io/kptdev/krm-functions-catalog/kubeconform:latest
88
stderr: 'failed to evaluate function: error: function failure'
99
exitCode: 1
1010
results:

0 commit comments

Comments
 (0)