Skip to content

Commit

Permalink
Change CRD schema to trigger watch termination
Browse files Browse the repository at this point in the history
  • Loading branch information
timebertt committed Oct 28, 2023
1 parent bd8cb2b commit 2f11512
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,14 @@ spec:
description: Spec contains the specification of the desired behavior of
the Website.
properties:
description:
default: Foo
type: string
theme:
description: Theme references a Theme object to be used for this Website.
type: string
required:
- description
- theme
type: object
status:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import (
type WebsiteSpec struct {
// Theme references a Theme object to be used for this Website.
Theme string `json:"theme"`
//+kubebuilder:default="Foo"
Description string `json:"description"`
}

// WebsiteStatus defines the observed state of a Website.
Expand Down

0 comments on commit 2f11512

Please sign in to comment.