Skip to content

Commit b924fa7

Browse files
committed
squashme: make template metadata optional
1 parent 6c8a69b commit b924fa7

4 files changed

Lines changed: 1 addition & 6 deletions

File tree

api/v1alpha1/amaltheasession_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ type ReadinessProbe struct {
587587
}
588588

589589
type Template struct {
590+
// +optional
590591
Metadata TemplateMetadata `json:"metadata,omitzero"`
591592
}
592593

bundle/manifests/amalthea.dev_amaltheasessions.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6451,8 +6451,6 @@ spec:
64516451
type: string
64526452
type: object
64536453
type: object
6454-
required:
6455-
- metadata
64566454
type: object
64576455
tolerations:
64586456
description: |-

config/crd/bases/amalthea.dev_amaltheasessions.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6451,8 +6451,6 @@ spec:
64516451
type: string
64526452
type: object
64536453
type: object
6454-
required:
6455-
- metadata
64566454
type: object
64576455
tolerations:
64586456
description: |-

helm-chart/amalthea-sessions/templates/amaltheasession-crd.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6453,8 +6453,6 @@ spec:
64536453
type: string
64546454
type: object
64556455
type: object
6456-
required:
6457-
- metadata
64586456
type: object
64596457
tolerations:
64606458
description: |-

0 commit comments

Comments
 (0)