sftp-server
by sj14
Helm chartv0.8.1Apache-2.0Verified publisher
A Helm chart for https://github.com/atmoz/sftp
About this chart
sftp-server
A Helm chart for https://github.com/atmoz/sftp
Source Code
Installation
helm repo add sj14 https://sj14.github.io/helm-charts
helm upgrade sftp --install sj14/sftp-server
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| extraContainers | list | [] | Additional containers of the pod. |
| extraInitContainers | list | [] | Additional Init containers of the pod. |
| extraManifests | list | [] | Extra manifests to deploy as an array |
| extraVolumeMounts | list | [] | Additional volume mounts of the pod. |
| extraVolumes | list | [] | Additional volumes of the pod. |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "ghcr.io/atmoz/sftp/alpine" | |
| image.tag | string | "latest" | |
| imagePullSecrets | list | [] | |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| persistentVolume.accessModes | list | ["ReadWriteOnce"] | Must match those of existing PV or dynamic provisioner (Kubernetes docs) |
| persistentVolume.annotations | object | {} | |
| persistentVolume.enabled | bool | false | |
| persistentVolume.existingClaim | string | "" | If defined, PVC must be created manually before volume will be bound |
| persistentVolume.size | string | "8Gi" | |
| persistentVolume.storageClass | string | nil | If defined, storageClassName: If set to "-", storageClassName: "", which disables dynamic provisioning If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner. (gp2 on AWS, standard on GKE, AWS & OpenStack) |
| persistentVolume.subPath | string | "" | Subdirectory of SFTP server data Persistent Volume to mount Useful if the volume's root directory is not empty |
| persistentVolume.volumeBindingMode | string | nil | If defined, volumeBindingMode: If undefined (the default) or set to null, no volumeBindingMode spec is set, choosing the default mode. |
| podAnnotations | object | {} | |
| podSecurityContext | object | {} | |
| probes.liveness | bool | true | Enable liveness probe |
| probes.readiness | bool | true | Enable readiness probe |
| probes.startup | bool | true | Enable startup probe |
| replicaCount | int | 1 | |
| resources | object | {} | |
| securityContext | object | {} | |
| service.annotations | object | {} | Annotations to add to the service |
| service.externalTraffic.enabled | bool | false | externalTrafficPolicy (Kubernetes docs) |
| service.externalTraffic.policy | string | "Local" | |
| service.loadBalancerIP | int | 0 | When using the LoadBalancer type. |
| service.nodePort | int | 0 | When using the NodePort type, you can specify a fixed port (Kubernetes docs) |
| service.port | int | 22 | |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.create | bool | false | Specifies whether a service account should be created |
| serviceAccount.name | string | "" | If not set and create is true, a name is generated using the fullname template |
| sftp.hostKeys.ed25519 | object | {"key":"","secretKeyRef":""} | private ED25519 host key. Choose between adding the key itself or reference a already existing key. |
| sftp.hostKeys.ed25519.key | string | "" | The plain key |
| sftp.hostKeys.ed25519.secretKeyRef | string | "" | Reference to and existing secret with an "ssh_host_ed25519_key" data key and base64 encrypted value. |
| sftp.hostKeys.rsa | object | {"key":"","secretKeyRef":""} | private RSA host key. Choose between adding the key itself or reference a already existing key. |
| sftp.hostKeys.rsa.key | string | "" | The plain key |
| sftp.hostKeys.rsa.secretKeyRef | string | "" | Reference to and existing secret with an "ssh_host_rsa_key" data key and base64 encrypted value. |
| sftp.usersSecret | string | "" | Reference to and existing secret that provides users' configuration. If present takes precedence over .Values.sftp.users configuration, whose schema is expected to use within a users.conf key |
| sftp.users[0].dirs[0] | string | "upload" | |
| sftp.users[0].gid | string | "" | |
| sftp.users[0].name | string | "demo" | |
| sftp.users[0].pass | string | "demo" | |
| sftp.users[0].passEncrypted | bool | false | password is encrypted (doc) |
| sftp.users[0].pubKeys | list | [] | public user keys (doc) |
| sftp.users[0].uid | string | "" | |
| tolerations | list | [] | |
| updateStrategy | object | {"type":"RollingUpdate"} | Define strategy update of the deployment (Kubernetes docs) |
Deploy sftp-server with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has sftp-server 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 chartsftp-server is pinned at v0.8.1 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