You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/config.go
+62-20Lines changed: 62 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,10 @@ type Standalone struct {
173
173
// Enabled defines if standalone mode should be enabled.
174
174
Enabledbool`json:"enabled,omitempty"`
175
175
176
+
// SyncConfig allows controlling the vCluster config through a secret "vcluster-config" in the namespace "kube-system". vCluster will watch for changes in this secret and
177
+
// update the local config accordingly and restart vCluster if needed.
// Enabled defines if config syncing should be enabled.
195
+
Enabledbool`json:"enabled,omitempty"`
196
+
}
197
+
189
198
typeStandaloneJoinNodestruct {
190
199
// Enabled defines if the standalone node should be joined into the cluster. If false, only the control plane binaries will be executed and no node will show up in the actual cluster.
191
200
Enabledbool`json:"enabled,omitempty"`
192
201
193
-
// Name defines the name of the standalone node. If empty the node will get the hostname as name.
194
-
Namestring`json:"name,omitempty"`
195
-
196
202
JoinConfiguration`json:",inline"`
197
203
}
198
204
@@ -534,11 +540,17 @@ type ExternalSecrets struct {
534
540
}
535
541
536
542
typeExternalSecretsSyncstruct {
543
+
// ToHost defines what resources are synced from the virtual cluster to the host
@@ -548,6 +560,27 @@ type ClusterStoresSyncConfig struct {
548
560
SelectorLabelSelector`json:"selector,omitempty"`
549
561
}
550
562
563
+
typeExternalSecretsSyncToHostConfigstruct {
564
+
// ExternalSecrets allows to configure if only a subset of ExternalSecrets matching a label selector should get synced from the virtual cluster to the host cluster.
0 commit comments