Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/owncloud] Update to the recommended pvc patterns. (#458)
Browse files Browse the repository at this point in the history
* Convert chart owncloud to use the recommended pvc patterns

* fix notes for 1.5

* update mariadb dep

* update comments in helpers

* bump version
  • Loading branch information
AmandaCameron authored and prydonius committed Jan 31, 2017
1 parent ee334ec commit e1bde68
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion stable/owncloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: owncloud
version: 0.4.2
version: 0.4.3
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
- owncloud
Expand Down
1 change: 1 addition & 0 deletions stable/owncloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ The following tables lists the configurable parameters of the ownCloud chart and
| `persistence.owncloud.size` | PVC Storage Request for ownCloud volume | `8Gi` |
| `resources` | CPU/Memory resource requests/limits | Memory: `512Mi`, CPU: `300m` |


The above parameters map to the env variables defined in [bitnami/owncloud](http://github.com/bitnami/bitnami-docker-owncloud). For more information please refer to the [bitnami/owncloud](http://github.com/bitnami/bitnami-docker-owncloud) image documentation.

> **Note**:
Expand Down
6 changes: 3 additions & 3 deletions stable/owncloud/requirements.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: mariadb
repository: https://kubernetes-charts.storage.googleapis.com/
version: 0.5.6
digest: sha256:1b3aad03b4383d1a24dfbfef6ba1beb45f7ace2baa399c66f5a4d56d0f7bc717
generated: 2017-01-17T11:16:51.645003361+05:30
version: 0.5.7
digest: sha256:409eefb841b53ef1aa91d0607d87e6c475297df40101180c787260d766657d95
generated: 2017-01-27T18:09:43.854355049-08:00
2 changes: 1 addition & 1 deletion stable/owncloud/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dependencies:
- name: mariadb
version: 0.5.x
version: 0.5.7
repository: https://kubernetes-charts.storage.googleapis.com/
2 changes: 1 addition & 1 deletion stable/owncloud/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ host. To configure ownCloud with the URL of your service:
2. Get your ownCloud login credentials by running:

echo Email: {{ .Values.owncloudUsername }}
echo Password: $(printf $(printf '\%o' `kubectl get secret --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath="{.data.owncloud-password[*]}"`))
echo Password: $(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath="{.data.owncloud-password}" | base64 --decode)
{{- end }}
4 changes: 2 additions & 2 deletions stable/owncloud/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Expand the name of the chart.

{{/*
Create a default fully qualified app name.
We truncate at 24 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
Expand All @@ -17,7 +17,7 @@ We truncate at 24 chars because some Kubernetes name fields are limited to this

{{/*
Create a default fully qualified app name.
We truncate at 24 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "mariadb.fullname" -}}
{{- printf "%s-%s" .Release.Name "mariadb" | trunc 63 | trimSuffix "-" -}}
Expand Down
6 changes: 3 additions & 3 deletions stable/owncloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ mariadb:
## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
## Default: volume.alpha.kubernetes.io/storage-class: default
##
# storageClass: generic
# storageClass:
accessMode: ReadWriteOnce
size: 8Gi

Expand All @@ -69,14 +69,14 @@ persistence:
## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
## Default: volume.alpha.kubernetes.io/storage-class: default
##
# storageClass: generic
# storageClass:
accessMode: ReadWriteOnce
size: 1Gi
owncloud:
## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
## Default: volume.alpha.kubernetes.io/storage-class: default
##
# storageClass: generic
# storageClass:
accessMode: ReadWriteOnce
size: 8Gi

Expand Down

0 comments on commit e1bde68

Please sign in to comment.