Skip to content

Commit

Permalink
Add podPlacementPolicy to v2 pod template
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Jun 2, 2024
1 parent 5663294 commit c636e6e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1/conversion/conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// nolint:unparam
package conversion

import (
Expand Down
6 changes: 6 additions & 0 deletions api/v2/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions api/v2/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,4 +271,9 @@ type PodSpec struct {
// This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.
// +optional
HostUsers *bool `json:"hostUsers,omitempty"`

// PodPlacementPolicy is the reference of the podPlacementPolicy
// +kubebuilder:default={name:"default"}
// +optional
PodPlacementPolicy *core.LocalObjectReference `json:"podPlacementPolicy,omitempty"`
}
5 changes: 5 additions & 0 deletions api/v2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c636e6e

Please sign in to comment.