diff --git a/api/internal/crawl/config/elastic/esbackup.yaml b/api/internal/crawl/config/elastic/esbackup.yaml new file mode 100644 index 000000000..52ee49efa --- /dev/null +++ b/api/internal/crawl/config/elastic/esbackup.yaml @@ -0,0 +1,13 @@ +apiVersion: elasticsearch.cloud.google.com/v1alpha1 +kind: ESBackup +metadata: + name: kustomize-backup +spec: + storage: + gcs: + bucket: kustomize-backup + path: kustomize + secret: + name: kustomizesa + escluster: + name: esbasic diff --git a/api/internal/crawl/config/elastic/esrestore.yaml b/api/internal/crawl/config/elastic/esrestore.yaml new file mode 100644 index 000000000..9db48795d --- /dev/null +++ b/api/internal/crawl/config/elastic/esrestore.yaml @@ -0,0 +1,13 @@ +apiVersion: elasticsearch.cloud.google.com/v1alpha1 +kind: ESRestore +metadata: + name: kustomize-restore +spec: + include_global_state: true + ignore_unavailable: true + rename_pattern: kustomize + rename_replacement: kustomize-restore1 + essnapshot: + name: kustomize-snapshot + escluster: + name: esbasic diff --git a/api/internal/crawl/config/elastic/essnaptshot.yaml b/api/internal/crawl/config/elastic/essnaptshot.yaml new file mode 100644 index 000000000..f36e94897 --- /dev/null +++ b/api/internal/crawl/config/elastic/essnaptshot.yaml @@ -0,0 +1,12 @@ +apiVersion: elasticsearch.cloud.google.com/v1alpha1 +kind: ESSnapshot +metadata: + name: kustomize-snapshot +spec: + # indices are optional. If not specified all indices are selected. + indices: + - kustomize + include_global_state: true + ignore_unavailable: true + esbackup: + name: kustomize-backup