diff --git a/src/schemas/json/kustomization.json b/src/schemas/json/kustomization.json index 344005c8efe..ed4a8d40d11 100644 --- a/src/schemas/json/kustomization.json +++ b/src/schemas/json/kustomization.json @@ -140,12 +140,8 @@ }, "valuesInline": { "type": "object", - "patternProperties": { - ".*": { - "type": "object", - "additionalProperties": true - } - } + "additionalProperties": true, + "properties": {} }, "valuesMerge": { "type": "string", diff --git a/src/test/kustomization/helmCharts3.yaml b/src/test/kustomization/helmCharts3.yaml new file mode 100644 index 00000000000..65083398080 --- /dev/null +++ b/src/test/kustomization/helmCharts3.yaml @@ -0,0 +1,14 @@ +# yaml-language-server: $schema=../../schemas/json/kustomization.json +helmCharts: + - repo: https://kubernetes-sigs.github.io/descheduler + name: descheduler + version: 0.33.0 + releaseName: descheduler + namespace: kube-system + valuesInline: + kind: CronJob + suspend: true + failedJobsHistoryLimit: 1 + imagePullSecrets: null + tolerations: [] + resources: {}