Skip to content

Commit

Permalink
network: (squash!?) run make crds after changing types.go
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Adam <obnox@samba.org>
  • Loading branch information
obnoxxx committed Feb 9, 2024
1 parent 2369a08 commit 7bb2723
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/charts/rook-ceph/templates/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2282,6 +2282,8 @@ spec:
x-kubernetes-validations:
- message: at least one network selector must be specified when using multus
rule: '!has(self.provider) || (self.provider != ''multus'' || (self.provider == ''multus'' && size(self.selectors) > 0))'
- message: the legacy hostNetwork settingcan only be set if the network.provider is set to the empty string
rule: '!has(self.hostNetwork) || !has(self.provider)'
placement:
additionalProperties:
description: Placement is the placement for an object
Expand Down
2 changes: 2 additions & 0 deletions deploy/examples/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2280,6 +2280,8 @@ spec:
x-kubernetes-validations:
- message: at least one network selector must be specified when using multus
rule: '!has(self.provider) || (self.provider != ''multus'' || (self.provider == ''multus'' && size(self.selectors) > 0))'
- message: the legacy hostNetwork settingcan only be set if the network.provider is set to the empty string
rule: '!has(self.hostNetwork) || !has(self.provider)'
placement:
additionalProperties:
description: Placement is the placement for an object
Expand Down

0 comments on commit 7bb2723

Please sign in to comment.