s3-proxy
by RADAR-Base
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
| Name | Url | |
|---|---|---|
| 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
| Repository | Name | Version |
|---|---|---|
| https://radar-base.github.io/radar-helm-charts | common | 2.x.x |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| replicaCount | int | 1 | Number of s3-proxy replicas to deploy |
| image.registry | string | "docker.io" | Image registry |
| image.repository | string | "andrewgaul/s3proxy" | Image repository |
| image.tag | string | "sha-85b0f98" | Image tag (immutable tags are recommended) Overrides the image tag whose default is the chart appVersion. |
| image.digest | string | "" | Image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy |
| image.pullSecrets | list | [] | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. e.g: pullSecrets: - myRegistryKeySecretName |
| nameOverride | string | "" | String to partially override s3-proxy.fullname template with a string (will prepend the release name) |
| fullnameOverride | string | "" | String to fully override s3-proxy.fullname template with a string |
| podSecurityContext | object | {} | Configure s3-proxy pods' Security Context |
| securityContext | object | {} | Configure s3-proxy containers' Security Context |
| service.type | string | "ClusterIP" | Kubernetes Service type |
| service.port | int | 80 | s3-proxy port |
| resources.requests | object | {"cpu":"100m","memory":"128Mi"} | CPU/Memory resource requests |
| nodeSelector | object | {} | Node labels for pod assignment |
| tolerations | list | [] | Toleration labels for pod assignment |
| affinity | object | {} | Affinity labels for pod assignment |
| extraEnvVars | list | [] | Extra environment variables |
| customLivenessProbe | object | {} | Custom livenessProbe that overrides the default one |
| livenessProbe.enabled | bool | true | Enable livenessProbe |
| livenessProbe.initialDelaySeconds | int | 5 | Initial delay seconds for livenessProbe |
| livenessProbe.periodSeconds | int | 30 | Period seconds for livenessProbe |
| livenessProbe.timeoutSeconds | int | 3 | Timeout seconds for livenessProbe |
| livenessProbe.successThreshold | int | 1 | Success threshold for livenessProbe |
| livenessProbe.failureThreshold | int | 3 | Failure threshold for livenessProbe |
| customReadinessProbe | object | {} | Custom readinessProbe that overrides the default one |
| readinessProbe.enabled | bool | true | Enable readinessProbe |
| readinessProbe.initialDelaySeconds | int | 5 | Initial delay seconds for readinessProbe |
| readinessProbe.periodSeconds | int | 30 | Period seconds for readinessProbe |
| readinessProbe.timeoutSeconds | int | 3 | Timeout seconds for readinessProbe |
| readinessProbe.successThreshold | int | 1 | Success threshold for readinessProbe |
| readinessProbe.failureThreshold | int | 3 | Failure threshold for readinessProbe |
| customStartupProbe | object | {} | Custom startupProbe that overrides the default one |
| startupProbe.enabled | bool | true | Enable startupProbe |
| startupProbe.initialDelaySeconds | int | 5 | Initial delay seconds for startupProbe |
| startupProbe.periodSeconds | int | 10 | Period seconds for startupProbe |
| startupProbe.timeoutSeconds | int | 10 | Timeout seconds for startupProbe |
| startupProbe.successThreshold | int | 1 | Success threshold for startupProbe |
| startupProbe.failureThreshold | int | 30 | Failure threshold for startupProbe |
| networkpolicy | object | check values.yaml | Network policy defines who can access this application and who this applications has access to |
| s3.identity | string | nil | Credentials used to access this proxy |
| s3.credential | string | "" | Credentials used to access this proxy |
| target | object | Check below | Where requests should be proxied to |
| target.provider | string | nil | Target provider |
| target.endpoint | string | nil | Target endpoint |
| target.identity | string | nil | Target identity |
| target.credential | string | "" | Target credential |
| target.api | string | nil | Target Swift / Keystone API |
| target.region | string | nil | Singular region |
| target.regions | string | nil | Multiple regions (keystone) |
| target.filesystem.basedir | string | "/data" | Base directory for filesystem provider |
| target.azureblob.auth | string | "azureKey" | Authentication method for Azure |
| target.keystone.version | string | nil | Keystone (Swift) version |
| target.keystone.credentialType | string | nil | Keystone (Swift) credential type |
| target.keystone.scope | string | nil | Keystone (Swift) scope |
| target.keystone.projectDomainName | string | nil | Keystone (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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the charts3-proxy is pinned at v0.6.0 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