s3-proxy

by RADAR-Base

Helm chartv0.6.0App 2.3.0Verified publisher

A Helm chart for S3 Proxy. It uses https://hub.docker.com/r/andrewgaul/s3proxy to proxy S3 API requests to any supported cloud provider. For more examples see Find some example configurations at https://github.com/gaul/s3proxy/wiki/Storage-backend-examples.

About this chart

s3-proxy

A Helm chart for S3 Proxy. It uses https://hub.docker.com/r/andrewgaul/s3proxy to proxy S3 API requests to any supported cloud provider. For more examples see Find some example configurations at https://github.com/gaul/s3proxy/wiki/Storage-backend-examples.

Homepage: https://radar-base.org

Maintainers

NameEmailUrl
Pim van Nierop[email protected]https://www.thehyve.nl/experts/pim-van-nierop

Source Code

Prerequisites

  • Kubernetes 1.28+
  • Kubectl 1.28+
  • Helm 3.1.0+

Requirements

RepositoryNameVersion
https://radar-base.github.io/radar-helm-chartscommon2.x.x

Values

KeyTypeDefaultDescription
replicaCountint1Number of s3-proxy replicas to deploy
image.registrystring"docker.io"Image registry
image.repositorystring"andrewgaul/s3proxy"Image repository
image.tagstring"sha-85b0f98"Image tag (immutable tags are recommended) Overrides the image tag whose default is the chart appVersion.
image.digeststring""Image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
image.pullPolicystring"IfNotPresent"Image pull policy
image.pullSecretslist[]Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. e.g: pullSecrets: - myRegistryKeySecretName
nameOverridestring""String to partially override s3-proxy.fullname template with a string (will prepend the release name)
fullnameOverridestring""String to fully override s3-proxy.fullname template with a string
podSecurityContextobject{}Configure s3-proxy pods' Security Context
securityContextobject{}Configure s3-proxy containers' Security Context
service.typestring"ClusterIP"Kubernetes Service type
service.portint80s3-proxy port
resources.requestsobject{"cpu":"100m","memory":"128Mi"}CPU/Memory resource requests
nodeSelectorobject{}Node labels for pod assignment
tolerationslist[]Toleration labels for pod assignment
affinityobject{}Affinity labels for pod assignment
extraEnvVarslist[]Extra environment variables
customLivenessProbeobject{}Custom livenessProbe that overrides the default one
livenessProbe.enabledbooltrueEnable livenessProbe
livenessProbe.initialDelaySecondsint5Initial delay seconds for livenessProbe
livenessProbe.periodSecondsint30Period seconds for livenessProbe
livenessProbe.timeoutSecondsint3Timeout seconds for livenessProbe
livenessProbe.successThresholdint1Success threshold for livenessProbe
livenessProbe.failureThresholdint3Failure threshold for livenessProbe
customReadinessProbeobject{}Custom readinessProbe that overrides the default one
readinessProbe.enabledbooltrueEnable readinessProbe
readinessProbe.initialDelaySecondsint5Initial delay seconds for readinessProbe
readinessProbe.periodSecondsint30Period seconds for readinessProbe
readinessProbe.timeoutSecondsint3Timeout seconds for readinessProbe
readinessProbe.successThresholdint1Success threshold for readinessProbe
readinessProbe.failureThresholdint3Failure threshold for readinessProbe
customStartupProbeobject{}Custom startupProbe that overrides the default one
startupProbe.enabledbooltrueEnable startupProbe
startupProbe.initialDelaySecondsint5Initial delay seconds for startupProbe
startupProbe.periodSecondsint10Period seconds for startupProbe
startupProbe.timeoutSecondsint10Timeout seconds for startupProbe
startupProbe.successThresholdint1Success threshold for startupProbe
startupProbe.failureThresholdint30Failure threshold for startupProbe
networkpolicyobjectcheck values.yamlNetwork policy defines who can access this application and who this applications has access to
s3.identitystringnilCredentials used to access this proxy
s3.credentialstring""Credentials used to access this proxy
targetobjectCheck belowWhere requests should be proxied to
target.providerstringnilTarget provider
target.endpointstringnilTarget endpoint
target.identitystringnilTarget identity
target.credentialstring""Target credential
target.apistringnilTarget Swift / Keystone API
target.regionstringnilSingular region
target.regionsstringnilMultiple regions (keystone)
target.filesystem.basedirstring"/data"Base directory for filesystem provider
target.azureblob.authstring"azureKey"Authentication method for Azure
target.keystone.versionstringnilKeystone (Swift) version
target.keystone.credentialTypestringnilKeystone (Swift) credential type
target.keystone.scopestringnilKeystone (Swift) scope
target.keystone.projectDomainNamestringnilKeystone (Swift) project domain name

Deploy s3-proxy with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has s3-proxy 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 charts3-proxy is pinned at v0.6.0 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