Skip to content

Use S3 or DigitalOcean Object Storage

Scott Miller edited this page Nov 11, 2021 · 6 revisions

Connect an S3 compatible object store

Helpy on K8s requires you to configure an external filestore to capture customer attachments and store images. This means using Amazon S3 or another compatible provider like DigitalOcean Spaces.

Configure custom values

In order to connect the cluster to the new object store, you will need to provide connection values to the values.yaml file. If you have not already, this is a good time to make a copy of this file which you will use to customize your cluster.

Once you have your copied file, enable remote file storage with:

storage:
  remote: true

Next, add the connection information in the Storage section:

# Storage
# Helpy uses an S3 based storage for user files, ticket attachments and images.
# If you have enabled minio for this, the supplied key and secret will be used
# for the minio server.
#
storage:
  remote: true
  key: secret_key
  secret: secret
  region: us-east-1
  host: host
  endPoint: endpoint
  pathStyle: false
  bucketName: bucket_name

Upgrade the cluster with your new values file

When you are ready, upgrade the cluster with the new settings.

helm upgrade helpy helpyio/helpy -n helpy -f path/to/your.values.yaml

A note about Minio

You may see Minio referenceed in the values file. This currently does not work correctly so treat it as experimental and if you get it working, please submit a PR.