opencloud

by thelande

Helm chartv0.1.5App 3.1.0Verified publisher

Excellent file management and collaboration for public authorities, providers and business - or anyone who values ease of use and digital sovereignty.

About this chart

opencloud

Excellent file management and collaboration for public authorities, providers and business - or anyone who values ease of use and digital sovereignty.

Homepage: https://opencloud.eu/

Maintainers

NameEmailUrl
Tom Helanderhttps://github.com/thelande/charts

Source Code

Requirements

RepositoryNameVersion
oci://registry-1.docker.io/bitnamichartscommon2.x.x

Values

KeyTypeDefaultDescription
apiVersionslist[]Override Kubernetes API versions reported by .Capabilities
clusterDomainstring"cluster.local"Kubernetes cluster domain name
commonAnnotationsobject{}Annotations to add to all deployed objects
commonLabelsobject{}Labels to add to all deployed objects
diagnosticMode.argslist["infinity"]Args to override all containers in the chart release
diagnosticMode.commandlist["sleep"]Command to override all containers in the chart release
diagnosticMode.enabledboolfalseEnable diagnostic mode (all probes will be disabled and the command will be overridden)
fullnameOverridestring""String to fully override common.names.fullname
global.defaultStorageClassstring""Global default StorageClass for Persistent Volume(s)
global.imagePullSecretslist[]Global Docker registry secret names as an array
global.imageRegistrystring""Global Docker image registry
global.security.allowInsecureImagesboolfalseAllows skipping image verification
ingress.opencloud.annotationsobject{}Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. Use this parameter to set the required annotations for cert-manager, see ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
ingress.opencloud.apiVersionstring""Force Ingress API version (automatically detected if not set)
ingress.opencloud.enabledboolfalseEnable ingress record generation for opencloud
ingress.opencloud.extraHostslist[]An array with additional hostname(s) to be covered with the ingress record
ingress.opencloud.extraPathslist[]An array with additional arbitrary paths that may need to be added to the ingress under the main host
ingress.opencloud.extraRuleslist[]Additional rules to be covered with this ingress record ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
ingress.opencloud.extraTlslist[]TLS configuration for additional hostname(s) to be covered with this ingress record ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
ingress.opencloud.hostnamestring"opencloud.local"Default host for the ingress record
ingress.opencloud.ingressClassNamestring""IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster . ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
ingress.opencloud.labelsobject{}Additional labels for the Ingress resource.
ingress.opencloud.pathstring"/"Default path for the ingress record NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
ingress.opencloud.pathTypestring"ImplementationSpecific"Ingress path type
ingress.opencloud.secretslist[]Custom TLS certificates as secrets NOTE: 'key' and 'certificate' are expected in PEM format NOTE: 'name' should line up with a 'secretName' set further up
ingress.opencloud.selfSignedboolfalseCreate a TLS secret for this ingress record using self-signed certificates generated by Helm
ingress.opencloud.tlsboolfalseEnable TLS configuration for the host defined at ingress.hostname parameter TLS certificates will be retrieved from a TLS secret with name: {{- printf "%s-tls" .Values.ingress.hostname }} You can: - Use the ingress.secrets parameter to create this TLS secret - Rely on cert-manager to create it by setting the corresponding annotations - Rely on Helm to create self-signed certificates by setting ingress.selfSigned=true
kubeVersionstring""Override Kubernetes version
metrics.enabledboolfalse
nameOverridestring""String to partially override common.names.name
namespaceOverridestring""String to fully override common.names.namespace
oauth.autoprovisionAccountsbooltrueWhen set to true, OpenCloud will create a new user account in the LDAP Database for every user who logs in via OpenID Connect for the first time. Enabling this requires access to a writable LDAP server. For smaller setups this can be the built-in LDAP server provided by the idm service. If set to false all users logging in must already be existing in the LDAP server. (The mapping between the OIDC and LDAP users happens based on the aforementioned userOIDCClaim and userCS3Claim settings.
oauth.baseUrlstring""The base URL of the OAuth host.
oauth.client.existingSecretstring""Existing secret containing the client ID and secret (keys should be clientID and clientSecret)
oauth.client.idstring""The client id of your configured client in your provider
oauth.client.secretstring""The client secret of your configured client in your provider
oauth.enabledboolfalseEnables authentication via OAuth
oauth.proxyConfigobject{}The proxy.yaml configuration file.
oauth.realmstring""The OAuth realm (Keycloak).
oauth.redirectUristring""The redirect URI
oauth.roleClaimstring"roles"
oauth.userCS3Claimstring"username"
oauth.userOIDCClaimstring"preferred_username"Defines the OIDC claim that OpenCloud uses to uniquely identify a user. It is matched against the OpenCloud user attribute defined in userCS3Claim.
opencloud.affinityobject{}Affinity for opencloud pods assignment ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity NOTE: opencloud.podAffinityPreset, opencloud.podAntiAffinityPreset, and opencloud.nodeAffinityPreset will be ignored when it's set
opencloud.annotationsobject{}Annotations for opencloud ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
opencloud.argslist[]Override default opencloud container args (useful when using custom images)
opencloud.automountServiceAccountTokenboolfalseMount Service Account token in opencloud pods
opencloud.commandlist`["/bin/sh","-c","opencloud init
opencloud.containerPortslist[{"containerPort":9200,"name":"http","protocol":"TCP"},{"containerPort":9152,"name":"reva-gateway","protocol":"TCP"},{"containerPort":9233,"name":"registry","protocol":"TCP"}]List of ports for opencloud containers
opencloud.containerSecurityContext.allowPrivilegeEscalationboolfalseSet allowPrivilegeEscalation in opencloud container' Security Context
opencloud.containerSecurityContext.capabilitiesobject{"drop":["ALL"]}List of capabilities to be dropped in opencloud container
opencloud.containerSecurityContext.enabledbooltrueEnabled opencloud container' Security Context
opencloud.containerSecurityContext.privilegedboolfalseSet privileged in opencloud container' Security Context
opencloud.containerSecurityContext.readOnlyRootFilesystembooltrueSet readOnlyRootFilesystem in opencloud container' Security Context
opencloud.containerSecurityContext.runAsGroupint1000
opencloud.containerSecurityContext.runAsNonRootbooltrueSet runAsNonRoot in opencloud container' Security Context
opencloud.containerSecurityContext.runAsUserint1000Set runAsUser in opencloud container' Security Context
opencloud.containerSecurityContext.seLinuxOptionsobject{}Set SELinux options in opencloud container
opencloud.containerSecurityContext.seccompProfileobject{"type":"RuntimeDefault"}Set seccomp profile in opencloud container
opencloud.customLivenessProbeobject{}Custom livenessProbe that overrides the default one
opencloud.customReadinessProbeobject{}Custom readinessProbe that overrides the default one
opencloud.customStartupProbeobject{}Custom startupProbe that overrides the default one
opencloud.externalUrlstring"http://opencloud.local"
opencloud.extraEnvVarslist[]Array with extra environment variables to add to opencloud containers
opencloud.extraEnvVarsCMstring""Name of existing ConfigMap containing extra env vars for opencloud containers
opencloud.extraEnvVarsSecretstring""Name of existing Secret containing extra env vars for opencloud containers
opencloud.extraVolumeMountslist[]Optionally specify extra list of additional volumeMounts for the opencloud containers
opencloud.extraVolumeslist[]Optionally specify extra list of additional volumes for the opencloud pods
opencloud.hostAliaseslist[]opencloud pods host aliases ref: https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
opencloud.image.pullPolicystring"IfNotPresent"The image pull policy ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
opencloud.image.pullSecretslist[]Image pull secrets Secrets must be manually created in the namespace. ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
opencloud.image.registrystring"docker.io"opencloud image registry
opencloud.image.repositorystring"opencloudeu/opencloud-rolling"opencloud image repository
opencloud.image.tagstring"3.1.0"opencloud image tag
opencloud.initContainerslist[]Add additional init containers to the opencloud pods ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
opencloud.livenessProbe.enabledbooltrueEnable livenessProbe on opencloud containers
opencloud.livenessProbe.failureThresholdint3Failure threshold for livenessProbe
opencloud.livenessProbe.httpGet.pathstring"/"
opencloud.livenessProbe.httpGet.portstring"http"
opencloud.livenessProbe.initialDelaySecondsint0Initial delay seconds for livenessProbe
opencloud.livenessProbe.periodSecondsint60Period seconds for livenessProbe
opencloud.livenessProbe.successThresholdint1Success threshold for livenessProbe
opencloud.livenessProbe.timeoutSecondsint1Timeout seconds for livenessProbe
opencloud.logLevelstring"info"
opencloud.logPrettyboolfalse
opencloud.nodeAffinityPreset.keystring""Node label key to match. Ignored if opencloud.affinity is set
opencloud.nodeAffinityPreset.typestring""Node affinity preset type. Ignored if opencloud.affinity is set. Allowed values: soft or hard
opencloud.nodeAffinityPreset.valueslist[]Node label values to match. Ignored if opencloud.affinity is set
opencloud.nodeSelectorobject{}Node labels for opencloud pods assignment ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
opencloud.persistence.enabledboolfalseEnable persistence using Persistent Volume Claims
opencloud.podAffinityPresetstring""Pod affinity preset. Ignored if opencloud.affinity is set. Allowed values: soft or hard ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
opencloud.podAnnotationsobject{}Annotations for opencloud pods ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
opencloud.podAntiAffinityPresetstring"soft"Pod anti-affinity preset. Ignored if opencloud.affinity is set. Allowed values: soft or hard ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
opencloud.podLabelsobject{}Extra labels for opencloud pods ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
opencloud.podManagementPolicystring"OrderedReady"Pod management policy for opencloud statefulset ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
opencloud.podSecurityContext.enabledbooltrueEnable opencloud pods' Security Context
opencloud.podSecurityContext.fsGroupint1000Set fsGroup in opencloud pods' Security Context
opencloud.podSecurityContext.fsGroupChangePolicystring"Always"Set filesystem group change policy for opencloud pods
opencloud.podSecurityContext.supplementalGroupslist[]Set filesystem extra groups for opencloud pods
opencloud.podSecurityContext.sysctlslist[]settings using

Deploy opencloud with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has opencloud on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartopencloud is pinned at v0.1.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply