Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
366 changes: 366 additions & 0 deletions api/hypershift/v1beta1/etcdbackup_types.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
},
{
"name": "GCPPlatform"
},
{
"name": "HCPEtcdBackup"
}
],
"enabled": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
},
{
"name": "GCPPlatform"
},
{
"name": "HCPEtcdBackup"
}
],
"version": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
},
{
"name": "GCPPlatform"
},
{
"name": "HCPEtcdBackup"
}
],
"enabled": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
},
{
"name": "GCPPlatform"
},
{
"name": "HCPEtcdBackup"
}
],
"version": ""
Expand Down
7 changes: 7 additions & 0 deletions api/hypershift/v1beta1/hostedcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1885,6 +1885,13 @@ type ManagedEtcdSpec struct {
// storage specifies how etcd data is persisted.
// +required
Storage ManagedEtcdStorageSpec `json:"storage"`

// backup defines the backup configuration for managed etcd, including

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: might want to doc here that this is only used when an HCPEtcdBackup CR exists.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

// optional KMS key settings for artifact encryption in cloud storage.
// This configuration is only used when an HCPEtcdBackup CR exists.
// +optional
// +openshift:enable:FeatureGate=HCPEtcdBackup
Backup HCPEtcdBackupConfig `json:"backup,omitzero"`
}

// ManagedEtcdStorageType is a storage type for an etcd cluster.
Expand Down
257 changes: 257 additions & 0 deletions api/hypershift/v1beta1/zz_generated.deepcopy.go

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

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

Loading