yopass

by rlex

Helm chartv0.8.0App 11.15.1

Secure sharing for secrets, passwords and files

About this chart

yopass

Secure sharing for secrets, passwords and files

Source Code

Requirements

RepositoryNameVersion
https://charts.bitnami.com/bitnamimemcached6.5.2
https://charts.bitnami.com/bitnamiredis17.11.3

Usage

Yopass supports redis and memcached databases. Which one it uses is controlled by yopass.database value By default, it will be deployed with memcached database (managed by bitnami/memcached subchart) If you want to use redis, set redis.enabled to "true', memcached.enabled to "false" and yopass.database to 'redis" You can also use redis or memcached instance not managed by this chart by setting both redis.enabled and memcached.enabled to "false" and using yopass redisUrl / yopass.memcachedUrl to point to database of your choice You can also customize redis and memcached subcharts by using redis and memcached values provided by bitnami/redis and bitnami/memcached charts

Values

KeyTypeDefaultDescription
affinityobject{}affinity for scheduling pods
autoscaling.enabledboolfalse
autoscaling.maxReplicasint100
autoscaling.minReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
fullnameOverridestring""Overrides helm-generated chart fullname
image.pullPolicystring"IfNotPresent"Image pull policy
image.repositorystring"jhaals/yopass"Image repository
image.tagstring"11.15.1"Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]specifies pull secrets for image repository
ingress.annotationsobject{}additional annotations for ingress
ingress.classNamestring""specifies ingress class name (ie nginx)
ingress.enabledboolfalseenables ingress
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
memcached.architecturestring"standalone"Memcached architecture. Allowed values: standalone or high-availability
memcached.enabledbooltrueEnables memcached deployment with bitnami/memcached subchart
memcached.metrics.enabledboolfalseenable memcached-exporter sidecard
memcached.metrics.serviceMonitor.enabledboolfalseenable ServiceMonitor
memcached.persistence.accessModeslist["ReadWriteOnce"]Persistent Volume Access Mode
memcached.persistence.annotationsobject{}Persistent Volume Claim annotations
memcached.persistence.enabledboolfalseEnable persistence using PVC (Requires architecture: "high-availability")
memcached.persistence.sizestring"8Gi"PVC Storage Request for Memcached volume
memcached.persistence.storageClassstring""PVC Storage Class for Memcached volume
nameOverridestring""overrides chart name
nodeSelectorobject{}node selector for scheduling pods
podAnnotationsobject{}annotations for pod
podSecurityContextobject{}security context for pod
redis.architecturestring"standalone"Memcached architecture. Allowed values: standalone or high-availability
redis.auth.enabledboolfalseEnable password authentication. Disabled for now.
redis.enabledboolfalseEnables redis deployment with bitnami/redis subchart
redis.master.persistence.accessModeslist["ReadWriteOnce"]Persistent Volume Access Mode
redis.master.persistence.annotationsobject{}Persistent Volume Claim annotations
redis.master.persistence.enabledboolfalseEnable persistence using PVC (Requires architecture: "high-availability")
redis.master.persistence.sizestring"8Gi"PVC Storage Request for Memcached volume
redis.master.persistence.storageClassstring""PVC Storage Class for Memcached volume
redis.metrics.enabledboolfalseenable memcached-exporter sidecard
redis.metrics.serviceMonitor.enabledboolfalseenable ServiceMonitor
replicaCountint1Amount of replicas to run
resourcesobject{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}resource limits and requests
securityContextobject{}security context for pod
service.annotationsobject{}additional annotations for service
service.portint1337service port
service.typestring"ClusterIP"service type
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
tolerationslist[]tolerations for scheduling pods
yopass.databasestring"memcached"database backend, memcached or redis
yopass.forceOnetimeSecretsboolfalsereject non onetime secrets from being created
yopass.maxLengthint10000max length of secret
yopass.memcachedUrlstring"yopass-memcached:11211"memcached url. Default assumes default memcached settings
yopass.metrics.enabledboolfalseenables yopass metrics
yopass.metrics.serviceMonitor.enabledboolfalseenables yopass serviceMonitor. Requires metrics enabled
yopass.redisUrlstring"redis://yopass-redis-master:6379/0"redis url. Default assumes default redis settings

Upgrading

A major chart version change indicates that there is an incompatible breaking change needing manual actions.

Deploy yopass with OpenTenant

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