Skip to content

Commit

Permalink
crd: introduce the field applied in setting
Browse files Browse the repository at this point in the history
ref: #8070

Signed-off-by: James Lu <james.lu@suse.com>
  • Loading branch information
mantissahz committed Apr 23, 2024
1 parent 1ec78ab commit 66f532e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions chart/templates/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2835,6 +2835,10 @@ spec:
jsonPath: .value
name: Value
type: string
- description: The setting is applied
jsonPath: .applied
name: Applied
type: boolean
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
Expand All @@ -2846,6 +2850,9 @@ spec:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
applied:
description: The setting is applied.
type: boolean
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
Expand All @@ -2855,6 +2862,7 @@ spec:
description: The value of the setting.
type: string
required:
- applied
- value
type: object
served: true
Expand Down
8 changes: 8 additions & 0 deletions deploy/longhorn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2987,6 +2987,10 @@ spec:
jsonPath: .value
name: Value
type: string
- description: The setting is applied
jsonPath: .applied
name: Applied
type: boolean
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
Expand All @@ -2998,6 +3002,9 @@ spec:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
applied:
description: The setting is applied.
type: boolean
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
Expand All @@ -3007,6 +3014,7 @@ spec:
description: The value of the setting.
type: string
required:
- applied
- value
type: object
served: true
Expand Down

0 comments on commit 66f532e

Please sign in to comment.