diff --git a/.circleci/config.yml b/.circleci/config.yml index 3265e83..205efcd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -67,8 +67,7 @@ jobs: - image: goreleaser/goreleaser:v1.11.4 steps: - checkout - - setup_remote_docker: - version: 20.10.11 + - setup_remote_docker - *install_vault - rok8s/get_vault_env: vault_path: repo/global/env diff --git a/README.md b/README.md index e2a7112..1072f62 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ The `schedule` parameter tells Gemini how often to create snapshots, and how man For example, the following schedule tells Gemini to create a snapshot every day, keeping two weeks worth of history: ```yaml -apiVersion: gemini.fairwinds.com/v1beta1 +apiVersion: gemini.fairwinds.com/v1 kind: SnapshotGroup metadata: name: test-volume @@ -84,7 +84,7 @@ For a more complex example, Gemini can create new snapshots every 10 minutes, always keep the last 3 snapshots, and preserve historical hourly, daily, monthly, and yearly snapshots. ```yaml -apiVersion: gemini.fairwinds.com/v1beta1 +apiVersion: gemini.fairwinds.com/v1 kind: SnapshotGroup metadata: name: test-volume @@ -123,7 +123,7 @@ E.g. right after a new snapshot is created, you'll see snapshots for The following example schedules snapshots every 10 minutes for a pre-existing PVC named `postgres`. ```yaml -apiVersion: gemini.fairwinds.com/v1beta1 +apiVersion: gemini.fairwinds.com/v1 kind: SnapshotGroup metadata: name: test-volume @@ -139,7 +139,7 @@ spec: You can also specify an entire PVC spec inside the SnapshotGroup if you'd like Gemini to create the PVC for you. ```yaml -apiVersion: gemini.fairwinds.com/v1beta1 +apiVersion: gemini.fairwinds.com/v1 kind: SnapshotGroup metadata: name: test-volume @@ -164,7 +164,7 @@ most notably the name of the [snapshot class](https://kubernetes.io/docs/concept you want to use. ```yaml -apiVersion: gemini.fairwinds.com/v1beta1 +apiVersion: gemini.fairwinds.com/v1 kind: SnapshotGroup metadata: name: test-volume @@ -176,7 +176,7 @@ spec: keep: 3 template: spec: - volumeSnapshotClassName: test-snapshot-class + volumeSnapshotClassName: test-snapshot-class ``` ### Restore diff --git a/examples/bash/04-create-snapshotgroup.yaml b/examples/bash/04-create-snapshotgroup.yaml index 05b2a1f..c3fe945 100644 --- a/examples/bash/04-create-snapshotgroup.yaml +++ b/examples/bash/04-create-snapshotgroup.yaml @@ -1,4 +1,4 @@ -apiVersion: gemini.fairwinds.com/v1beta1 +apiVersion: gemini.fairwinds.com/v1 kind: SnapshotGroup metadata: name: ebs-gemini-testing diff --git a/examples/bash/course.yaml b/examples/bash/course.yaml index 7d71a5a..48d1c52 100644 --- a/examples/bash/course.yaml +++ b/examples/bash/course.yaml @@ -7,7 +7,7 @@ charts: hooks: pre_install: # install the AWS EBS CSI driver, the snapshotter, its controller, and associated CRDs first - - kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/alpha/?ref=master" + - kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=master" - kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml - kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/client/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml - kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml \ No newline at end of file