Skip to content

Commit ac31516

Browse files
Merge pull request #309 from ASBishop/OSPRH-16131
Fix setting Resources parameter in main section
2 parents abb04cb + 182ed58 commit ac31516

9 files changed

+0
-45
lines changed

api/bases/test.openstack.org_ansibletests.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,13 +2161,6 @@ spec:
21612161
of tobiko tests).
21622162
type: boolean
21632163
resources:
2164-
default:
2165-
limits:
2166-
cpu: 2000m
2167-
memory: 2Gi
2168-
requests:
2169-
cpu: 1000m
2170-
memory: 2Gi
21712164
description: |-
21722165
The desired amount of resources that should be assigned to each test pod
21732166
spawned using the AnsibleTest CR. https://pkg.go.dev/k8s.io/api/core/v1#ResourceRequirements

api/bases/test.openstack.org_tempests.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2481,13 +2481,6 @@ spec:
24812481
of tobiko tests).
24822482
type: boolean
24832483
resources:
2484-
default:
2485-
limits:
2486-
cpu: 8000m
2487-
memory: 4Gi
2488-
requests:
2489-
cpu: 4000m
2490-
memory: 2Gi
24912484
description: |-
24922485
The desired amount of resources that should be assigned to each test pod
24932486
spawned using the Tempest CR. https://pkg.go.dev/k8s.io/api/core/v1#ResourceRequirements

api/bases/test.openstack.org_tobikoes.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2167,13 +2167,6 @@ spec:
21672167
when it runs tobiko tests
21682168
type: string
21692169
resources:
2170-
default:
2171-
limits:
2172-
cpu: 8000m
2173-
memory: 8Gi
2174-
requests:
2175-
cpu: 4000m
2176-
memory: 4Gi
21772170
description: |-
21782171
The desired amount of resources that should be assigned to each test pod
21792172
spawned using the Tobiko CR. https://pkg.go.dev/k8s.io/api/core/v1#ResourceRequirements

api/v1beta1/ansibletest_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ type AnsibleTestWorkflowSpec struct {
111111

112112
// The desired amount of resources that should be assigned to each test pod
113113
// spawned using the AnsibleTest CR. https://pkg.go.dev/k8s.io/api/core/v1#ResourceRequirements
114-
// +kubebuilder:default:={limits: {cpu: "2000m", memory: "2Gi"}, requests: {cpu: "1000m", memory: "2Gi"}}
115114
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
116115

117116
// +operator-sdk:csv:customresourcedefinitions:type=spec

api/v1beta1/tempest_types_workflow.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ type WorkflowTempestSpec struct {
232232

233233
// The desired amount of resources that should be assigned to each test pod
234234
// spawned using the Tempest CR. https://pkg.go.dev/k8s.io/api/core/v1#ResourceRequirements
235-
// +kubebuilder:default:={limits: {cpu: "8000m", memory: "4Gi"}, requests: {cpu: "4000m", memory: "2Gi"}}
236235
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
237236

238237
// +kubebuilder:validation:Required

api/v1beta1/tobiko_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ type TobikoSpec struct {
121121
type TobikoWorkflowSpec struct {
122122
WorkflowCommonOptions `json:",inline"`
123123

124-
// +kubebuilder:default:={limits: {cpu: "8000m", memory: "8Gi"}, requests: {cpu: "4000m", memory: "4Gi"}}
125124
// The desired amount of resources that should be assigned to each test pod
126125
// spawned using the Tobiko CR. https://pkg.go.dev/k8s.io/api/core/v1#ResourceRequirements
127126
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`

config/crd/bases/test.openstack.org_ansibletests.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,13 +2161,6 @@ spec:
21612161
of tobiko tests).
21622162
type: boolean
21632163
resources:
2164-
default:
2165-
limits:
2166-
cpu: 2000m
2167-
memory: 2Gi
2168-
requests:
2169-
cpu: 1000m
2170-
memory: 2Gi
21712164
description: |-
21722165
The desired amount of resources that should be assigned to each test pod
21732166
spawned using the AnsibleTest CR. https://pkg.go.dev/k8s.io/api/core/v1#ResourceRequirements

config/crd/bases/test.openstack.org_tempests.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2481,13 +2481,6 @@ spec:
24812481
of tobiko tests).
24822482
type: boolean
24832483
resources:
2484-
default:
2485-
limits:
2486-
cpu: 8000m
2487-
memory: 4Gi
2488-
requests:
2489-
cpu: 4000m
2490-
memory: 2Gi
24912484
description: |-
24922485
The desired amount of resources that should be assigned to each test pod
24932486
spawned using the Tempest CR. https://pkg.go.dev/k8s.io/api/core/v1#ResourceRequirements

config/crd/bases/test.openstack.org_tobikoes.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2167,13 +2167,6 @@ spec:
21672167
when it runs tobiko tests
21682168
type: string
21692169
resources:
2170-
default:
2171-
limits:
2172-
cpu: 8000m
2173-
memory: 8Gi
2174-
requests:
2175-
cpu: 4000m
2176-
memory: 4Gi
21772170
description: |-
21782171
The desired amount of resources that should be assigned to each test pod
21792172
spawned using the Tobiko CR. https://pkg.go.dev/k8s.io/api/core/v1#ResourceRequirements

0 commit comments

Comments
 (0)