mirror of
https://github.com/bitnami/charts.git
synced 2026-03-08 17:27:20 +08:00
283 lines
9.1 KiB
YAML
283 lines
9.1 KiB
YAML
## Global Docker image parameters
|
|
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
|
|
## Current available global Docker image parameters: imageRegistry and imagePullSecrets
|
|
##
|
|
# global:
|
|
# imageRegistry: myRegistryName
|
|
# imagePullSecrets:
|
|
# - myRegistryKeySecretName
|
|
|
|
## Bitnami Redmine image version
|
|
## ref: https://hub.docker.com/r/bitnami/redmine/tags/
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/redmine
|
|
tag: 4.0.3
|
|
## Specify a imagePullPolicy
|
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
|
##
|
|
pullPolicy: IfNotPresent
|
|
## Optionally specify an array of imagePullSecrets.
|
|
## Secrets must be manually created in the namespace.
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
##
|
|
# pullSecrets:
|
|
# - myRegistryKeySecretName
|
|
|
|
## User of the application
|
|
## ref: https://github.com/bitnami/bitnami-docker-redmine/#environment-variables
|
|
##
|
|
redmineUsername: user
|
|
|
|
## Application password
|
|
## Defaults to a random 10-character alphanumeric string if not set
|
|
## ref: https://github.com/bitnami/bitnami-docker-redmine#environment-variables
|
|
##
|
|
# redminePassword:
|
|
|
|
## Admin email
|
|
## ref: https://github.com/bitnami/bitnami-docker-redmine/#environment-variables
|
|
##
|
|
redmineEmail: user@example.com
|
|
|
|
## Redmine default data language
|
|
## ref: https://github.com/bitnami/bitnami-docker-redmine/#environment-variables
|
|
##
|
|
redmineLanguage: en
|
|
|
|
## SMTP mail delivery configuration
|
|
## ref: https://github.com/bitnami/bitnami-docker-redmine/#smtp-configuration
|
|
##
|
|
# smtpHost:
|
|
# smtpPort:
|
|
# smtpUser:
|
|
# smtpPassword:
|
|
# smtpTls:
|
|
|
|
## Environment variables, to pass to the entry point
|
|
##
|
|
# extraVars:
|
|
# - name: NAMI_DEBUG
|
|
# value: --log-level trace
|
|
|
|
## Database configuration. Please note that only one of the following databases should be selected.
|
|
## ref: https://github.com/bitnami/bitnami-docker-redmine#run-the-application-using-postgresql-database
|
|
##
|
|
databaseType:
|
|
mariadb: true
|
|
postgresql: false
|
|
|
|
##
|
|
## MariaDB chart configuration
|
|
##
|
|
## https://github.com/helm/charts/blob/master/stable/mariadb/values.yaml
|
|
##
|
|
mariadb:
|
|
## Whether to deploy a mariadb server to satisfy the applications database requirements. To use an external database set this to false and configure the externalDatabase parameters
|
|
enabled: true
|
|
## Disable MariaDB replication
|
|
replication:
|
|
enabled: false
|
|
|
|
## Create a database and a database user
|
|
## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run
|
|
##
|
|
db:
|
|
name: bitnami_redmine
|
|
user: bn_redmine
|
|
## If the password is not specified, mariadb will generates a random password
|
|
##
|
|
# password:
|
|
|
|
## MariaDB admin password
|
|
## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#setting-the-root-password-on-first-run
|
|
##
|
|
# rootUser:
|
|
# password:
|
|
|
|
## Enable persistence using Persistent Volume Claims
|
|
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
|
##
|
|
master:
|
|
persistence:
|
|
enabled: true
|
|
## mariadb 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: "-"
|
|
accessMode: ReadWriteOnce
|
|
size: 8Gi
|
|
|
|
##
|
|
## PostgreSQL chart configuration
|
|
##
|
|
## https://github.com/helm/charts/blob/master/stable/postgresql/values.yaml
|
|
##
|
|
postgresql:
|
|
## Whether to deploy a PostgreSQL server to satisfy the applications database requirements. To use an external database set this to false and configure the externalDatabase parameters
|
|
enabled: false
|
|
## PostgreSQL admin password
|
|
## ref: https://github.com/bitnami/bitnami-docker-postgresql/blob/master/README.md#setting-the-root-password-on-first-run
|
|
##
|
|
# postgresqlPassword:
|
|
|
|
## Enable persistence using Persistent Volume Claims
|
|
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
|
##
|
|
persistence:
|
|
enabled: true
|
|
## A manually manage Persistent Volume Claim
|
|
## Requires postgresql.persistence.enable: true
|
|
## If defined, PVC must be created manually before volume will be bound
|
|
# existingClaim:
|
|
|
|
## postgresql 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: "-"
|
|
accessMode: ReadWriteOnce
|
|
size: 8Gi
|
|
|
|
## All of these values are only used when:
|
|
## a) mariadb.enabled is set to false and databaseType.mariadb is set to true
|
|
## b) postgresql.enabled is set to false and databaseType.postgresql is set to true
|
|
externalDatabase:
|
|
## Database host
|
|
host: localhost
|
|
|
|
## Database Admin User
|
|
user: root
|
|
|
|
## Database Admin Password
|
|
password: ""
|
|
|
|
## Database port number (use 5432 when using PostgreSQL)
|
|
port: 3306
|
|
|
|
## Kubernetes configuration
|
|
## minikube: NodePort
|
|
## ingress: ClusterIP
|
|
## elsewhere: LoadBalancer
|
|
##
|
|
service:
|
|
type: LoadBalancer
|
|
# HTTP Port
|
|
port: 80
|
|
## loadBalancerIP:
|
|
## Control hosts connecting to "LoadBalancer" only
|
|
loadBalancerSourceRanges:
|
|
- 0.0.0.0/0
|
|
##
|
|
## nodePorts:
|
|
## http: <to set explicitly, choose port between 30000-32767>
|
|
nodePorts:
|
|
http: ""
|
|
## Enable client source IP preservation
|
|
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
|
|
##
|
|
externalTrafficPolicy: Cluster
|
|
|
|
## Configure the ingress resource that allows you to access the
|
|
## Redmine installation. Set up the URL
|
|
## ref: http://kubernetes.io/docs/user-guide/ingress/
|
|
##
|
|
ingress:
|
|
## Set to true to enable ingress record generation
|
|
enabled: false
|
|
|
|
## The list of hostnames to be covered with this ingress record.
|
|
## Most likely this will be just one host, but in the event more hosts are needed, this is an array
|
|
hosts:
|
|
- name: redmine.local
|
|
|
|
## Set this to true in order to enable TLS on the ingress record
|
|
## A side effect of this will be that the backend redmine service will be connected at port 443
|
|
tls: false
|
|
|
|
## Set this to true in order to add the corresponding annotations for cert-manager
|
|
certManager: false
|
|
|
|
## If TLS is set to true, you must declare what secret will store the key/certificate for TLS
|
|
tlsSecret: redmine.local-tls
|
|
|
|
## Ingress annotations done as key:value pairs
|
|
## For a full list of possible ingress annotations, please see
|
|
## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md
|
|
##
|
|
## If certManager is set to true, annotation kubernetes.io/tls-acme: "true" will automatically be set
|
|
annotations:
|
|
# kubernetes.io/ingress.class: nginx
|
|
|
|
## Node labels for pod assignment
|
|
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
##
|
|
nodeSelector: {}
|
|
|
|
## Tolerations for pod assignment
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
##
|
|
tolerations: {}
|
|
|
|
## Affinity for pod assignment
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
##
|
|
affinity: {}
|
|
|
|
## Pod annotations
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
##
|
|
podAnnotations: {}
|
|
|
|
## Enable persistence using Persistent Volume Claims
|
|
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
|
##
|
|
persistence:
|
|
enabled: true
|
|
## A manually manage Persistent Volume Claim
|
|
## Requires persistence.enable: true
|
|
## If defined, PVC must be created manually before volume will be bound
|
|
# existingClaim:
|
|
|
|
## redmine 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: "-"
|
|
accessMode: ReadWriteOnce
|
|
size: 8Gi
|
|
|
|
## Define a disruption budget
|
|
## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
|
|
podDisruptionBudget:
|
|
enabled: false
|
|
# minAvailable: 1
|
|
# maxUnavailable: 1
|
|
|
|
## Define the number of pods the deployment will create
|
|
## Do not change unless your persistent volume allows more than one writer, ie NFS
|
|
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
|
|
replicas: 1
|
|
|
|
## Redmine pods resource requests and limits
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-requests-and-limits-of-pod-and-container
|
|
resources: {}
|
|
# requests:
|
|
# cpu: "1"
|
|
# memory: "1G"
|
|
# limits:
|
|
# cpu: "2"
|
|
# memory: "1G"
|