Skip to content

Commit

Permalink
adding image.flavor to values.yaml and clarifying image.tag in README…
Browse files Browse the repository at this point in the history
… configuration table with link to appVersion in Chart.yaml

Signed-off-by: jessebot <[email protected]>
  • Loading branch information
jessebot committed Sep 4, 2023
1 parent f1d1dd7 commit 47a3f35
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/nextcloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: nextcloud
version: 4.2.0
version: 4.2.1
appVersion: 27.0.2
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
Expand Down
4 changes: 3 additions & 1 deletion charts/nextcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ The following table lists the configurable parameters of the nextcloud chart and
|------------------------------------------------------------|----------------------------------------------------------------------------------------|----------------------------|
| `image.repository` | nextcloud Image name | `nextcloud` |
| `image.flavor` | nextcloud Image type (Options: apache, fpm) | `apache` |
| `image.tag` | nextcloud Image tag | `appVersion` |
| `image.tag` | nextcloud Image tag | [`appVersion`] |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Specify image pull secrets | `nil` |
| `replicaCount` | Number of nextcloud pods to deploy | `1` |
Expand Down Expand Up @@ -481,3 +481,5 @@ After an upgrade, you may have missing indices. To fix this, you can run:
# where NEXTCLOUD_POD is *your* nextcloud pod
kubectl exec -it $NEXTCLOUD_POD -- su -s /bin/sh www-data -c "php occ db:add-missing-indices"
```
[`appVersion`]: https://github.com/nextcloud/helm/blob/main/charts/nextcloud/Chart.yaml#L4 "appVersion on line 4 of Chart.yaml"
5 changes: 4 additions & 1 deletion charts/nextcloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
##
image:
repository: nextcloud
# tag: 24.0.3-apache
# tag defaults to appVersion in Chart.yaml
tag: ""
# flavor can be either fpm or apache. Set to fpm if using nginx
flavor: ""
pullPolicy: IfNotPresent
# pullSecrets:
# - myRegistrKeySecretName
Expand Down

0 comments on commit 47a3f35

Please sign in to comment.