From 690730d3b9b864b2f8a11519387a963e6990bb89 Mon Sep 17 00:00:00 2001 From: Benoit Tigeot Date: Sun, 22 Feb 2026 15:03:04 +0100 Subject: [PATCH] fix(test): Remove symlink Signed-off-by: Benoit Tigeot --- pkg/cmd/testdata/testcharts/chart-with-schema-ref | 1 - .../testdata/testcharts/chart-with-schema-ref/Chart.yaml | 3 +++ .../testcharts/chart-with-schema-ref/name.schema.json | 4 ++++ .../testcharts/chart-with-schema-ref/values.schema.json | 7 +++++++ .../testdata/testcharts/chart-with-schema-ref/values.yaml | 1 + 5 files changed, 15 insertions(+), 1 deletion(-) delete mode 120000 pkg/cmd/testdata/testcharts/chart-with-schema-ref create mode 100644 pkg/cmd/testdata/testcharts/chart-with-schema-ref/Chart.yaml create mode 100644 pkg/cmd/testdata/testcharts/chart-with-schema-ref/name.schema.json create mode 100644 pkg/cmd/testdata/testcharts/chart-with-schema-ref/values.schema.json create mode 100644 pkg/cmd/testdata/testcharts/chart-with-schema-ref/values.yaml diff --git a/pkg/cmd/testdata/testcharts/chart-with-schema-ref b/pkg/cmd/testdata/testcharts/chart-with-schema-ref deleted file mode 120000 index 235b87210..000000000 --- a/pkg/cmd/testdata/testcharts/chart-with-schema-ref +++ /dev/null @@ -1 +0,0 @@ -../../../action/testdata/charts/chart-with-schema-ref \ No newline at end of file diff --git a/pkg/cmd/testdata/testcharts/chart-with-schema-ref/Chart.yaml b/pkg/cmd/testdata/testcharts/chart-with-schema-ref/Chart.yaml new file mode 100644 index 000000000..c344a04d9 --- /dev/null +++ b/pkg/cmd/testdata/testcharts/chart-with-schema-ref/Chart.yaml @@ -0,0 +1,3 @@ +apiVersion: v2 +name: chart-with-schema-ref +version: 0.1.0 diff --git a/pkg/cmd/testdata/testcharts/chart-with-schema-ref/name.schema.json b/pkg/cmd/testdata/testcharts/chart-with-schema-ref/name.schema.json new file mode 100644 index 000000000..290e9cca5 --- /dev/null +++ b/pkg/cmd/testdata/testcharts/chart-with-schema-ref/name.schema.json @@ -0,0 +1,4 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "string" +} diff --git a/pkg/cmd/testdata/testcharts/chart-with-schema-ref/values.schema.json b/pkg/cmd/testdata/testcharts/chart-with-schema-ref/values.schema.json new file mode 100644 index 000000000..e253c4c7e --- /dev/null +++ b/pkg/cmd/testdata/testcharts/chart-with-schema-ref/values.schema.json @@ -0,0 +1,7 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "name": { "$ref": "name.schema.json" } + } +} diff --git a/pkg/cmd/testdata/testcharts/chart-with-schema-ref/values.yaml b/pkg/cmd/testdata/testcharts/chart-with-schema-ref/values.yaml new file mode 100644 index 000000000..0b9fc7e3a --- /dev/null +++ b/pkg/cmd/testdata/testcharts/chart-with-schema-ref/values.yaml @@ -0,0 +1 @@ +name: "test"