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 7, 2024
1 parent 63f5f4e commit 1f643d1
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
Expand Up @@ -2271,6 +2271,8 @@ spec:
x-kubernetes-validations:
- message: network provider must be disabled (reverted to empty string) before a new provider is enabled
rule: self == '' || self == oldSelf
- message: the legacy hostNetwork setting is only valid if provider is disabled (set to empty string)
rule: '!((self.hostNetwork == true) && (self.provider != '''')) '
selectors:
additionalProperties:
type: string
Expand Down
2 changes: 2 additions & 0 deletions deploy/examples/crds.yaml
Expand Up @@ -2269,6 +2269,8 @@ spec:
x-kubernetes-validations:
- message: network provider must be disabled (reverted to empty string) before a new provider is enabled
rule: self == '' || self == oldSelf
- message: the legacy hostNetwork setting is only valid if provider is disabled (set to empty string)
rule: '!((self.hostNetwork == true) && (self.provider != '''')) '
selectors:
additionalProperties:
type: string
Expand Down

0 comments on commit 1f643d1

Please sign in to comment.