File tree Expand file tree Collapse file tree 5 files changed +390
-0
lines changed Expand file tree Collapse file tree 5 files changed +390
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ type InitContainer struct {
6464 Args []string `json:"args,omitempty"`
6565 WorkingDir string `json:"workingDir,omitempty"`
6666 VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
67+ Resources corev1.ResourceRequirements `json:"resources,omitempty"`
6768 RestartPolicy * corev1.ContainerRestartPolicy `json:"restartPolicy,omitempty"`
6869}
6970
Original file line number Diff line number Diff line change @@ -802,6 +802,39 @@ spec:
802802 type : string
803803 name :
804804 type : string
805+ resources :
806+ properties :
807+ claims :
808+ items :
809+ properties :
810+ name :
811+ type : string
812+ request :
813+ type : string
814+ required :
815+ - name
816+ type : object
817+ type : array
818+ x-kubernetes-list-map-keys :
819+ - name
820+ x-kubernetes-list-type : map
821+ limits :
822+ additionalProperties :
823+ anyOf :
824+ - type : integer
825+ - type : string
826+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
827+ x-kubernetes-int-or-string : true
828+ type : object
829+ requests :
830+ additionalProperties :
831+ anyOf :
832+ - type : integer
833+ - type : string
834+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
835+ x-kubernetes-int-or-string : true
836+ type : object
837+ type : object
805838 restartPolicy :
806839 type : string
807840 volumeMounts :
@@ -2804,6 +2837,39 @@ spec:
28042837 type : string
28052838 name :
28062839 type : string
2840+ resources :
2841+ properties :
2842+ claims :
2843+ items :
2844+ properties :
2845+ name :
2846+ type : string
2847+ request :
2848+ type : string
2849+ required :
2850+ - name
2851+ type : object
2852+ type : array
2853+ x-kubernetes-list-map-keys :
2854+ - name
2855+ x-kubernetes-list-type : map
2856+ limits :
2857+ additionalProperties :
2858+ anyOf :
2859+ - type : integer
2860+ - type : string
2861+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
2862+ x-kubernetes-int-or-string : true
2863+ type : object
2864+ requests :
2865+ additionalProperties :
2866+ anyOf :
2867+ - type : integer
2868+ - type : string
2869+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
2870+ x-kubernetes-int-or-string : true
2871+ type : object
2872+ type : object
28072873 restartPolicy :
28082874 type : string
28092875 volumeMounts :
@@ -4827,6 +4893,39 @@ spec:
48274893 type : string
48284894 name :
48294895 type : string
4896+ resources :
4897+ properties :
4898+ claims :
4899+ items :
4900+ properties :
4901+ name :
4902+ type : string
4903+ request :
4904+ type : string
4905+ required :
4906+ - name
4907+ type : object
4908+ type : array
4909+ x-kubernetes-list-map-keys :
4910+ - name
4911+ x-kubernetes-list-type : map
4912+ limits :
4913+ additionalProperties :
4914+ anyOf :
4915+ - type : integer
4916+ - type : string
4917+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4918+ x-kubernetes-int-or-string : true
4919+ type : object
4920+ requests :
4921+ additionalProperties :
4922+ anyOf :
4923+ - type : integer
4924+ - type : string
4925+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
4926+ x-kubernetes-int-or-string : true
4927+ type : object
4928+ type : object
48304929 restartPolicy :
48314930 type : string
48324931 volumeMounts :
You can’t perform that action at this time.
0 commit comments