Skip to content

Commit

Permalink
make manifests generate
Browse files Browse the repository at this point in the history
  • Loading branch information
zimnx committed Dec 18, 2020
1 parent d3d1707 commit 7d958f1
Show file tree
Hide file tree
Showing 3 changed files with 150 additions and 7 deletions.
46 changes: 46 additions & 0 deletions config/operator/crd/bases/scylla.scylladb.com_scyllaclusters.yaml
Expand Up @@ -1400,6 +1400,19 @@ spec:
developerMode:
description: DeveloperMode determines if the cluster runs in developer-mode.
type: boolean
genericUpgrade:
description: GenericUpgrade allows to configure behavior of generic upgrade logic.
properties:
failureStrategy:
description: FailureStrategy specifies which logic is executed when upgrade failure happens. Currently only Retry is supported.
type: string
pollInterval:
description: PollInterval specifies how often upgrade logic polls on state updates. Increasing this value should lower number of requests sent to apiserver, but it may affect overall time required spent during upgrade.
type: string
validationTimeout:
description: ValidationTimeout specifies how long it can take for Scylla to boot and enter ready state after upgrade until FailureStrategy is executed.
type: string
type: object
network:
description: Networking config
properties:
Expand Down Expand Up @@ -1478,6 +1491,7 @@ spec:
description: ClusterStatus defines the observed state of ScyllaCluster
properties:
backups:
description: Backups reflects status of backup tasks.
items:
properties:
dc:
Expand Down Expand Up @@ -1539,6 +1553,7 @@ spec:
type: object
type: array
managerId:
description: ManagerID contains ID under which cluster was registered in Scylla Manager.
type: string
racks:
additionalProperties:
Expand Down Expand Up @@ -1579,8 +1594,10 @@ spec:
- readyMembers
- version
type: object
description: Racks reflect status of cluster racks.
type: object
repairs:
description: Repairs reflects status of repair tasks.
items:
properties:
dc:
Expand Down Expand Up @@ -1632,6 +1649,35 @@ spec:
- name
type: object
type: array
upgrade:
description: Upgrade reflects state of ongoing upgrade procedure.
properties:
currentNode:
description: CurrentNode node under upgrade.
type: string
currentRack:
description: CurrentRack rack under upgrade.
type: string
dataSnapshotTag:
description: DataSnapshotTag snapshot tag of data keyspaces.
type: string
fromVersion:
description: FromVersion reflects from which version ScyllaCluster is being upgraded.
type: string
state:
description: State reflects current upgrade state.
type: string
systemSnapshotTag:
description: SystemSnapshotTag snapshot tag of system keyspaces.
type: string
toVersion:
description: ToVersion reflects to which version ScyllaCluster is being upgraded.
type: string
required:
- fromVersion
- state
- toVersion
type: object
type: object
type: object
version: v1alpha1
Expand Down
46 changes: 46 additions & 0 deletions examples/common/operator.yaml
Expand Up @@ -1415,6 +1415,19 @@ spec:
developerMode:
description: DeveloperMode determines if the cluster runs in developer-mode.
type: boolean
genericUpgrade:
description: GenericUpgrade allows to configure behavior of generic upgrade logic.
properties:
failureStrategy:
description: FailureStrategy specifies which logic is executed when upgrade failure happens. Currently only Retry is supported.
type: string
pollInterval:
description: PollInterval specifies how often upgrade logic polls on state updates. Increasing this value should lower number of requests sent to apiserver, but it may affect overall time required spent during upgrade.
type: string
validationTimeout:
description: ValidationTimeout specifies how long it can take for Scylla to boot and enter ready state after upgrade until FailureStrategy is executed.
type: string
type: object
network:
description: Networking config
properties:
Expand Down Expand Up @@ -1493,6 +1506,7 @@ spec:
description: ClusterStatus defines the observed state of ScyllaCluster
properties:
backups:
description: Backups reflects status of backup tasks.
items:
properties:
dc:
Expand Down Expand Up @@ -1554,6 +1568,7 @@ spec:
type: object
type: array
managerId:
description: ManagerID contains ID under which cluster was registered in Scylla Manager.
type: string
racks:
additionalProperties:
Expand Down Expand Up @@ -1594,8 +1609,10 @@ spec:
- readyMembers
- version
type: object
description: Racks reflect status of cluster racks.
type: object
repairs:
description: Repairs reflects status of repair tasks.
items:
properties:
dc:
Expand Down Expand Up @@ -1647,6 +1664,35 @@ spec:
- name
type: object
type: array
upgrade:
description: Upgrade reflects state of ongoing upgrade procedure.
properties:
currentNode:
description: CurrentNode node under upgrade.
type: string
currentRack:
description: CurrentRack rack under upgrade.
type: string
dataSnapshotTag:
description: DataSnapshotTag snapshot tag of data keyspaces.
type: string
fromVersion:
description: FromVersion reflects from which version ScyllaCluster is being upgraded.
type: string
state:
description: State reflects current upgrade state.
type: string
systemSnapshotTag:
description: SystemSnapshotTag snapshot tag of system keyspaces.
type: string
toVersion:
description: ToVersion reflects to which version ScyllaCluster is being upgraded.
type: string
required:
- fromVersion
- state
- toVersion
type: object
type: object
type: object
version: v1alpha1
Expand Down
65 changes: 58 additions & 7 deletions pkg/api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7d958f1

Please sign in to comment.