mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 16:42:51 +00:00
24 lines
1.4 KiB
YAML
24 lines
1.4 KiB
YAML
# ESBackup depends on ESCluster, and is depended by ESSnapshot.
|
|
# Creating `esbackup/kustomize-backbup` will create the `kustomize-backup` snapshot repository.
|
|
# Deleting `esbackup/kustomize-backbup` will delete the `kustomize-backup` snapshot repository.
|
|
# Deleting `esbackup/kustomize-backbup` will NOT delete the snapshots in the `kustomize-backup` snapshot repository, instead makes all the snapshots in the repository inaccessible.
|
|
# Deleting `esbackup/kustomize-backbup` will NOT delete the essnapshot objects depending on it, but will cause those essnapshot objects to be reconciled, which update the status of the essnapshot objects to reflect the fact that the esbackup object is missing.
|
|
# If you delete the `kustomize-backup` snapshot repository directly without deleting `esbackup/kustomize-backbup`, the ESBackup object will not recreate the snapshot repository.
|
|
apiVersion: elasticsearch.cloud.google.com/v1alpha1
|
|
kind: ESBackup
|
|
metadata:
|
|
name: kustomize-backup
|
|
spec:
|
|
storage:
|
|
gcs:
|
|
# the bucket must exist for the snapshot repository to be created successfully.
|
|
bucket: kustomize-backup
|
|
# the path does not need to exist.
|
|
# If the path does not exist, the controller will create the folder in the GCS bucket.
|
|
# If the path already exists and includes snapshots, these snapshots can be used.
|
|
path: kustomize
|
|
secret:
|
|
name: kustomizesa
|
|
escluster:
|
|
name: esbasic
|