onedrive

by funkypenguin

Helm chartv2.4.3App 2.4.20Verified publisher

A free Microsoft OneDrive Client which supports OneDrive Personal, OneDrive for Business, OneDrive for Office365, and SharePoint

About this chart

onedrive

A free Microsoft OneDrive Client which supports OneDrive Personal, OneDrive for Business, OneDrive for Office365, and SharePoint

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Source Code

Requirements

Kubernetes: >=1.16.0-0

Dependencies

RepositoryNameVersion
https://library-charts.k8s-at-home.comcommon4.5.2

TL;DR

helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update
helm install onedrive k8s-at-home/onedrive

Installing the Chart

To install the chart with the release name onedrive

helm install onedrive k8s-at-home/onedrive

Uninstalling the Chart

To uninstall the onedrive deployment

helm uninstall onedrive

The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install onedrive \
  --set env.TZ="America/New York" \
    k8s-at-home/onedrive

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install onedrive k8s-at-home/onedrive -f values.yaml

Custom configuration

To use this chart you will need to provide an authentication response from Microsoft for the client to use. This is provided as an environment variable like the claim token is for the plex chart.

In order to generate an authentication response value you must do the following:

  1. Visit the following URL: Authenticate for OneDrive
  2. Follow the prompts to login and get your token URL.
  3. Copy the URL when you arrive at the blank page (should look like this: https://login.microsoftonline.com/common/oauth2/nativeclient?code=<redacted>) and provide it to the chart through the ONEDRIVE_AUTHRESPONSE environment variable, preferrably secured through some secret.

Values

Important: When deploying an application Helm chart you can add more values from our common library chart here

KeyTypeDefaultDescription
configstring`"# Configuration for OneDrive Linux Client\n# This file contains the list of supported configuration fields\n# with their default values.\n# All values need to be enclosed in quotes\n# When changing a config option below, remove the '#' from the start of the line\n# For explanations of all config options below see docs/USAGE.md or the man page.\n#\n# sync_dir = "/onedrive/data"\n# skip_file = "~*.~*
envobjectSee below and commented variables in values.yamlenvironment variables.
env.ONEDRIVE_AUTHRESPONSEstring""Set the One Drive Authentication Response
env.ONEDRIVE_GIDint1000Set the One Drive Group ID
env.ONEDRIVE_UIDint1000Set the OneDrive User ID
env.TZstring"UTC"Set the container timezone
image.pullPolicystring"IfNotPresent"image pull policy
image.repositorystring"driveone/onedrive"image repository
image.tagstringnilimage tag
persistenceobjectSee values.yaml for full listingConfigure persistence settings for the chart under this key.
persistence.configobject{"accessMode":"ReadWriteOnce","enabled":true,"mountPath":"/onedrive/conf"}OneDrive config storage
persistence.config.enabledbooltrueIf config storage should be enabled
persistence.dataobject{"accessMode":"ReadWriteOnce","enabled":true,"mountPath":"/onedrive/data","readOnly":false,"retain":false,"size":"5Gi","type":"pvc"}OneDrive data storage
persistence.data.enabledbooltrueIf data storage should be enabled

Changelog

Version 2.4.3

Added

N/A

Changed

  • Upgraded common chart dependency to version 4.5.2

Fixed

N/A

Older versions

A historical overview of changes can be found on ArtifactHUB

Support


Autogenerated from chart metadata using helm-docs v0.1.1

Deploy onedrive with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has onedrive 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 chartonedrive is pinned at v2.4.3 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