From e740d3623e92663fbbd6506f74f9f9f32ab32255 Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Thu, 20 Jan 2022 12:13:41 +0100 Subject: [PATCH] cilium: Remove values.schema.json That file doesn't seem to be used anywhere. Signed-off-by: Michal Rostecki --- .../rke2-cilium/charts/values.schema.json | 253 ------------------ 1 file changed, 253 deletions(-) delete mode 100644 packages/rke2-cilium/charts/values.schema.json diff --git a/packages/rke2-cilium/charts/values.schema.json b/packages/rke2-cilium/charts/values.schema.json deleted file mode 100644 index 7cdf91c..0000000 --- a/packages/rke2-cilium/charts/values.schema.json +++ /dev/null @@ -1,253 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-09/schema", - "type": "object", - "properties": { - "cilium": { - "type": "object", - "properties": { - "azure": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "cni": { - "type": "object", - "properties": { - "chainingMode": { - "type": "string" - }, - "customConf": { - "type": "boolean" - } - } - }, - "eni": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "image": { - "type": "object", - "properties": { - "repository": { - "type": "string" - }, - "tag": { - "type": "string" - } - }, - "required": ["repository", "tag" ] - }, - "imagePullSecrets": { - "type": "array" - }, - "ipam": { - "type": "object", - "properties": { - "mode": { - "type": "string" - } - } - }, - "masquerade": { - "type": "boolean" - }, - "nodeinit": { - "type": "object", - "properties": { - "image": { - "type": "object", - "properties": { - "repository": { - "type": "string" - }, - "tag": { - "type": "string" - } - }, - "required": ["repository", "tag" ] - } - }, - "required": ["image" ] - }, - "operator": { - "type": "object", - "properties": { - "image": { - "type": "object", - "properties": { - "repository": { - "type": "string" - }, - "tag": { - "type": "string" - } - }, - "required": ["repository", "tag" ] - } - }, - "required": ["image" ] - }, - "preflight": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "image": { - "type": "object", - "properties": { - "repository": { - "type": "string" - }, - "tag": { - "type": "string" - } - }, - "required": ["repository", "tag" ] - } - } - }, - "tunnel": { - "type": "string" - }, - "ipv6": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - } - }, - "required": ["image", "operator", "nodeinit" ] - }, - "global": { - "type": "object", - "properties": { - "systemDefaultRegistry": { - "type": "string" - } - } - } - }, - "required": ["cilium"], - "allOf": [ - { "$ref" : "#/$defs/azure-requires-config" }, - { "$ref" : "#/$defs/aws-requires-config" }, - { "$ref" : "#/$defs/azure-aws-are-exclusive" }, - { "$ref" : "#/$defs/preflight-requires-config" } - ], - "$defs": { - "is-azure": { - "properties" : { - "cilium": { - "properties": { - "azure": { - "properties": { - "enabled": { "const": true } - } - } - } - } - } - }, - "azure-requires-config" : { - "anyOf": [ - { "not": { "$ref": "#/$defs/is-azure" } }, - { - "properties": { - "cilium": { - "properties": { - "masquerade": { "const": true }, - "cni": { - "properties": { - "chainingMode": { "const": "generic-veth" }, - "customConf": { "const": true }, - "configMap": { "const": "cni-configuration"} - }, - "required": [ "chainingMode", "customConf", "configMap" ] - } - }, - "required": [ "cni" ] - } - } - } - ] - }, - "is-aws": { - "properties" : { - "cilium": { - "properties": { - "eni": { "const": true } - } - } - } - }, - "aws-requires-config": { - "anyOf": [ - { "not": { "$ref": "#/$defs/is-aws" } }, - { - "properties": { - "cilium": { - "properties": { - "tunnel": { "const": "disabled" }, - "egressMasqueradeInterfaces": { "const": "eth0" }, - "ipam": { - "properties": { - "mode": { "const": "eni" } - }, - "required": [ "mode" ] - } - }, - "required": [ "tunnel", "egressMasqueradeInterfaces", "ipam" ] - } - } - } - ] - }, - "azure-aws-are-exclusive": { - "not": { - "allOf": [ - { "$ref": "#/$defs/is-azure" }, - { "$ref": "#/$defs/is-aws" } - ] - } - }, - "is-preflight": { - "properties" : { - "cilium": { - "properties": { - "preflight": { - "properties": { - "enabled": { "const": true } - } - } - } - } - } - }, - "preflight-requires-config" : { - "anyOf": [ - { "not": { "$ref": "#/$defs/is-preflight" } }, - { - "properties": { - "cilium": { - "properties": { - "preflight": { - "required": [ "image" ] - } - } - } - } - } - ] - } - } -}