Skip to content

Commit

Permalink
tmp: make verify cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSirenko committed Aug 1, 2024
1 parent 095c6ce commit 414d5cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion pkg/apis/crds/karpenter.sh_nodeclaims.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,8 @@ spec:
The value should be a CamelCase string.
This field may not be empty.
maxLength: 1024
pattern: ^([A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?|)$
minLength: 1
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
type: string
status:
description: status of the condition, one of True, False, Unknown.
Expand All @@ -806,6 +807,8 @@ spec:
type: string
required:
- lastTransitionTime
- message
- reason
- status
- type
type: object
Expand Down
6 changes: 3 additions & 3 deletions pkg/apis/crds/karpenter.sh_nodepools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ spec:
pattern: ^(([0-9]+(s|m|h))+)|(Never)$
type: string
consolidationPolicy:
default: WhenEmptyOrUnderutilized
default: WhenUnderutilized
description: |-
ConsolidationPolicy describes which nodes Karpenter can disrupt through its consolidation
algorithm. This policy defaults to "WhenEmptyOrUnderutilized" if not specified
algorithm. This policy defaults to "WhenUnderutilized" if not specified
enum:
- WhenEmpty
- WhenEmptyOrUnderutilized
- WhenUnderutilized
type: string
required:
- consolidateAfter
Expand Down

0 comments on commit 414d5cb

Please sign in to comment.