Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.86 KB

README.md

File metadata and controls

61 lines (43 loc) · 1.86 KB

Helm chart for s3gw

This Helm chart will install s3gw.io (docs, code) and is based from the official Helm chart (code.

How to use

  • With Helm CLI (see README for requirements)
# install with default parameters
helm upgrade --install s3gw devpro/s3gw --create-namespace \
  --namespace s3gw-system

# watches the installation and checks all pods are running after some time
kubectl get pod -n s3gw-system --watch

# if needed, deletes the chart
helm uninstall s3gw -n s3gw-system
kubectl delete ns s3gw-system

How to start once the application is running

👷 TODO

How to create or update the chart

# adds helm chart repository
helm repo add s3gw https://aquarist-labs.github.io/s3gw-charts

# searches for the latest version
helm search repo -l s3gw

# manual: update version number in Chart.yaml

# updates Chart.lock
helm dependency update

# checks the Kubernetes objects generated from the chart
helm template s3gw . -f values.yaml \
  --namespace s3gw-system > temp.yaml

How to deploy manually from the sources

Sample with cert-manager, Traefic & Longhorn

# retrieves public IP
NGINX_PUBLIC_IP=`kubectl get service -n ingress-nginx ingress-nginx-controller --output jsonpath='{.status.loadBalancer.ingress[0].ip}'`

# applies the manifest (add "--debug > output.yaml" in case of issue)
helm upgrade --install s3gw . -f values.yaml --create-namespace \
  --set s3gw.ui.publicDomain=s3gw-ui.${NGINX_PUBLIC_IP}.sslip.io \
  --set s3gw.publicDomain=s3gw.${NGINX_PUBLIC_IP}.sslip.io \
  --set s3gw.storageClass.name=longhorn \
  --set s3gw.tlsIssuer=letsencrypt-prod
  --namespace s3gw-system