vnc-biz / owncloud Goto Github PK
View Code? Open in Web Editor NEWOwncloud Helm Chart
Owncloud Helm Chart
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?
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.
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 }}
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.