mirror of
https://github.com/bitnami/charts.git
synced 2026-03-01 15:07:34 +08:00
117 lines
3.5 KiB
YAML
117 lines
3.5 KiB
YAML
## Bitnami node image version
|
|
## ref: https://hub.docker.com/r/bitnami/node/tags/
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/node
|
|
tag: 10.7.0-prod
|
|
## 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:
|
|
# - myRegistrKeySecretName
|
|
|
|
gitImage:
|
|
registry: docker.io
|
|
repository: alpine/git
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
|
|
## Git repository http/https
|
|
##
|
|
repository: https://github.com/bitnami/sample-mean.git
|
|
|
|
## Git repository revision to checkout
|
|
##
|
|
revision: master
|
|
|
|
## Specify the number of replicas for the application
|
|
##
|
|
replicas: 1
|
|
|
|
## Specify the port where your applucation will be running
|
|
##
|
|
applicationPort: 3000
|
|
|
|
## Kubernetes configuration
|
|
## For minikube, set this to NodePort, elsewhere use LoadBalancer
|
|
##
|
|
serviceType: ClusterIP
|
|
|
|
## Enable persistence using Persistent Volume Claims
|
|
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
|
##
|
|
persistence:
|
|
enabled: false
|
|
path: /app/data
|
|
## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
|
|
## Default: volume.alpha.kubernetes.io/storage-class: default
|
|
##
|
|
# storageClass:
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
|
|
## Configure resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
##
|
|
resources: {}
|
|
# limits:
|
|
# cpu: 500m
|
|
# memory: 512Mi
|
|
# requests:
|
|
# cpu: 500m
|
|
# memory: 512Mi
|
|
|
|
##
|
|
## MongoDB chart configuration
|
|
##
|
|
mongodb:
|
|
## Whether to deploy a mongodb server to satisfy the applications database requirements.
|
|
## To use an external database set this to false and configure the externaldb parameters
|
|
install: true # Check mongodb chart for configuration values
|
|
## MongoDB custom user and database
|
|
## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#creating-a-user-and-database-on-first-run
|
|
##
|
|
mongodbUsername: user
|
|
mongodbDatabase: test_db
|
|
mongodbPassword: secret_password
|
|
|
|
## Provision an external database (Only if mongodb.install is false)
|
|
## You can:
|
|
## 1) Pass an already existing Secret with your database credentials
|
|
## 2) Pass an already existing ServiceInstance name and specify the service catalog broker to automatically create a ServiceBinding for your application.
|
|
externaldb:
|
|
# Set to true if your external database has ssl enabled
|
|
ssl: false
|
|
# You can use an existing secret containing your database credentials
|
|
# Please refer to the respective section in the README to know the details about this secret.
|
|
secretName:
|
|
# Only if using Kubernetes Service Catalog you can specify the kind of broker used. Available options are osba|gce|aws
|
|
type: osba
|
|
# If you provide the serviceInstanceName, the chart will create a ServiceBinding for that ServiceInstance
|
|
broker:
|
|
serviceInstanceName:
|
|
|
|
## Configure ingress resource that allow you to access the application.
|
|
## ref: http://kubernetes.io/docs/user-guide/ingress/
|
|
##
|
|
ingress:
|
|
enabled: false
|
|
path: /
|
|
# Used to create an Ingress record.
|
|
host: example.local
|
|
# annotations:
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
# tls:
|
|
# Secrets must be manually created in the namespace.
|
|
# - secretName: your-tls-cert
|
|
# hosts:
|
|
# - example.local
|