File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,13 @@ type StatelessSpec struct {
4545
4646 // PodAnnotations are annotations to add to the pods.
4747 // +optional
48- // +kubebuilder:validation:MaxProperties=48
48+ // +kubebuilder:validation:MaxProperties=20
4949 // +kubebuilder:validation:XValidation:rule="self.all(k, size(k) < 64 && size(self[k]) < 256)",message="annotation keys must be <64 chars and values <256 chars"
5050 PodAnnotations map [string ]string `json:"podAnnotations,omitempty"`
5151
5252 // PodLabels are additional labels to add to the pods.
5353 // +optional
54- // +kubebuilder:validation:MaxProperties=48
54+ // +kubebuilder:validation:MaxProperties=20
5555 // +kubebuilder:validation:XValidation:rule="self.all(k, size(k) < 64 && size(self[k]) < 64)",message="label keys and values must be <64 chars"
5656 PodLabels map [string ]string `json:"podLabels,omitempty"`
5757}
You can’t perform that action at this time.
0 commit comments