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
| Name | Url | |
|---|---|---|
| Tom Helander | https://github.com/thelande/charts |
Source Code
- https://github.com/thelande/charts/tree/main/charts/opencloud
- https://github.com/opencloud-eu/opencloud
Requirements
| Repository | Name | Version |
|---|---|---|
| oci://registry-1.docker.io/bitnamicharts | common | 2.x.x |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| apiVersions | list | [] | Override Kubernetes API versions reported by .Capabilities |
| clusterDomain | string | "cluster.local" | Kubernetes cluster domain name |
| commonAnnotations | object | {} | Annotations to add to all deployed objects |
| commonLabels | object | {} | Labels to add to all deployed objects |
| diagnosticMode.args | list | ["infinity"] | Args to override all containers in the chart release |
| diagnosticMode.command | list | ["sleep"] | Command to override all containers in the chart release |
| diagnosticMode.enabled | bool | false | Enable diagnostic mode (all probes will be disabled and the command will be overridden) |
| fullnameOverride | string | "" | String to fully override common.names.fullname |
| global.defaultStorageClass | string | "" | Global default StorageClass for Persistent Volume(s) |
| global.imagePullSecrets | list | [] | Global Docker registry secret names as an array |
| global.imageRegistry | string | "" | Global Docker image registry |
| global.security.allowInsecureImages | bool | false | Allows skipping image verification |
| ingress.opencloud.annotations | object | {} | 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.apiVersion | string | "" | Force Ingress API version (automatically detected if not set) |
| ingress.opencloud.enabled | bool | false | Enable ingress record generation for opencloud |
| ingress.opencloud.extraHosts | list | [] | An array with additional hostname(s) to be covered with the ingress record |
| ingress.opencloud.extraPaths | list | [] | An array with additional arbitrary paths that may need to be added to the ingress under the main host |
| ingress.opencloud.extraRules | list | [] | Additional rules to be covered with this ingress record ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules |
| ingress.opencloud.extraTls | list | [] | 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.hostname | string | "opencloud.local" | Default host for the ingress record |
| ingress.opencloud.ingressClassName | string | "" | 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.labels | object | {} | Additional labels for the Ingress resource. |
| ingress.opencloud.path | string | "/" | 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.pathType | string | "ImplementationSpecific" | Ingress path type |
| ingress.opencloud.secrets | list | [] | 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.selfSigned | bool | false | Create a TLS secret for this ingress record using self-signed certificates generated by Helm |
| ingress.opencloud.tls | bool | false | Enable 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 |
| kubeVersion | string | "" | Override Kubernetes version |
| metrics.enabled | bool | false | |
| nameOverride | string | "" | String to partially override common.names.name |
| namespaceOverride | string | "" | String to fully override common.names.namespace |
| oauth.autoprovisionAccounts | bool | true | When 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.baseUrl | string | "" | The base URL of the OAuth host. |
| oauth.client.existingSecret | string | "" | Existing secret containing the client ID and secret (keys should be clientID and clientSecret) |
| oauth.client.id | string | "" | The client id of your configured client in your provider |
| oauth.client.secret | string | "" | The client secret of your configured client in your provider |
| oauth.enabled | bool | false | Enables authentication via OAuth |
| oauth.proxyConfig | object | {} | The proxy.yaml configuration file. |
| oauth.realm | string | "" | The OAuth realm (Keycloak). |
| oauth.redirectUri | string | "" | The redirect URI |
| oauth.roleClaim | string | "roles" | |
| oauth.userCS3Claim | string | "username" | |
| oauth.userOIDCClaim | string | "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.affinity | object | {} | 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.annotations | object | {} | Annotations for opencloud ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ |
| opencloud.args | list | [] | Override default opencloud container args (useful when using custom images) |
| opencloud.automountServiceAccountToken | bool | false | Mount Service Account token in opencloud pods |
| opencloud.command | list | `["/bin/sh","-c","opencloud init | |
| opencloud.containerPorts | list | [{"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.allowPrivilegeEscalation | bool | false | Set allowPrivilegeEscalation in opencloud container' Security Context |
| opencloud.containerSecurityContext.capabilities | object | {"drop":["ALL"]} | List of capabilities to be dropped in opencloud container |
| opencloud.containerSecurityContext.enabled | bool | true | Enabled opencloud container' Security Context |
| opencloud.containerSecurityContext.privileged | bool | false | Set privileged in opencloud container' Security Context |
| opencloud.containerSecurityContext.readOnlyRootFilesystem | bool | true | Set readOnlyRootFilesystem in opencloud container' Security Context |
| opencloud.containerSecurityContext.runAsGroup | int | 1000 | |
| opencloud.containerSecurityContext.runAsNonRoot | bool | true | Set runAsNonRoot in opencloud container' Security Context |
| opencloud.containerSecurityContext.runAsUser | int | 1000 | Set runAsUser in opencloud container' Security Context |
| opencloud.containerSecurityContext.seLinuxOptions | object | {} | Set SELinux options in opencloud container |
| opencloud.containerSecurityContext.seccompProfile | object | {"type":"RuntimeDefault"} | Set seccomp profile in opencloud container |
| opencloud.customLivenessProbe | object | {} | Custom livenessProbe that overrides the default one |
| opencloud.customReadinessProbe | object | {} | Custom readinessProbe that overrides the default one |
| opencloud.customStartupProbe | object | {} | Custom startupProbe that overrides the default one |
| opencloud.externalUrl | string | "http://opencloud.local" | |
| opencloud.extraEnvVars | list | [] | Array with extra environment variables to add to opencloud containers |
| opencloud.extraEnvVarsCM | string | "" | Name of existing ConfigMap containing extra env vars for opencloud containers |
| opencloud.extraEnvVarsSecret | string | "" | Name of existing Secret containing extra env vars for opencloud containers |
| opencloud.extraVolumeMounts | list | [] | Optionally specify extra list of additional volumeMounts for the opencloud containers |
| opencloud.extraVolumes | list | [] | Optionally specify extra list of additional volumes for the opencloud pods |
| opencloud.hostAliases | list | [] | opencloud pods host aliases ref: https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ |
| opencloud.image.pullPolicy | string | "IfNotPresent" | The image pull policy ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images |
| opencloud.image.pullSecrets | list | [] | 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.registry | string | "docker.io" | opencloud image registry |
| opencloud.image.repository | string | "opencloudeu/opencloud-rolling" | opencloud image repository |
| opencloud.image.tag | string | "3.1.0" | opencloud image tag |
| opencloud.initContainers | list | [] | Add additional init containers to the opencloud pods ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ |
| opencloud.livenessProbe.enabled | bool | true | Enable livenessProbe on opencloud containers |
| opencloud.livenessProbe.failureThreshold | int | 3 | Failure threshold for livenessProbe |
| opencloud.livenessProbe.httpGet.path | string | "/" | |
| opencloud.livenessProbe.httpGet.port | string | "http" | |
| opencloud.livenessProbe.initialDelaySeconds | int | 0 | Initial delay seconds for livenessProbe |
| opencloud.livenessProbe.periodSeconds | int | 60 | Period seconds for livenessProbe |
| opencloud.livenessProbe.successThreshold | int | 1 | Success threshold for livenessProbe |
| opencloud.livenessProbe.timeoutSeconds | int | 1 | Timeout seconds for livenessProbe |
| opencloud.logLevel | string | "info" | |
| opencloud.logPretty | bool | false | |
| opencloud.nodeAffinityPreset.key | string | "" | Node label key to match. Ignored if opencloud.affinity is set |
| opencloud.nodeAffinityPreset.type | string | "" | Node affinity preset type. Ignored if opencloud.affinity is set. Allowed values: soft or hard |
| opencloud.nodeAffinityPreset.values | list | [] | Node label values to match. Ignored if opencloud.affinity is set |
| opencloud.nodeSelector | object | {} | Node labels for opencloud pods assignment ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/ |
| opencloud.persistence.enabled | bool | false | Enable persistence using Persistent Volume Claims |
| opencloud.podAffinityPreset | string | "" | 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.podAnnotations | object | {} | Annotations for opencloud pods ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ |
| opencloud.podAntiAffinityPreset | string | "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.podLabels | object | {} | Extra labels for opencloud pods ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| opencloud.podManagementPolicy | string | "OrderedReady" | Pod management policy for opencloud statefulset ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies |
| opencloud.podSecurityContext.enabled | bool | true | Enable opencloud pods' Security Context |
| opencloud.podSecurityContext.fsGroup | int | 1000 | Set fsGroup in opencloud pods' Security Context |
| opencloud.podSecurityContext.fsGroupChangePolicy | string | "Always" | Set filesystem group change policy for opencloud pods |
| opencloud.podSecurityContext.supplementalGroups | list | [] | Set filesystem extra groups for opencloud pods |
| opencloud.podSecurityContext.sysctls | list | [] | 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartopencloud is pinned at v0.1.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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