From bc6f89e17b24908fedbdf8977e9214da270d206c Mon Sep 17 00:00:00 2001 From: Corey Zuares Date: Wed, 25 Jul 2018 13:21:56 -0400 Subject: [PATCH] [stable/ark] Update Heptio Ark for v0.9.0 (#6777) * Update for v0.9.0 support * Bump Chart version to 1.1.0 --- stable/ark/Chart.yaml | 4 ++-- stable/ark/README.md | 8 ++++---- stable/ark/templates/podvolumebackups.yaml | 16 ++++++++++++++++ stable/ark/templates/podvolumerestores.yaml | 16 ++++++++++++++++ stable/ark/templates/resticrepositories.yaml | 16 ++++++++++++++++ stable/ark/values.yaml | 2 +- 6 files changed, 55 insertions(+), 7 deletions(-) create mode 100644 stable/ark/templates/podvolumebackups.yaml create mode 100644 stable/ark/templates/podvolumerestores.yaml create mode 100644 stable/ark/templates/resticrepositories.yaml diff --git a/stable/ark/Chart.yaml b/stable/ark/Chart.yaml index c3c7f807e5..b1a13fb708 100644 --- a/stable/ark/Chart.yaml +++ b/stable/ark/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: 0.8.2 +appVersion: 0.9.0 description: A Helm chart for ark name: ark -version: 1.0.1 +version: 1.1.0 home: https://heptio.com/products/#heptio-ark sources: - https://github.com/heptio/ark diff --git a/stable/ark/README.md b/stable/ark/README.md index 7bb5113a9c..0421060fa1 100644 --- a/stable/ark/README.md +++ b/stable/ark/README.md @@ -1,7 +1,7 @@ # Ark-server -This helm chart installs Ark version v0.8.1 -https://github.com/heptio/ark/tree/v0.8.1 +This helm chart installs Ark version v0.9.0 +https://github.com/heptio/ark/tree/v0.9.0 ## Premise In general, Helm cannot install CRDs and resources based on these CRDs in the same Helm chart because CRDs need to be installed before CRD @@ -23,7 +23,7 @@ To do this we add the keyword `tpl` when reading the file ### Secret for cloud provider credentials Ark server needs an IAM service account in order to run, if you don't have it you must create it. -Please follow the official documentation: https://heptio.github.io/ark/v0.8.1/cloud-common +Please follow the official documentation: https://heptio.github.io/ark/v0.9.0/cloud-common Don't forget the step to create the secret ``` @@ -32,7 +32,7 @@ kubectl create secret generic cloud-credentials --namespace --fr ### Configuration Please change the values.yaml according to your setup -See here for the official documentation https://heptio.github.io/ark/v0.8.1/config-definition +See here for the official documentation https://heptio.github.io/ark/v0.9.0/config-definition Parameter | Description | Default | Required --- | --- | --- | --- diff --git a/stable/ark/templates/podvolumebackups.yaml b/stable/ark/templates/podvolumebackups.yaml new file mode 100644 index 0000000000..2164331ee1 --- /dev/null +++ b/stable/ark/templates/podvolumebackups.yaml @@ -0,0 +1,16 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: podvolumebackups.ark.heptio.com + labels: + chart: {{ template "ark.chart" . }} + heritage: {{ .Release.Service }} + release: {{ .Release.Name }} + app: {{ template "ark.name" . }} +spec: + group: ark.heptio.com + version: v1 + scope: Namespaced + names: + plural: podvolumebackups + kind: PodVolumeBackup diff --git a/stable/ark/templates/podvolumerestores.yaml b/stable/ark/templates/podvolumerestores.yaml new file mode 100644 index 0000000000..771b2d5165 --- /dev/null +++ b/stable/ark/templates/podvolumerestores.yaml @@ -0,0 +1,16 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: podvolumerestores.ark.heptio.com + labels: + chart: {{ template "ark.chart" . }} + heritage: {{ .Release.Service }} + release: {{ .Release.Name }} + app: {{ template "ark.name" . }} +spec: + group: ark.heptio.com + version: v1 + scope: Namespaced + names: + plural: podvolumerestores + kind: PodVolumeRestore diff --git a/stable/ark/templates/resticrepositories.yaml b/stable/ark/templates/resticrepositories.yaml new file mode 100644 index 0000000000..d56ec01d83 --- /dev/null +++ b/stable/ark/templates/resticrepositories.yaml @@ -0,0 +1,16 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: resticrepositories.ark.heptio.com + labels: + chart: {{ template "ark.chart" . }} + heritage: {{ .Release.Service }} + release: {{ .Release.Name }} + app: {{ template "ark.name" . }} +spec: + group: ark.heptio.com + version: v1 + scope: Namespaced + names: + plural: resticrepositories + kind: ResticRepository diff --git a/stable/ark/values.yaml b/stable/ark/values.yaml index c769d03b18..563475f847 100644 --- a/stable/ark/values.yaml +++ b/stable/ark/values.yaml @@ -30,7 +30,7 @@ tolerations: [] nodeSelector: {} ## Parameters for the ' default' Config resource -## See https://heptio.github.io/ark/v0.8.1/config-definition +## See https://heptio.github.io/ark/v0.9.0/config-definition configuration: persistentVolumeProvider: {} # name: