Skip to content

Commit fede667

Browse files
committed
Update to reflect the new config structure, and behavior
1 parent 02d1822 commit fede667

18 files changed

Lines changed: 1129 additions & 285 deletions

File tree

configsrc/vcluster/main/default_values.yaml

Lines changed: 82 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,30 @@ sync:
8181
ingresses:
8282
# Enabled defines if this option should be enabled.
8383
enabled: false
84+
# GatewayAPI defines Gateway API resources created within the tenant cluster that should get synced to the control plane cluster.
85+
gatewayApi:
86+
# Enabled defines if this option should be enabled.
87+
enabled: false
88+
# HTTPRoutes configures HTTPRoute sync to the control plane cluster.
89+
httpRoutes:
90+
# Enabled defines if this option should be enabled.
91+
enabled: false
92+
# Gateways configures tenant-created Gateway sync to the control plane cluster.
93+
gateways:
94+
# Enabled defines if this option should be enabled.
95+
enabled: false
96+
# TLSRoutes configures TLSRoute sync to the control plane cluster.
97+
tlsRoutes:
98+
# Enabled defines if this option should be enabled.
99+
enabled: false
100+
# BackendTLSPolicies configures BackendTLSPolicy sync to the control plane cluster.
101+
backendTLSPolicies:
102+
# Enabled defines if this option should be enabled.
103+
enabled: false
104+
# ReferenceGrants configures ReferenceGrant sync to the control plane cluster. Enabled may be "auto", "true", or "false".
105+
referenceGrants:
106+
# Enabled defines if this option should be enabled.
107+
enabled: auto
84108
# PriorityClasses defines if priority classes created within the virtual cluster should get synced to the host cluster.
85109
priorityClasses:
86110
# Enabled defines if this option should be enabled.
@@ -140,21 +164,21 @@ sync:
140164
enabled: false
141165
# Mappings for Namespace and Object
142166
mappings:
143-
# ByName is a map of host-object-namespace/host-object-name: virtual-object-namespace/virtual-object-name.
167+
# ByName is a map of control-plane-object-namespace/control-plane-object-name: tenant-object-namespace/tenant-object-name.
144168
# There are several wildcards supported:
145-
# 1. To match all objects in host namespace and sync them to different namespace in vCluster:
169+
# 1. To match all objects in a control plane namespace and sync them to a different namespace in the tenant cluster:
146170
# byName:
147171
# "foo/*": "foo-in-virtual/*"
148-
# 2. To match specific object in the host namespace and sync it to the same namespace with the same name:
172+
# 2. To match a specific object in the control plane namespace and sync it to the same namespace with the same name:
149173
# byName:
150174
# "foo/my-object": "foo/my-object"
151-
# 3. To match specific object in the host namespace and sync it to the same namespace with different name:
175+
# 3. To match a specific object in the control plane namespace and sync it to the same namespace with a different name:
152176
# byName:
153177
# "foo/my-object": "foo/my-virtual-object"
154-
# 4. To match all objects in the vCluster host namespace and sync them to a different namespace in vCluster:
178+
# 4. To match all objects in the vCluster namespace and sync them to a different namespace in the tenant cluster:
155179
# byName:
156180
# "": "my-virtual-namespace/*"
157-
# 5. To match specific objects in the vCluster host namespace and sync them to a different namespace in vCluster:
181+
# 5. To match specific objects in the vCluster namespace and sync them to a different namespace in the tenant cluster:
158182
# byName:
159183
# "/my-object": "my-virtual-namespace/my-object"
160184
byName: {}
@@ -178,6 +202,50 @@ sync:
178202
ingressClasses:
179203
# Enabled defines if this option should be enabled.
180204
enabled: false
205+
# GatewayClasses defines if gateway classes should get synced from the control plane cluster to the tenant cluster, but not back.
206+
gatewayClasses:
207+
# Enabled defines if this option should be enabled.
208+
enabled: false
209+
# Gateways defines if selected control plane Gateways should get synced from the control plane cluster to the tenant cluster, but not back.
210+
gateways:
211+
# Enabled defines if this option should be enabled.
212+
enabled: false
213+
# Mappings define control plane Gateway namespace/name to tenant-facing namespace/name placement.
214+
mappings:
215+
# ByName is a map of control-plane-object-namespace/control-plane-object-name: tenant-object-namespace/tenant-object-name.
216+
# There are several wildcards supported:
217+
# 1. To match all objects in a control plane namespace and sync them to a different namespace in the tenant cluster:
218+
# byName:
219+
# "foo/*": "foo-in-virtual/*"
220+
# 2. To match a specific object in the control plane namespace and sync it to the same namespace with the same name:
221+
# byName:
222+
# "foo/my-object": "foo/my-object"
223+
# 3. To match a specific object in the control plane namespace and sync it to the same namespace with a different name:
224+
# byName:
225+
# "foo/my-object": "foo/my-virtual-object"
226+
# 4. To match all objects in the vCluster namespace and sync them to a different namespace in the tenant cluster:
227+
# byName:
228+
# "": "my-virtual-namespace/*"
229+
# 5. To match specific objects in the vCluster namespace and sync them to a different namespace in the tenant cluster:
230+
# byName:
231+
# "/my-object": "my-virtual-namespace/my-object"
232+
byName: {}
233+
# Selector defines the selector to use for the resource. If not set, all resources of that type will be synced.
234+
selector: {}
235+
# AllowedRoutes configures the tenant-facing allowedRoutes policy shown on imported Gateways and enforced for Routes.
236+
allowedRoutes:
237+
defaultVirtualNamespacePolicy: {}
238+
overrides: []
239+
# Status configures how Gateway status is mirrored.
240+
status:
241+
exposeAddresses: false
242+
# Metadata configures imported Gateway metadata visibility.
243+
metadata:
244+
exposeSourceGateway: false
245+
# Sanitize configures sensitive control plane field sanitization.
246+
sanitize:
247+
certificateRefs: true
248+
infrastructure: true
181249
# RuntimeClasses defines if runtime classes should get synced from the host cluster to the virtual cluster, but not back.
182250
runtimeClasses:
183251
# Enabled defines if this option should be enabled.
@@ -205,21 +273,21 @@ sync:
205273
enabled: false
206274
# Mappings for Namespace and Object
207275
mappings:
208-
# ByName is a map of host-object-namespace/host-object-name: virtual-object-namespace/virtual-object-name.
276+
# ByName is a map of control-plane-object-namespace/control-plane-object-name: tenant-object-namespace/tenant-object-name.
209277
# There are several wildcards supported:
210-
# 1. To match all objects in host namespace and sync them to different namespace in vCluster:
278+
# 1. To match all objects in a control plane namespace and sync them to a different namespace in the tenant cluster:
211279
# byName:
212280
# "foo/*": "foo-in-virtual/*"
213-
# 2. To match specific object in the host namespace and sync it to the same namespace with the same name:
281+
# 2. To match a specific object in the control plane namespace and sync it to the same namespace with the same name:
214282
# byName:
215283
# "foo/my-object": "foo/my-object"
216-
# 3. To match specific object in the host namespace and sync it to the same namespace with different name:
284+
# 3. To match a specific object in the control plane namespace and sync it to the same namespace with a different name:
217285
# byName:
218286
# "foo/my-object": "foo/my-virtual-object"
219-
# 4. To match all objects in the vCluster host namespace and sync them to a different namespace in vCluster:
287+
# 4. To match all objects in the vCluster namespace and sync them to a different namespace in the tenant cluster:
220288
# byName:
221289
# "": "my-virtual-namespace/*"
222-
# 5. To match specific objects in the vCluster host namespace and sync them to a different namespace in vCluster:
290+
# 5. To match specific objects in the vCluster namespace and sync them to a different namespace in the tenant cluster:
223291
# byName:
224292
# "/my-object": "my-virtual-namespace/my-object"
225293
byName: {}
@@ -252,7 +320,7 @@ controlPlane:
252320
# Repository is the repository of the container image, e.g. my-repo/my-image
253321
repository: "loft-sh/kubernetes"
254322
# Tag is the tag of the container image, and is the default version.
255-
tag: "v1.35.0"
323+
tag: "v1.36.0"
256324
# APIServer holds configuration specific to starting the api server.
257325
apiServer:
258326
enabled: true
@@ -367,7 +435,7 @@ controlPlane:
367435
# Repository is the repository of the container image, e.g. my-repo/my-image
368436
repository: "etcd"
369437
# Tag is the tag of the container image, and is the default version.
370-
tag: "3.6.4-0"
438+
tag: "3.6.8-0"
371439
# ImagePullPolicy is the pull policy for the external etcd image
372440
imagePullPolicy: ""
373441
# ExtraArgs are appended to the etcd command.

0 commit comments

Comments
 (0)