Giter VIP home page Giter VIP logo

owncloud's People

Contributors

cakeben avatar dpmerron-ltd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

owncloud's Issues

TL;DR instruction doesn't work

When executing helm repo add owncloud, I get this error message:

Error: "helm repo add" requires 2 arguments
Usage:  helm repo add [NAME] [URL] [flags]

Could you please document the URL that helm is asking for in the README?

Helm chart is outdated for current k8s versions

When trying to deploy this chart to Kubernetes, I get an error:

Error: unable to build kubernetes objects from release manifest: 
error validating "": error validating data: [
    ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "serviceName" in io.k8s.api.networking.v1.IngressBackend, 
    ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "servicePort" in io.k8s.api.networking.v1.IngressBackend, 
    ValidationError(Ingress.spec.rules[0].http.paths[0]): missing required field "pathType" in io.k8s.api.networking.v1.HTTPIngressPath
]

It seems to be the case that this chart hasn't been updated for Kubernetes 1.2x.x yet.

chown: changing ownership of '/var/www/owncloud/config': Operation not permitted

when i'm installing owncloud helm chart with persistent volume enabled with EFS, I'm getting this issue.

here is pod logs

Creating volume folders...
Creating hook folders...
Waiting for MySQL...
services are ready!
Removing custom folder...
Linking custom folder...
Removing config folder...
Linking config folder...
Writing config file...
Fixing base perms...
chown: changing ownership of '/var/www/owncloud/custom': Operation not permitted
chown: changing ownership of '/var/www/owncloud/config': Operation not permitted

pod status:


NAME                        READY   STATUS             RESTARTS   AGE
owncloud-66966b7db6-5rxvm   0/1     CrashLoopBackOff   1          17s

storageclass.yaml

kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: owncloud-sc
provisioner: efs.csi.aws.com
parameters:
  provisioningMode: efs-ap
  fileSystemId: fs-xxxxxxxx
  directoryPerms: "777"
  gidRangeStart: "1000" # optional
  gidRangeEnd: "2000" # optional
  basePath: "/owncloud-efs" # optional
reclaimPolicy: Delete
volumeBindingMode: Immediate

pv-pvc.yaml

{{- if .Values.persistence.owncloud.nfs.enabled -}}
apiVersion: v1
kind: PersistentVolume
metadata:
  name: {{ include "owncloud.fullname" . }}
spec:
  volumeMode: Filesystem
  accessModes:
    - ReadWriteMany
  capacity:
    storage: 20Gi
  storageClassName: {{ .Values.persistence.storageClassName }}
  csi:
    driver: efs.csi.aws.com
    volumeHandle: fs-xxxxxxxxx
{{end}}
---
{{- if .Values.persistence.enabled -}}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: {{ include "owncloud.fullname" . }}
spec:
  accessModes:
    - ReadWriteMany
  resources:
    requests:
      storage: 20Gi
  storageClassName: {{ .Values.persistence.storageClassName }}

Linting issue

When I run helm lint I get the following error

helm lint
==> Linting .
[INFO] Chart.yaml: icon is recommended
[ERROR] templates/: template: owncloud/templates/pvc.yaml:1:14: executing "owncloud/templates/pvc.yaml" at <.Values.persistence.owncloud.nfs.enabled>: nil pointer evaluating interface {}.enabled

Error: 1 chart(s) linted, 1 chart(s) failed

of course I cannot install from the helm chart due to this

helm install owncloud helm-oc-classic
Error: template: owncloud/templates/pvc.yaml:1:14: executing "owncloud/templates/pvc.yaml" at <.Values.persistence.owncloud.nfs.enabled>: nil pointer evaluating interface {}.enabled

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.