Skip to content

Commit 941fe52

Browse files
committed
rename sandbox.spec.template to podTemplate. Differentiate b/w podTemplate and sandbox template
1 parent 3ca56e6 commit 941fe52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/v1alpha1/sandboxtemplate_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type SandboxTemplateSpec struct {
3333
// template is the object that describes the pod spec that will be used to create
3434
// an agent sandbox.
3535
// +kubebuilder:validation:Required
36-
Template corev1.PodTemplateSpec `json:"podTemplate" protobuf:"bytes,3,opt,name=template"`
36+
PodTemplate corev1.PodTemplateSpec `json:"podTemplate" protobuf:"bytes,3,opt,name=podTemplate"`
3737
}
3838

3939
// SandboxTemplateStatus defines the observed state of Sandbox.

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)