mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 18:09:57 +00:00
set empty nodeselect to nil (#799)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m10s
Post / coverage (push) Failing after 26m1s
Post / images (amd64) (push) Failing after 6m59s
Post / images (arm64) (push) Failing after 6m48s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m10s
Post / coverage (push) Failing after 26m1s
Post / images (amd64) (push) Failing after 6m59s
Post / images (arm64) (push) Failing after 6m48s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
This commit is contained in:
@@ -20,7 +20,7 @@ type ClusterManagerChartConfig struct {
|
||||
// Resources is the resource requirements of the operator deployment
|
||||
Resources corev1.ResourceRequirements `json:"resources,omitempty"`
|
||||
// NodeSelector is the nodeSelector of the operator deployment
|
||||
NodeSelector corev1.NodeSelector `json:"nodeSelector,omitempty"`
|
||||
NodeSelector *corev1.NodeSelector `json:"nodeSelector,omitempty"`
|
||||
// Tolerations is the tolerations of the operator deployment
|
||||
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
|
||||
// Affinity is the affinity of the operator deployment
|
||||
@@ -47,7 +47,7 @@ type KlusterletChartConfig struct {
|
||||
// Resources is the resource requirements of the operator deployment
|
||||
Resources corev1.ResourceRequirements `json:"resources,omitempty"`
|
||||
// NodeSelector is the nodeSelector of the operator deployment
|
||||
NodeSelector corev1.NodeSelector `json:"nodeSelector,omitempty"`
|
||||
NodeSelector *corev1.NodeSelector `json:"nodeSelector,omitempty"`
|
||||
// Tolerations is the tolerations of the operator deployment
|
||||
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
|
||||
// Affinity is the affinity of the operator deployment
|
||||
|
||||
Reference in New Issue
Block a user