Skip to content

Commit c5b35a4

Browse files
committed
additional worker for initJob
1 parent fe1d66d commit c5b35a4

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

e2e/kind-cluster-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ nodes:
1111
- role: worker
1212
labels:
1313
worker: true
14+
- role: worker
15+
labels:
16+
worker: true

e2e/tests/test-objects/objects.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ func DefaultStorage(storageYamlConfigPath string) *v1alpha1.Storage {
9393
Nodes: 3,
9494
DataStore: []corev1.PersistentVolumeClaimSpec{},
9595

96-
Resources: &corev1.ResourceRequirements{},
97-
AdditionalPodLabels: map[string]string{"ydb-cluster": "kind-storage"},
98-
Affinity: storageAntiAffinity,
96+
Resources: &corev1.ResourceRequirements{},
97+
AdditionalLabels: map[string]string{"ydb-cluster": "kind-storage"},
98+
Affinity: storageAntiAffinity,
9999
},
100100
},
101101
}
@@ -165,8 +165,8 @@ func DefaultDatabase() *v1alpha1.Database {
165165
},
166166
},
167167
},
168-
AdditionalPodLabels: map[string]string{"ydb-cluster": "kind-database"},
169-
Affinity: databaseAntiAffinity,
168+
AdditionalLabels: map[string]string{"ydb-cluster": "kind-database"},
169+
Affinity: databaseAntiAffinity,
170170
},
171171
},
172172
}

0 commit comments

Comments
 (0)