Update generated.proto files with +required markers

This commit is contained in:
Ignoramuss
2025-12-08 07:46:58 -08:00
parent b2b76ef879
commit cd4109c75f
3 changed files with 7 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ message PriorityClass {
// value represents the integer value of this priority class. This is the actual priority that pods
// receive when they have the name of this class in their pod spec.
// +required
optional int32 value = 2;
// globalDefault specifies whether this PriorityClass should be considered as
@@ -69,6 +70,7 @@ message PriorityClassList {
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
// items is the list of PriorityClasses
// +required
repeated PriorityClass items = 2;
}

View File

@@ -86,6 +86,7 @@ message PriorityClass {
// value represents the integer value of this priority class. This is the actual priority that pods
// receive when they have the name of this class in their pod spec.
// +required
optional int32 value = 2;
// globalDefault specifies whether this PriorityClass should be considered as
@@ -116,6 +117,7 @@ message PriorityClassList {
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
// items is the list of PriorityClasses
// +required
repeated PriorityClass items = 2;
}
@@ -166,6 +168,7 @@ message WorkloadList {
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
// Items is the list of Workloads.
// +required
repeated Workload items = 2;
}

View File

@@ -40,6 +40,7 @@ message PriorityClass {
// value represents the integer value of this priority class. This is the actual priority that pods
// receive when they have the name of this class in their pod spec.
// +required
optional int32 value = 2;
// globalDefault specifies whether this PriorityClass should be considered as
@@ -70,6 +71,7 @@ message PriorityClassList {
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
// items is the list of PriorityClasses
// +required
repeated PriorityClass items = 2;
}