From 705ecd09ddde608b9a66ed248acbc8229cfe8c24 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Mon, 28 May 2018 17:35:12 -0700 Subject: [PATCH] Prepare docs for 0.7.0 release. (#502) --- README.md | 8 +++---- chart/stash/Chart.yaml | 4 ++-- chart/stash/README.md | 2 +- chart/stash/values.yaml | 2 +- docs/CHANGELOG.md | 18 ++++++++++---- docs/CONTRIBUTING.md | 8 +++---- docs/README.md | 10 ++++---- docs/_index.md | 4 ++-- docs/acknowledgement.md | 8 +++---- docs/concepts/README.md | 8 +++---- docs/concepts/_index.md | 4 ++-- docs/concepts/crds/_index.md | 4 ++-- docs/concepts/crds/recovery.md | 4 ++-- docs/concepts/crds/repository.md | 4 ++-- docs/concepts/crds/restic.md | 4 ++-- docs/concepts/what-is-stash/_index.md | 4 ++-- docs/concepts/what-is-stash/overview.md | 4 ++-- docs/examples/workloads/statefulset.yaml | 2 +- docs/guides/README.md | 8 +++---- docs/guides/_index.md | 4 ++-- docs/guides/backends.md | 4 ++-- docs/guides/backup.md | 6 ++--- docs/guides/minio_server.md | 4 ++-- docs/guides/monitoring.md | 4 ++-- docs/guides/offline_backup.md | 6 ++--- docs/guides/rbac.md | 4 ++-- docs/guides/restore.md | 4 ++-- docs/guides/workloads.md | 6 ++--- docs/reference/_index.md | 4 ++-- docs/reference/stash.md | 6 ++--- docs/reference/stash_backup.md | 4 ++-- docs/reference/stash_check.md | 4 ++-- docs/reference/stash_forget.md | 4 ++-- docs/reference/stash_recover.md | 4 ++-- docs/reference/stash_run.md | 4 ++-- docs/reference/stash_scaledown.md | 4 ++-- docs/reference/stash_snapshots.md | 4 ++-- docs/reference/stash_version.md | 4 ++-- docs/roadmap.md | 8 +++---- docs/setup/README.md | 8 +++---- docs/setup/_index.md | 4 ++-- docs/setup/developer-guide/_index.md | 4 ++-- docs/setup/developer-guide/overview.md | 4 ++-- docs/setup/developer-guide/release.md | 4 ++-- docs/setup/install.md | 30 ++++++++++++------------ docs/setup/uninstall.md | 6 ++--- docs/setup/upgrade.md | 8 +++---- docs/support.md | 8 +++---- hack/deploy/stash.sh | 4 ++-- hack/gencrd/main.go | 2 +- hack/gendocs/main.go | 2 +- openapi-spec/v2/swagger.json | 2 +- 52 files changed, 148 insertions(+), 140 deletions(-) diff --git a/README.md b/README.md index ae9c7ee1e..49fa30086 100644 --- a/README.md +++ b/README.md @@ -28,19 +28,19 @@ Please pick a version of Stash that matches your Kubernetes installation. | Stash Version | Docs | Kubernetes Version | |------------------------------------------------------------------------------------|-----------------------------------------------------------------|--------------------| -| [0.7.0-rc.5](https://github.com/appscode/stash/releases/tag/0.7.0-rc.5) (uses CRD) | [User Guide](https://appscode.com/products/stash/0.7.0-rc.5) | 1.8.x+ | +| [0.7.0](https://github.com/appscode/stash/releases/tag/0.7.0) (uses CRD) | [User Guide](https://appscode.com/products/stash/0.7.0) | 1.8.x+ | | [0.6.4](https://github.com/appscode/stash/releases/tag/0.6.4) (uses CRD) | [User Guide](https://appscode.com/products/stash/0.6.4) | 1.7.x | | [0.4.2](https://github.com/appscode/stash/releases/tag/0.4.2) (uses TPR) | [User Guide](https://github.com/appscode/stash/tree/0.4.2/docs) | 1.5.x - 1.6.x | ## Installation -To install Stash, please follow the guide [here](https://appscode.com/products/stash/0.7.0-rc.5/setup/install). +To install Stash, please follow the guide [here](https://appscode.com/products/stash/0.7.0/setup/install). ## Using Stash -Want to learn how to use Stash? Please start [here](https://appscode.com/products/stash/0.7.0-rc.5). +Want to learn how to use Stash? Please start [here](https://appscode.com/products/stash/0.7.0). ## Contribution guidelines -Want to help improve Stash? Please start [here](https://appscode.com/products/stash/0.7.0-rc.5/welcome/contributing). +Want to help improve Stash? Please start [here](https://appscode.com/products/stash/0.7.0/welcome/contributing). --- diff --git a/chart/stash/Chart.yaml b/chart/stash/Chart.yaml index febb69671..6c6dcdcaf 100755 --- a/chart/stash/Chart.yaml +++ b/chart/stash/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 description: 'Stash by AppsCode - Backup your Kubernetes Volumes' name: stash -version: 0.7.0-rc.5 -appVersion: 0.7.0-rc.5 +version: 0.7.0 +appVersion: 0.7.0 home: https://github.com/appscode/stash icon: https://cdn.appscode.com/images/icon/stash.png sources: diff --git a/chart/stash/README.md b/chart/stash/README.md index 0c6274a13..16ad95dd3 100644 --- a/chart/stash/README.md +++ b/chart/stash/README.md @@ -45,7 +45,7 @@ The following table lists the configurable parameters of the Stash chart and the | `replicaCount` | Number of stash operator replicas to create (only 1 is supported) | `1` | | `operator.registry` | Docker registry used to pull operator image | `appscode` | | `operator.repository` | operator container image | `stash` | -| `operator.tag` | operator container image tag | `0.7.0-rc.5` | +| `operator.tag` | operator container image tag | `0.7.0` | | `pushgateway.registry` | Docker registry used to pull Prometheus pushgateway image | `prom` | | `pushgateway.repository` | Prometheus pushgateway container image | `pushgateway` | | `pushgateway.tag` | Prometheus pushgateway container image tag | `v0.4.0` | diff --git a/chart/stash/values.yaml b/chart/stash/values.yaml index 1efb1d48a..a1870fbfa 100644 --- a/chart/stash/values.yaml +++ b/chart/stash/values.yaml @@ -6,7 +6,7 @@ replicaCount: 1 operator: registry: appscode repository: stash - tag: 0.7.0-rc.5 + tag: 0.7.0 pushgateway: registry: prom repository: pushgateway diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 747a3864b..bc1440131 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,24 +2,31 @@ title: Changelog | Stash description: Changelog menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: changelog-stash name: Changelog parent: welcome weight: 10 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: welcome -url: /products/stash/0.7.0-rc.5/welcome/changelog/ +url: /products/stash/0.7.0/welcome/changelog/ aliases: - - /products/stash/0.7.0-rc.5/CHANGELOG/ + - /products/stash/0.7.0/CHANGELOG/ --- # Change Log ## [Unreleased](https://github.com/appscode/stash/tree/HEAD) -[Full Changelog](https://github.com/appscode/stash/compare/0.7.0-rc.4...HEAD) +[Full Changelog](https://github.com/appscode/stash/compare/0.7.0-rc.5...HEAD) + +**Closed issues:** + +- Resource type "snapshot" not registered [\#499](https://github.com/appscode/stash/issues/499) + +## [0.7.0-rc.5](https://github.com/appscode/stash/tree/0.7.0-rc.5) (2018-05-23) +[Full Changelog](https://github.com/appscode/stash/compare/0.7.0-rc.4...0.7.0-rc.5) **Fixed bugs:** @@ -27,6 +34,7 @@ aliases: **Merged pull requests:** +- Prepare docs for 0.7.0-rc.5 [\#498](https://github.com/appscode/stash/pull/498) ([tamalsaha](https://github.com/tamalsaha)) - Update changelog [\#495](https://github.com/appscode/stash/pull/495) ([tamalsaha](https://github.com/tamalsaha)) ## [0.7.0-rc.4](https://github.com/appscode/stash/tree/0.7.0-rc.4) (2018-05-22) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 1ec90f065..92515ff27 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -2,17 +2,17 @@ title: Contributing | Stash description: Contributing menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: contributing-stash name: Contributing parent: welcome weight: 10 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: welcome -url: /products/stash/0.7.0-rc.5/welcome/contributing/ +url: /products/stash/0.7.0/welcome/contributing/ aliases: - - /products/stash/0.7.0-rc.5/CONTRIBUTING/ + - /products/stash/0.7.0/CONTRIBUTING/ --- # Contribution Guidelines diff --git a/docs/README.md b/docs/README.md index 561699b04..ee6b61afc 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,18 +2,18 @@ title: Welcome | Stash description: Welcome to Stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: readme-stash name: Readme parent: welcome weight: -1 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: welcome -url: /products/stash/0.7.0-rc.5/welcome/ +url: /products/stash/0.7.0/welcome/ aliases: - - /products/stash/0.7.0-rc.5/ - - /products/stash/0.7.0-rc.5/README/ + - /products/stash/0.7.0/ + - /products/stash/0.7.0/README/ --- # Stash Stash by AppsCode is a Kubernetes operator for [restic](https://restic.net). If you are running production workloads in Kubernetes, you might want to take backup of your disks. Using Stash, you can backup Kubernetes volumes mounted in following types of workloads: diff --git a/docs/_index.md b/docs/_index.md index f6781c7dd..894f15147 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -2,9 +2,9 @@ title: Docs | Stash description: Stash Docs menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: welcome name: Welcome weight: 10 -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 --- diff --git a/docs/acknowledgement.md b/docs/acknowledgement.md index 0c74e2661..5205b757b 100644 --- a/docs/acknowledgement.md +++ b/docs/acknowledgement.md @@ -2,17 +2,17 @@ title: Acknowledgement | Stash description: Acknowledgement menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: acknowledgement-stash name: Acknowledgement parent: welcome weight: 20 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: welcome -url: /products/stash/0.7.0-rc.5/welcome/acknowledgement/ +url: /products/stash/0.7.0/welcome/acknowledgement/ aliases: - - /products/stash/0.7.0-rc.5/acknowledgement/ + - /products/stash/0.7.0/acknowledgement/ --- # Acknowledgement diff --git a/docs/concepts/README.md b/docs/concepts/README.md index 76f5ea48b..42deca77a 100644 --- a/docs/concepts/README.md +++ b/docs/concepts/README.md @@ -1,17 +1,17 @@ --- title: Concepts | Stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: concepts-readme name: Readme parent: concepts weight: -1 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: concepts -url: /products/stash/0.7.0-rc.5/concepts/ +url: /products/stash/0.7.0/concepts/ aliases: - - /products/stash/0.7.0-rc.5/concepts/README/ + - /products/stash/0.7.0/concepts/README/ --- # Concepts diff --git a/docs/concepts/_index.md b/docs/concepts/_index.md index 6f523c76a..7ef7cebeb 100644 --- a/docs/concepts/_index.md +++ b/docs/concepts/_index.md @@ -2,9 +2,9 @@ title: Concepts description: Stash Concepts menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: concepts name: Concepts weight: 20 -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 --- diff --git a/docs/concepts/crds/_index.md b/docs/concepts/crds/_index.md index 2f6155bb4..8a0b276f3 100644 --- a/docs/concepts/crds/_index.md +++ b/docs/concepts/crds/_index.md @@ -2,10 +2,10 @@ title: Declarative API | Stash description: Declarative API menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: crds parent: concepts name: Declarative API weight: 15 -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 --- diff --git a/docs/concepts/crds/recovery.md b/docs/concepts/crds/recovery.md index a4a211f7d..9cdd8e9f1 100644 --- a/docs/concepts/crds/recovery.md +++ b/docs/concepts/crds/recovery.md @@ -1,13 +1,13 @@ --- title: Recovery Overview menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: recovery-overview name: Recovery parent: crds weight: 20 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: concepts --- diff --git a/docs/concepts/crds/repository.md b/docs/concepts/crds/repository.md index 50c59e070..181da5caa 100644 --- a/docs/concepts/crds/repository.md +++ b/docs/concepts/crds/repository.md @@ -1,13 +1,13 @@ --- title: Repository Overview menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: repository-overview name: Repository parent: crds weight: 15 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: concepts --- diff --git a/docs/concepts/crds/restic.md b/docs/concepts/crds/restic.md index 8cc32f58a..62e54d7a3 100644 --- a/docs/concepts/crds/restic.md +++ b/docs/concepts/crds/restic.md @@ -1,13 +1,13 @@ --- title: Restic Overview menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: restic-overview name: Restic parent: crds weight: 10 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: concepts --- diff --git a/docs/concepts/what-is-stash/_index.md b/docs/concepts/what-is-stash/_index.md index 7c59d5df5..8a57aa5bd 100644 --- a/docs/concepts/what-is-stash/_index.md +++ b/docs/concepts/what-is-stash/_index.md @@ -2,10 +2,10 @@ title: What is Stash description: What is Stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: what-is-stash parent: concepts name: What is Stash weight: 10 -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 --- diff --git a/docs/concepts/what-is-stash/overview.md b/docs/concepts/what-is-stash/overview.md index ced04ac99..c06c797b9 100644 --- a/docs/concepts/what-is-stash/overview.md +++ b/docs/concepts/what-is-stash/overview.md @@ -2,13 +2,13 @@ title: Stash Overview description: Stash Overview menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: overview-concepts name: Overview parent: what-is-stash weight: 10 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: concepts --- # Stash diff --git a/docs/examples/workloads/statefulset.yaml b/docs/examples/workloads/statefulset.yaml index c1bcd5c0b..0872244fd 100644 --- a/docs/examples/workloads/statefulset.yaml +++ b/docs/examples/workloads/statefulset.yaml @@ -96,7 +96,7 @@ spec: volumeMounts: - mountPath: /source/data name: source-data - - image: appscode/stash:0.7.0-rc.5 + - image: appscode/stash:0.7.0 name: stash imagePullPolicy: IfNotPresent args: diff --git a/docs/guides/README.md b/docs/guides/README.md index c8998e38d..691fd041c 100644 --- a/docs/guides/README.md +++ b/docs/guides/README.md @@ -2,17 +2,17 @@ title: Table of Contents | Guides description: Table of Contents | Guides menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: guides-readme name: Readme parent: guides weight: -1 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: guides -url: /products/stash/0.7.0-rc.5/guides/ +url: /products/stash/0.7.0/guides/ aliases: - - /products/stash/0.7.0-rc.5/guides/README/ + - /products/stash/0.7.0/guides/README/ --- # Guides diff --git a/docs/guides/_index.md b/docs/guides/_index.md index 847dfb9e6..1bfd8417c 100644 --- a/docs/guides/_index.md +++ b/docs/guides/_index.md @@ -1,9 +1,9 @@ --- title: Guides | Stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: guides name: Guides weight: 40 -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 --- diff --git a/docs/guides/backends.md b/docs/guides/backends.md index 7891aede0..cb79a85e8 100644 --- a/docs/guides/backends.md +++ b/docs/guides/backends.md @@ -2,13 +2,13 @@ title: Supported Backends | Stash description: Supported Backends for Stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: backends-stash name: Backends parent: guides weight: 30 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: guides --- diff --git a/docs/guides/backup.md b/docs/guides/backup.md index 12b1ed986..7869ab399 100644 --- a/docs/guides/backup.md +++ b/docs/guides/backup.md @@ -2,13 +2,13 @@ title: Backup Volumes | Stash description: Backup Volumes using Stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: backup-stash name: Backup Volumes parent: guides weight: 10 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: guides --- @@ -220,7 +220,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: metadata.name - image: appscode/stash:0.7.0-rc.5 + image: appscode/stash:0.7.0 imagePullPolicy: IfNotPresent name: stash resources: {} diff --git a/docs/guides/minio_server.md b/docs/guides/minio_server.md index 6994786d9..890981973 100644 --- a/docs/guides/minio_server.md +++ b/docs/guides/minio_server.md @@ -2,13 +2,13 @@ title: Minio | Stash description: Using Stash with TLS secured Minio Server menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: minio-stash name: Backup to Minio parent: guides weight: 45 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: guides --- diff --git a/docs/guides/monitoring.md b/docs/guides/monitoring.md index 7c0102b23..ae42a32f4 100644 --- a/docs/guides/monitoring.md +++ b/docs/guides/monitoring.md @@ -2,13 +2,13 @@ title: Monitoring | Stash description: monitoring of Stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: monitoring-stash name: Monitoring parent: guides weight: 45 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: guides --- diff --git a/docs/guides/offline_backup.md b/docs/guides/offline_backup.md index 6685e2b3b..54ee258ab 100644 --- a/docs/guides/offline_backup.md +++ b/docs/guides/offline_backup.md @@ -2,13 +2,13 @@ title: Offline Backup | Stash description: Offline Backup using Stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: offline-stash name: Offline Backup parent: guides weight: 15 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: guides --- @@ -214,7 +214,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: metadata.name - image: appscode/stash:0.7.0-rc.5 + image: appscode/stash:0.7.0 imagePullPolicy: IfNotPresent name: stash resources: {} diff --git a/docs/guides/rbac.md b/docs/guides/rbac.md index b67a8fed8..44428a50b 100644 --- a/docs/guides/rbac.md +++ b/docs/guides/rbac.md @@ -2,13 +2,13 @@ title: RBAC | Stash description: RBAC menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: rbac-stash name: RBAC parent: guides weight: 40 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: guides --- > New to Stash? Please start [here](/docs/concepts/README.md). diff --git a/docs/guides/restore.md b/docs/guides/restore.md index b2ccfcd5b..a15ba2aee 100644 --- a/docs/guides/restore.md +++ b/docs/guides/restore.md @@ -2,13 +2,13 @@ title: Restore Volumes | Stash description: Restore Volumes using Stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: restore-stash name: Restore Volumes parent: guides weight: 25 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: guides --- diff --git a/docs/guides/workloads.md b/docs/guides/workloads.md index ebbc38a12..2f104855e 100644 --- a/docs/guides/workloads.md +++ b/docs/guides/workloads.md @@ -2,13 +2,13 @@ title: Workloads | Stash description: workloads of Stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: workloads-stash name: Workloads parent: guides weight: 20 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: guides --- @@ -64,7 +64,7 @@ spec: volumeMounts: - mountPath: /source/data name: source-data - - image: appscode/stash:0.7.0-rc.5 + - image: appscode/stash:0.7.0 name: stash imagePullPolicy: IfNotPresent args: diff --git a/docs/reference/_index.md b/docs/reference/_index.md index d0e119804..4f4d00f6f 100644 --- a/docs/reference/_index.md +++ b/docs/reference/_index.md @@ -2,9 +2,9 @@ title: Reference description: Stash CLI Reference menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: reference name: Reference weight: 1000 -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 --- diff --git a/docs/reference/stash.md b/docs/reference/stash.md index 4776fb2e1..d48f14ce5 100644 --- a/docs/reference/stash.md +++ b/docs/reference/stash.md @@ -1,17 +1,17 @@ --- title: Stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: stash name: Stash parent: reference weight: 0 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: reference aliases: - - products/stash/0.7.0-rc.5/reference/ + - products/stash/0.7.0/reference/ --- ## stash diff --git a/docs/reference/stash_backup.md b/docs/reference/stash_backup.md index 0f352b308..91114c5ba 100644 --- a/docs/reference/stash_backup.md +++ b/docs/reference/stash_backup.md @@ -1,12 +1,12 @@ --- title: Stash Backup menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: stash-backup name: Stash Backup parent: reference product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: reference --- ## stash backup diff --git a/docs/reference/stash_check.md b/docs/reference/stash_check.md index 36bac58a1..d21357fb8 100644 --- a/docs/reference/stash_check.md +++ b/docs/reference/stash_check.md @@ -1,12 +1,12 @@ --- title: Stash Check menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: stash-check name: Stash Check parent: reference product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: reference --- ## stash check diff --git a/docs/reference/stash_forget.md b/docs/reference/stash_forget.md index 955ad478b..86e7e226f 100644 --- a/docs/reference/stash_forget.md +++ b/docs/reference/stash_forget.md @@ -1,12 +1,12 @@ --- title: Stash Forget menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: stash-forget name: Stash Forget parent: reference product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: reference --- ## stash forget diff --git a/docs/reference/stash_recover.md b/docs/reference/stash_recover.md index 20352ec9d..26fec76d9 100644 --- a/docs/reference/stash_recover.md +++ b/docs/reference/stash_recover.md @@ -1,12 +1,12 @@ --- title: Stash Recover menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: stash-recover name: Stash Recover parent: reference product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: reference --- ## stash recover diff --git a/docs/reference/stash_run.md b/docs/reference/stash_run.md index e2dc786b4..c67fadde8 100644 --- a/docs/reference/stash_run.md +++ b/docs/reference/stash_run.md @@ -1,12 +1,12 @@ --- title: Stash Run menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: stash-run name: Stash Run parent: reference product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: reference --- ## stash run diff --git a/docs/reference/stash_scaledown.md b/docs/reference/stash_scaledown.md index 24972370c..48c829b7b 100644 --- a/docs/reference/stash_scaledown.md +++ b/docs/reference/stash_scaledown.md @@ -1,12 +1,12 @@ --- title: Stash Scaledown menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: stash-scaledown name: Stash Scaledown parent: reference product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: reference --- ## stash scaledown diff --git a/docs/reference/stash_snapshots.md b/docs/reference/stash_snapshots.md index 453a63b48..88f21ec13 100644 --- a/docs/reference/stash_snapshots.md +++ b/docs/reference/stash_snapshots.md @@ -1,12 +1,12 @@ --- title: Stash Snapshots menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: stash-snapshots name: Stash Snapshots parent: reference product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: reference --- ## stash snapshots diff --git a/docs/reference/stash_version.md b/docs/reference/stash_version.md index c172a5242..91680d82f 100644 --- a/docs/reference/stash_version.md +++ b/docs/reference/stash_version.md @@ -1,12 +1,12 @@ --- title: Stash Version menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: stash-version name: Stash Version parent: reference product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: reference --- ## stash version diff --git a/docs/roadmap.md b/docs/roadmap.md index d6578b495..743f19509 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -2,17 +2,17 @@ title: Roadmap | Stash description: Roadmap of stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: roadmap-stash name: Roadmap parent: welcome weight: 15 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: welcome -url: /products/stash/0.7.0-rc.5/welcome/roadmap/ +url: /products/stash/0.7.0/welcome/roadmap/ aliases: - - /products/stash/0.7.0-rc.5/roadmap/ + - /products/stash/0.7.0/roadmap/ --- # Project Status diff --git a/docs/setup/README.md b/docs/setup/README.md index 187b91ebc..b0d897c77 100644 --- a/docs/setup/README.md +++ b/docs/setup/README.md @@ -2,17 +2,17 @@ title: Table of Contents | Setup description: Table of Contents | Setup menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: setup-readme name: Readme parent: setup weight: -1 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: setup -url: /products/stash/0.7.0-rc.5/setup/ +url: /products/stash/0.7.0/setup/ aliases: - - /products/stash/0.7.0-rc.5/setup/README/ + - /products/stash/0.7.0/setup/README/ --- # Setup diff --git a/docs/setup/_index.md b/docs/setup/_index.md index 378e41b9e..cd35f630d 100644 --- a/docs/setup/_index.md +++ b/docs/setup/_index.md @@ -1,9 +1,9 @@ --- title: Setup | Stash menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: setup name: Setup weight: 30 -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 --- diff --git a/docs/setup/developer-guide/_index.md b/docs/setup/developer-guide/_index.md index d258c2dbf..f97d8ce70 100644 --- a/docs/setup/developer-guide/_index.md +++ b/docs/setup/developer-guide/_index.md @@ -2,10 +2,10 @@ title: Developer Guide | Stash description: Stash Developer Guide menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: developer-guide name: Developer Guide parent: setup weight: 40 -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 --- \ No newline at end of file diff --git a/docs/setup/developer-guide/overview.md b/docs/setup/developer-guide/overview.md index 43aa8b3a5..3398467ed 100644 --- a/docs/setup/developer-guide/overview.md +++ b/docs/setup/developer-guide/overview.md @@ -2,13 +2,13 @@ title: Overview | Developer Guide description: Developer Guide Overview menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: developer-guide-readme name: Overview parent: developer-guide weight: 15 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: setup --- diff --git a/docs/setup/developer-guide/release.md b/docs/setup/developer-guide/release.md index 553727618..9daea9f83 100644 --- a/docs/setup/developer-guide/release.md +++ b/docs/setup/developer-guide/release.md @@ -2,13 +2,13 @@ title: Release | Stash description: Stash Release menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: release name: Release parent: developer-guide weight: 15 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: setup --- # Release Process diff --git a/docs/setup/install.md b/docs/setup/install.md index 56c506981..308ac79c3 100644 --- a/docs/setup/install.md +++ b/docs/setup/install.md @@ -2,13 +2,13 @@ title: Install description: Stash Install menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: install-stash name: Install parent: setup weight: 10 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: setup --- @@ -21,7 +21,7 @@ Stash operator can be installed via a script or as a Helm chart. To install Stash in your Kubernetes cluster, run the following command: ```console -$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0-rc.5/hack/deploy/stash.sh | bash +$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0/hack/deploy/stash.sh | bash ``` After successful installation, you should have a `stash-operator-***` pod running in the `kube-system` namespace. @@ -33,10 +33,10 @@ stash-operator-846d47f489-jrb58 1/1 Running 0 48s #### Customizing Installer -The installer script and associated yaml files can be found in the [/hack/deploy](https://github.com/appscode/stash/tree/0.7.0-rc.5/hack/deploy) folder. You can see the full list of flags available to installer using `-h` flag. +The installer script and associated yaml files can be found in the [/hack/deploy](https://github.com/appscode/stash/tree/0.7.0/hack/deploy) folder. You can see the full list of flags available to installer using `-h` flag. ```console -$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0-rc.5/hack/deploy/stash.sh | bash -s -- -h +$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0/hack/deploy/stash.sh | bash -s -- -h stash.sh - install stash operator stash.sh [options] @@ -58,7 +58,7 @@ options: If you would like to run Stash operator pod in `master` instances, pass the `--run-on-master` flag: ```console -$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0-rc.5/hack/deploy/stash.sh \ +$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0/hack/deploy/stash.sh \ | bash -s -- --run-on-master [--rbac] ``` @@ -66,7 +66,7 @@ Stash operator will be installed in a `kube-system` namespace by default. If you ```console $ kubectl create namespace stash -$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0-rc.5/hack/deploy/stash.sh \ +$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0/hack/deploy/stash.sh \ | bash -s -- --namespace=stash [--run-on-master] [--rbac] ``` @@ -78,32 +78,32 @@ To pass the address of your private registry and optionally a image pull secret ```console $ kubectl create namespace stash -$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0-rc.5/hack/deploy/stash.sh \ +$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0/hack/deploy/stash.sh \ | bash -s -- --docker-registry=MY_REGISTRY [--image-pull-secret=SECRET_NAME] [--rbac] ``` Stash implements [validating admission webhooks](https://kubernetes.io/docs/admin/admission-controllers/#validatingadmissionwebhook-alpha-in-18-beta-in-19) to validate Stash CRDs and **mutating webhooks** for Kubernetes workload types. This is helpful when you create `Restic` before creating workload objects. This allows stash operator to initialize the target workloads by adding sidecar or, init-container before workload-pods are created. Thus stash operator does not need to delete workload pods for applying changes. This is particularly helpful for workload kind `StatefulSet`, since Kubernetes does not support adding sidecar / init containers to StatefulSets after they are created. This is enabled by default for Kubernetes 1.9.0 or later releases. To disable this feature, pass the `--enable-validating-webhook=false` and `--enable-mutating-webhook=false` flag respectively. ```console -$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0-rc.5/hack/deploy/stash.sh \ +$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0/hack/deploy/stash.sh \ | bash -s -- --enable-validating-webhook=false --enable-mutating-webhook=false [--rbac] ``` ## Using Helm -Stash can be installed via [Helm](https://helm.sh/) using the [chart](https://github.com/appscode/stash/tree/0.7.0-rc.5/chart/stash) from [AppsCode Charts Repository](https://github.com/appscode/charts). To install the chart with the release name `my-release`: +Stash can be installed via [Helm](https://helm.sh/) using the [chart](https://github.com/appscode/stash/tree/0.7.0/chart/stash) from [AppsCode Charts Repository](https://github.com/appscode/charts). To install the chart with the release name `my-release`: ```console $ helm repo add appscode https://charts.appscode.com/stable/ $ helm repo update $ helm search appscode/stash NAME CHART VERSION APP VERSION DESCRIPTION -appscode/stash 0.7.0-rc.5 0.7.0-rc.5 Stash by AppsCode - Backup your Kubernetes Volumes +appscode/stash 0.7.0 0.7.0 Stash by AppsCode - Backup your Kubernetes Volumes # Kubernetes 1.8.x -$ helm install appscode/stash --name stash-operator --version 0.7.0-rc.5 +$ helm install appscode/stash --name stash-operator --version 0.7.0 # Kubernetes 1.9.0 or later -$ helm install appscode/stash --name stash-operator --version 0.7.0-rc.5 \ +$ helm install appscode/stash --name stash-operator --version 0.7.0 \ --set apiserver.ca="$(onessl get kube-ca)" \ --set apiserver.enableValidatingWebhook=true \ --set apiserver.enableMutatingWebhook=true @@ -218,13 +218,13 @@ $ POD_NAMESPACE=kube-system $ POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app=stash -o jsonpath={.items[0].metadata.name}) $ kubectl exec -it $POD_NAME -c operator -n $POD_NAMESPACE stash version -Version = 0.7.0-rc.5 +Version = 0.7.0 VersionStrategy = tag Os = alpine Arch = amd64 CommitHash = 85b0f16ab1b915633e968aac0ee23f877808ef49 GitBranch = release-0.5 -GitTag = 0.7.0-rc.5 +GitTag = 0.7.0 CommitTimestamp = 2017-10-10T05:24:23 $ kubectl exec -it $POD_NAME -c operator -n $POD_NAMESPACE restic version diff --git a/docs/setup/uninstall.md b/docs/setup/uninstall.md index 5820d0330..24aadd3bd 100644 --- a/docs/setup/uninstall.md +++ b/docs/setup/uninstall.md @@ -2,13 +2,13 @@ title: Uninstall description: Stash Uninstall menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: uninstall-stash name: Uninstall parent: setup weight: 20 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: setup --- # Uninstall Stash @@ -16,7 +16,7 @@ section_menu_id: setup To uninstall Stash operator, run the following command: ```console -$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0-rc.5/hack/deploy/stash.sh \ +$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0/hack/deploy/stash.sh \ | bash -s -- --uninstall [--namespace=NAMESPACE] + kubectl delete deployment -l app=stash -n kube-system diff --git a/docs/setup/upgrade.md b/docs/setup/upgrade.md index f189c44cd..649a1075d 100644 --- a/docs/setup/upgrade.md +++ b/docs/setup/upgrade.md @@ -2,13 +2,13 @@ title: Upgrade | Stash description: Stash Upgrade menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: upgrade-stash name: Upgrade parent: setup weight: 15 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: setup --- @@ -18,11 +18,11 @@ If you are upgrading Stash to a patch release, please reapply the [installation ## Upgrading from 0.6.x to 0.7.x -There are no backward incompatiable changes in this release. +If you are installing via scripts, then uninstall the old version first and then reinstall the new version. If you are using Helm, follow the instructions from [setup](/docs/setup/install.md) section. ## Upgrading from 0.5.x to 0.6.x -The format for `Restic` object has changed in backward incompatiable manner between 0.5.x and 0.7.0-rc.5 . The steps involved in upgrading Stash operator to 0.7.0-rc.5 from prior version involves the following steps: +The format for `Restic` object has changed in backward incompatiable manner between 0.5.x and 0.6.0 . The steps involved in upgrading Stash operator to 0.6.0 from prior version involves the following steps: 1. Backup all your old `Restic` CRDs. 2. Delete your old `Restic` objects. It will stop taking backups and remove sidecars from pods. diff --git a/docs/support.md b/docs/support.md index 3e7967b42..52fc09cc3 100644 --- a/docs/support.md +++ b/docs/support.md @@ -2,17 +2,17 @@ title: Support | Stash description: Support menu: - product_stash_0.7.0-rc.5: + product_stash_0.7.0: identifier: support-stash name: Support parent: welcome weight: 25 product_name: stash -menu_name: product_stash_0.7.0-rc.5 +menu_name: product_stash_0.7.0 section_menu_id: welcome -url: /products/stash/0.7.0-rc.5/welcome/support/ +url: /products/stash/0.7.0/welcome/support/ aliases: - - /products/stash/0.7.0-rc.5/support/ + - /products/stash/0.7.0/support/ --- # Support diff --git a/hack/deploy/stash.sh b/hack/deploy/stash.sh index 27284c49b..15c707634 100755 --- a/hack/deploy/stash.sh +++ b/hack/deploy/stash.sh @@ -93,7 +93,7 @@ export STASH_RUN_ON_MASTER=0 export STASH_ENABLE_VALIDATING_WEBHOOK=false export STASH_ENABLE_MUTATING_WEBHOOK=false export STASH_DOCKER_REGISTRY=appscode -export STASH_IMAGE_TAG=0.7.0-rc.5 +export STASH_IMAGE_TAG=0.7.0 export STASH_IMAGE_PULL_SECRET= export STASH_IMAGE_PULL_POLICY=IfNotPresent export STASH_ENABLE_ANALYTICS=true @@ -101,7 +101,7 @@ export STASH_UNINSTALL=0 export STASH_PURGE=0 export APPSCODE_ENV=${APPSCODE_ENV:-prod} -export SCRIPT_LOCATION="curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0-rc.5/" +export SCRIPT_LOCATION="curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0/" if [ "$APPSCODE_ENV" = "dev" ]; then detect_tag export SCRIPT_LOCATION="cat " diff --git a/hack/gencrd/main.go b/hack/gencrd/main.go index f546c96e4..985366cfa 100644 --- a/hack/gencrd/main.go +++ b/hack/gencrd/main.go @@ -58,7 +58,7 @@ func generateSwaggerJson() { Codecs: Codecs, Info: spec.InfoProps{ Title: "Stash", - Version: "v0.7.0-rc.5", + Version: "v0.7.0", Contact: &spec.ContactInfo{ Name: "AppsCode Inc.", URL: "https://appscode.com", diff --git a/hack/gendocs/main.go b/hack/gendocs/main.go index 7665dd090..5dfb25b44 100644 --- a/hack/gendocs/main.go +++ b/hack/gendocs/main.go @@ -16,7 +16,7 @@ import ( ) const ( - version = "0.7.0-rc.5" + version = "0.7.0" ) var ( diff --git a/openapi-spec/v2/swagger.json b/openapi-spec/v2/swagger.json index cc5dbd6fe..149928ac6 100644 --- a/openapi-spec/v2/swagger.json +++ b/openapi-spec/v2/swagger.json @@ -11,7 +11,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "v0.7.0-rc.5" + "version": "v0.7.0" }, "paths": { "/apis/": {