mirror of
https://github.com/helm/charts.git
synced 2026-08-20 12:57:55 +00:00
* [add] deploymentStrategy on HackMD chart Signed-off-by: Cédric Menassa <cedric.menassa@gmail.com> * [rem] trailing space Signed-off-by: Cédric Menassa <cedric.menassa@gmail.com>
89 lines
2.2 KiB
YAML
89 lines
2.2 KiB
YAML
# Default values for hackmd.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
replicaCount: 1
|
|
|
|
deploymentStrategy: RollingUpdate
|
|
|
|
image:
|
|
repository: hackmdio/hackmd
|
|
tag: 1.3.0-alpine
|
|
pullPolicy: IfNotPresent
|
|
|
|
service:
|
|
name: hackmd
|
|
type: ClusterIP
|
|
port: 3000
|
|
|
|
ingress:
|
|
enabled: false
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
path: /
|
|
hosts:
|
|
- chart-example.local
|
|
tls: []
|
|
# - secretName: chart-example-tls
|
|
# hosts:
|
|
# - chart-example.local
|
|
|
|
resources: {}
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
|
|
persistence:
|
|
enabled: true
|
|
## hackmd data Persistent Volume access modes
|
|
## Must match those of existing PV or dynamic provisioner
|
|
## Ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
|
##
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
annotations: {}
|
|
existingClaim: ""
|
|
size: 2Gi
|
|
## A manually managed Persistent Volume and Claim
|
|
## Requires persistence.enabled: true
|
|
## If defined, PVC must be created manually before volume will be bound
|
|
# existingClaim:
|
|
|
|
## database data Persistent Volume Storage Class
|
|
## If defined, storageClassName: <storageClass>
|
|
## 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)
|
|
##
|
|
# storageClass: "-"
|
|
|
|
podAnnotations: {}
|
|
|
|
extraVars: []
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
## Configuration values for the postgresql dependency.
|
|
## ref: https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md
|
|
##
|
|
postgresql:
|
|
install: true
|
|
imageTag: "9.6.2"
|
|
postgresUser: "hackmd"
|
|
postgresDatabase: "hackmd"
|
|
## Default: random 10 character string
|
|
# postgresPassword:
|