Skip to content

Commit 3e1178e

Browse files
committed
chore: sync values.schema.json to vCluster version v0.21.6
1 parent a0625db commit 3e1178e

File tree

1 file changed

+5
-236
lines changed

1 file changed

+5
-236
lines changed

values.schema.json

Lines changed: 5 additions & 236 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,6 @@
3232
"type": "object",
3333
"description": "APIServiceService holds the service name and namespace of the host apiservice."
3434
},
35-
"AutoSleepExclusion": {
36-
"properties": {
37-
"selector": {
38-
"$ref": "#/$defs/LabelSelector"
39-
}
40-
},
41-
"additionalProperties": false,
42-
"type": "object",
43-
"description": "AutoSleepExclusion holds conifiguration for excluding workloads from sleeping by label(s)"
44-
},
45-
"AutoWakeup": {
46-
"properties": {
47-
"schedule": {
48-
"type": "string"
49-
}
50-
},
51-
"additionalProperties": false,
52-
"type": "object",
53-
"description": "AutoWakeup holds the cron schedule to wake workloads automatically"
54-
},
5535
"BackingStore": {
5636
"properties": {
5737
"etcd": {
@@ -86,71 +66,6 @@
8666
"additionalProperties": false,
8767
"type": "object"
8868
},
89-
"CertManager": {
90-
"properties": {
91-
"enabled": {
92-
"type": "boolean",
93-
"description": "Enabled defines if this option should be enabled."
94-
},
95-
"sync": {
96-
"$ref": "#/$defs/CertManagerSync",
97-
"description": "Sync contains advanced configuration for syncing cert-manager resources."
98-
}
99-
},
100-
"additionalProperties": false,
101-
"type": "object",
102-
"description": "CertManager reuses a host cert-manager and makes its CRDs from it available inside the vCluster"
103-
},
104-
"CertManagerSync": {
105-
"properties": {
106-
"toHost": {
107-
"$ref": "#/$defs/CertManagerSyncToHost"
108-
},
109-
"fromHost": {
110-
"$ref": "#/$defs/CertManagerSyncFromHost"
111-
}
112-
},
113-
"additionalProperties": false,
114-
"type": "object"
115-
},
116-
"CertManagerSyncFromHost": {
117-
"properties": {
118-
"clusterIssuers": {
119-
"$ref": "#/$defs/ClusterIssuersSyncConfig",
120-
"description": "ClusterIssuers defines if (and which) cluster issuers should get synced from the host cluster to the virtual cluster."
121-
}
122-
},
123-
"additionalProperties": false,
124-
"type": "object"
125-
},
126-
"CertManagerSyncToHost": {
127-
"properties": {
128-
"certificates": {
129-
"$ref": "#/$defs/EnableSwitch",
130-
"description": "Certificates defines if certificates should get synced from the virtual cluster to the host cluster."
131-
},
132-
"issuers": {
133-
"$ref": "#/$defs/EnableSwitch",
134-
"description": "Issuers defines if issuers should get synced from the virtual cluster to the host cluster."
135-
}
136-
},
137-
"additionalProperties": false,
138-
"type": "object"
139-
},
140-
"ClusterIssuersSyncConfig": {
141-
"properties": {
142-
"enabled": {
143-
"type": "boolean",
144-
"description": "Enabled defines if this option should be enabled."
145-
},
146-
"selector": {
147-
"$ref": "#/$defs/LabelSelector",
148-
"description": "Selector defines what cluster issuers should be imported."
149-
}
150-
},
151-
"additionalProperties": false,
152-
"type": "object"
153-
},
15469
"ClusterStoresSyncConfig": {
15570
"properties": {
15671
"enabled": {
@@ -1041,7 +956,7 @@
1041956
},
1042957
"version": {
1043958
"type": "string",
1044-
"description": "Version specifies k8s components (scheduler, kube-controller-manager \u0026 apiserver) version.\nIt is a shortcut for controlPlane.distro.k8s.apiServer.image.tag,\ncontrolPlane.distro.k8s.controllerManager.image.tag and\ncontrolPlane.distro.k8s.scheduler.image.tag\nIf e.g. controlPlane.distro.k8s.version is set to v1.30.1 and\ncontrolPlane.distro.k8s.scheduler.image.tag\n(or controlPlane.distro.k8s.controllerManager.image.tag or controlPlane.distro.k8s.apiServer.image.tag)\nis set to v1.31.0,\nvalue from controlPlane.distro.k8s.(controlPlane-component).image.tag will be used\n(where controlPlane-component is apiServer, controllerManager and scheduler)."
959+
"description": "Version specifies k8s components (scheduler, kube-controller-manager \u0026 apiserver) version.\nIt is a shortcut for controlPlane.distro.k8s.apiServer.image.tag,\ncontrolPlane.distro.k8s.controllerManager.image.tag and\ncontrolPlane.distro.k8s.scheduler.image.tag\nIf e.g. controlPlane.distro.k8s.version is set to v1.30.1 and\ncontrolPlane.distro.k8s.scheduler.image.tag\n(or controlPlane.distro.k8s.controllerManager.image.tag or controlPlane.distro.k8s.apiServer.image.tag)\nis set to v1.31.0,\nvalue from controlPlane.distro.k8s.\u003ccontrolPlane-component\u003e.image.tag will be used\n(where \u003ccontrolPlane-component is apiServer, controllerManager and scheduler)."
1045960
},
1046961
"apiServer": {
1047962
"$ref": "#/$defs/DistroContainerEnabled",
@@ -1125,27 +1040,6 @@
11251040
"additionalProperties": false,
11261041
"type": "object"
11271042
},
1128-
"EnableSwitchWithResourcesMappings": {
1129-
"properties": {
1130-
"enabled": {
1131-
"type": "boolean",
1132-
"description": "Enabled defines if this option should be enabled."
1133-
},
1134-
"patches": {
1135-
"items": {
1136-
"$ref": "#/$defs/TranslatePatch"
1137-
},
1138-
"type": "array",
1139-
"description": "Patches patch the resource according to the provided specification."
1140-
},
1141-
"mappings": {
1142-
"$ref": "#/$defs/FromHostMappings",
1143-
"description": "Mappings for Namespace and Object"
1144-
}
1145-
},
1146-
"additionalProperties": false,
1147-
"type": "object"
1148-
},
11491043
"Etcd": {
11501044
"properties": {
11511045
"embedded": {
@@ -1306,7 +1200,7 @@
13061200
"properties": {
13071201
"deploy": {
13081202
"$ref": "#/$defs/ExperimentalDeploy",
1309-
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the host or virtual cluster."
1203+
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the virtual cluster."
13101204
},
13111205
"syncSettings": {
13121206
"$ref": "#/$defs/ExperimentalSyncSettings",
@@ -1336,10 +1230,6 @@
13361230
"type": "array",
13371231
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
13381232
"pro": true
1339-
},
1340-
"reuseNamespace": {
1341-
"type": "boolean",
1342-
"description": "ReuseNamespace allows reusing the same namespace to create multiple vClusters.\nThis flag is deprecated, as this scenario will be removed entirely in upcoming releases."
13431233
}
13441234
},
13451235
"additionalProperties": false,
@@ -1427,11 +1317,11 @@
14271317
"properties": {
14281318
"manifests": {
14291319
"type": "string",
1430-
"description": "Manifests are raw Kubernetes manifests that should get applied within the host cluster."
1320+
"description": "Manifests are raw Kubernetes manifests that should get applied within the virtual cluster."
14311321
},
14321322
"manifestsTemplate": {
14331323
"type": "string",
1434-
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the host cluster."
1324+
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the virtual cluster."
14351325
}
14361326
},
14371327
"additionalProperties": false,
@@ -1636,51 +1526,13 @@
16361526
},
16371527
"secret": {
16381528
"$ref": "#/$defs/ExportKubeConfigSecretReference",
1639-
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster will create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret.\n\nDeprecated: Use AdditionalSecrets instead."
1640-
},
1641-
"additionalSecrets": {
1642-
"items": {
1643-
"$ref": "#/$defs/ExportKubeConfigAdditionalSecretReference"
1644-
},
1645-
"type": "array",
1646-
"description": "AdditionalSecrets specifies the additional host cluster secrets in which vCluster will store the\ngenerated virtual cluster kubeconfigs."
1529+
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster will create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret."
16471530
}
16481531
},
16491532
"additionalProperties": false,
16501533
"type": "object",
16511534
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig."
16521535
},
1653-
"ExportKubeConfigAdditionalSecretReference": {
1654-
"properties": {
1655-
"context": {
1656-
"type": "string",
1657-
"description": "Context is the name of the context within the generated kubeconfig to use."
1658-
},
1659-
"server": {
1660-
"type": "string",
1661-
"description": "Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig."
1662-
},
1663-
"insecure": {
1664-
"type": "boolean",
1665-
"description": "If tls should get skipped for the server"
1666-
},
1667-
"serviceAccount": {
1668-
"$ref": "#/$defs/ExportKubeConfigServiceAccount",
1669-
"description": "ServiceAccount can be used to generate a service account token instead of the default certificates."
1670-
},
1671-
"name": {
1672-
"type": "string",
1673-
"description": "Name is the name of the secret where the kubeconfig is stored."
1674-
},
1675-
"namespace": {
1676-
"type": "string",
1677-
"description": "Namespace where vCluster stores the kubeconfig secret. If this is not equal to the namespace\nwhere you deployed vCluster, you need to make sure vCluster has access to this other namespace."
1678-
}
1679-
},
1680-
"additionalProperties": false,
1681-
"type": "object",
1682-
"description": "ExportKubeConfigAdditionalSecretReference defines the additional host cluster secret in which vCluster stores the generated virtual cluster kubeconfigs."
1683-
},
16841536
"ExportKubeConfigSecretReference": {
16851537
"properties": {
16861538
"name": {
@@ -1862,19 +1714,6 @@
18621714
"additionalProperties": false,
18631715
"type": "object"
18641716
},
1865-
"FromHostMappings": {
1866-
"properties": {
1867-
"byName": {
1868-
"additionalProperties": {
1869-
"type": "string"
1870-
},
1871-
"type": "object",
1872-
"description": "ByName is a map of host-object-namespace/host-object-name: virtual-object-namespace/virtual-object-name.\nThere are several wildcards supported:\n1. To match all objects in host namespace and sync them to different namespace in vCluster:\nbyName:\n \"foo/*\": \"foo-in-virtual/*\"\n2. To match specific object in the host namespace and sync it to the same namespace with the same name:\nbyName:\n \"foo/my-object\": \"foo/my-object\"\n3. To match specific object in the host namespace and sync it to the same namespace with different name:\nbyName:\n \"foo/my-object\": \"foo/my-virtual-object\"\n4. To match all objects in the vCluster host namespace and sync them to a different namespace in vCluster:\nbyName:\n \"\": \"my-virtual-namespace/*\"\n5. To match specific objects in the vCluster host namespace and sync them to a different namespace in vCluster:\nbyName:\n \"/my-object\": \"my-virtual-namespace/my-object\""
1873-
}
1874-
},
1875-
"additionalProperties": false,
1876-
"type": "object"
1877-
},
18781717
"Hook": {
18791718
"properties": {
18801719
"apiVersion": {
@@ -2030,10 +1869,6 @@
20301869
"externalSecrets": {
20311870
"$ref": "#/$defs/ExternalSecrets",
20321871
"description": "ExternalSecrets reuses a host external secret operator and makes certain CRDs from it available inside the vCluster"
2033-
},
2034-
"certManager": {
2035-
"$ref": "#/$defs/CertManager",
2036-
"description": "CertManager reuses a host cert-manager and makes its CRDs from it available inside the vCluster.\n- Certificates and Issuers will be synced from the virtual cluster to the host cluster.\n- ClusterIssuers will be synced from the host cluster to the virtual cluster."
20371872
}
20381873
},
20391874
"additionalProperties": false,
@@ -3074,48 +2909,6 @@
30742909
"additionalProperties": false,
30752910
"type": "object"
30762911
},
3077-
"SleepMode": {
3078-
"properties": {
3079-
"enabled": {
3080-
"type": "boolean",
3081-
"description": "Enabled toggles the sleep mode functionality, allowing for disabling sleep mode without removing other config"
3082-
},
3083-
"timeZone": {
3084-
"type": "string",
3085-
"description": "Timezone represents the timezone a sleep schedule should run against, defaulting to UTC if unset"
3086-
},
3087-
"autoSleep": {
3088-
"$ref": "#/$defs/SleepModeAutoSleep",
3089-
"description": "AutoSleep holds autoSleep details"
3090-
},
3091-
"autoWakeup": {
3092-
"$ref": "#/$defs/AutoWakeup",
3093-
"description": "AutoWakeup holds configuration for waking the vCluster on a schedule rather than waiting for some activity."
3094-
}
3095-
},
3096-
"additionalProperties": false,
3097-
"type": "object",
3098-
"description": "SleepMode holds configuration for native/workload only sleep mode"
3099-
},
3100-
"SleepModeAutoSleep": {
3101-
"properties": {
3102-
"afterInactivity": {
3103-
"type": "string",
3104-
"description": "AfterInactivity represents how long a vCluster can be idle before workloads are automaticaly put to sleep"
3105-
},
3106-
"schedule": {
3107-
"type": "string",
3108-
"description": "Schedule represents a cron schedule for when to sleep workloads"
3109-
},
3110-
"exclude": {
3111-
"$ref": "#/$defs/AutoSleepExclusion",
3112-
"description": "Exclude holds configuration for labels that, if present, will prevent a workload from going to sleep"
3113-
}
3114-
},
3115-
"additionalProperties": false,
3116-
"type": "object",
3117-
"description": "SleepModeAutoSleep holds configuration for allowing a vCluster to sleep its workloads automatically"
3118-
},
31192912
"StatefulSetImage": {
31202913
"properties": {
31212914
"registry": {
@@ -3217,14 +3010,6 @@
32173010
"volumeSnapshotClasses": {
32183011
"$ref": "#/$defs/EnableSwitchWithPatches",
32193012
"description": "VolumeSnapshotClasses defines if volume snapshot classes created within the virtual cluster should get synced to the host cluster."
3220-
},
3221-
"configMaps": {
3222-
"$ref": "#/$defs/EnableSwitchWithResourcesMappings",
3223-
"description": "ConfigMaps defines if config maps in the host should get synced to the virtual cluster."
3224-
},
3225-
"secrets": {
3226-
"$ref": "#/$defs/EnableSwitchWithResourcesMappings",
3227-
"description": "Secrets defines if secrets in the host should get synced to the virtual cluster."
32283013
}
32293014
},
32303015
"additionalProperties": false,
@@ -3246,10 +3031,6 @@
32463031
},
32473032
"type": "array",
32483033
"description": "Patches patch the resource according to the provided specification."
3249-
},
3250-
"mappings": {
3251-
"$ref": "#/$defs/FromHostMappings",
3252-
"description": "Mappings for Namespace and Object"
32533034
}
32543035
},
32553036
"additionalProperties": false,
@@ -3329,14 +3110,6 @@
33293110
"type": "boolean",
33303111
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a\npod annotation."
33313112
},
3332-
"runtimeClassName": {
3333-
"type": "string",
3334-
"description": "RuntimeClassName is the runtime class to set for synced pods."
3335-
},
3336-
"priorityClassName": {
3337-
"type": "string",
3338-
"description": "PriorityClassName is the priority class to set for synced pods."
3339-
},
33403113
"rewriteHosts": {
33413114
"$ref": "#/$defs/SyncRewriteHosts",
33423115
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe virtual cluster."
@@ -3876,10 +3649,6 @@
38763649
"$ref": "#/$defs/Plugin"
38773650
},
38783651
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
3879-
},
3880-
"sleepMode": {
3881-
"$ref": "#/$defs/SleepMode",
3882-
"description": "SleepMode holds the native sleep mode configuration for Pro clusters"
38833652
}
38843653
},
38853654
"additionalProperties": false,

0 commit comments

Comments
 (0)