Update chart dependencies, fix some syntactic errors.
This commit is contained in:
parent
cade7d339e
commit
08d45820a2
|
@ -1,9 +1,6 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: couchdb
|
- name: couchdb
|
||||||
repository: https://apache.github.io/couchdb-helm
|
repository: https://apache.github.io/couchdb-helm
|
||||||
version: 3.3.4
|
version: 4.3.0
|
||||||
- name: ingress-nginx
|
digest: sha256:94449a7f195b186f5af33ec5aa66d58b36bede240fae710f021ca87837b30606
|
||||||
repository: https://kubernetes.github.io/ingress-nginx
|
generated: "2023-11-20T17:43:02.777596Z"
|
||||||
version: 4.0.13
|
|
||||||
digest: sha256:20892705c2d8e64c98257d181063a514ac55013e2b43399a6e54868a97f97845
|
|
||||||
generated: "2021-12-30T18:55:30.878411Z"
|
|
||||||
|
|
|
@ -17,6 +17,6 @@ version: 0.0.0
|
||||||
appVersion: 0.0.0
|
appVersion: 0.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: couchdb
|
- name: couchdb
|
||||||
version: 4.4.5
|
version: 4.3.0
|
||||||
repository: https://apache.github.io/couchdb-helm
|
repository: https://apache.github.io/couchdb-helm
|
||||||
condition: services.couchdb.enabled
|
condition: services.couchdb.enabled
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -261,22 +261,45 @@ services:
|
||||||
|
|
||||||
# Override values in couchDB subchart
|
# Override values in couchDB subchart
|
||||||
couchdb:
|
couchdb:
|
||||||
## clusterSize is the initial size of the CouchDB cluster.
|
# -- the initial number of nodes in the CouchDB cluster.
|
||||||
clusterSize: 1
|
clusterSize: 3
|
||||||
|
|
||||||
|
# -- If allowAdminParty is enabled the cluster will start up without any database
|
||||||
|
# administrator account; i.e., all users will be granted administrative
|
||||||
|
# access. Otherwise, the system will look for a Secret called
|
||||||
|
# <ReleaseName>-couchdb containing `adminUsername`, `adminPassword` and
|
||||||
|
# `cookieAuthSecret` keys. See the `createAdminSecret` flag.
|
||||||
|
# ref: https://kubernetes.io/docs/concepts/configuration/secret/
|
||||||
allowAdminParty: false
|
allowAdminParty: false
|
||||||
|
|
||||||
# Secret Management
|
# -- If createAdminSecret is enabled a Secret called <ReleaseName>-couchdb will
|
||||||
|
# be created containing auto-generated credentials. Users who prefer to set
|
||||||
|
# these values themselves have a couple of options:
|
||||||
|
#
|
||||||
|
# 1) The `adminUsername`, `adminPassword`, `adminHash`, and `cookieAuthSecret`
|
||||||
|
# can be defined directly in the chart's values. Note that all of a chart's
|
||||||
|
# values are currently stored in plaintext in a ConfigMap in the tiller
|
||||||
|
# namespace.
|
||||||
|
#
|
||||||
|
# 2) This flag can be disabled and a Secret with the required keys can be
|
||||||
|
# created ahead of time.
|
||||||
createAdminSecret: true
|
createAdminSecret: true
|
||||||
|
|
||||||
# adminUsername: budibase
|
adminUsername: admin
|
||||||
# adminPassword: budibase
|
# adminPassword: this_is_not_secure
|
||||||
# cookieAuthSecret: admin
|
# adminHash: -pbkdf2-this_is_not_necessarily_secure_either
|
||||||
|
# cookieAuthSecret: neither_is_this
|
||||||
|
|
||||||
## When enabled, will deploy a networkpolicy that allows CouchDB pods to
|
## When enabled, will deploy a networkpolicy that allows CouchDB pods to
|
||||||
## communicate with each other for clustering and ingress on port 5984
|
## communicate with each other for clustering and ingress on port 5984
|
||||||
networkPolicy:
|
networkPolicy:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
## Use an alternate scheduler, e.g. "stork".
|
||||||
|
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
||||||
|
##
|
||||||
|
# schedulerName:
|
||||||
|
|
||||||
# Use a service account
|
# Use a service account
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -285,25 +308,28 @@ couchdb:
|
||||||
# imagePullSecrets:
|
# imagePullSecrets:
|
||||||
# - name: myimagepullsecret
|
# - name: myimagepullsecret
|
||||||
|
|
||||||
## The storage volume used by each Pod in the StatefulSet. If a
|
# -- The storage volume used by each Pod in the StatefulSet. If a
|
||||||
## persistentVolume is not enabled, the Pods will use `emptyDir` ephemeral
|
# persistentVolume is not enabled, the Pods will use `emptyDir` ephemeral
|
||||||
## local storage. Setting the storageClass attribute to "-" disables dynamic
|
# local storage. Setting the storageClass attribute to "-" disables dynamic
|
||||||
## provisioning of Persistent Volumes; leaving it unset will invoke the default
|
# provisioning of Persistent Volumes; leaving it unset will invoke the default
|
||||||
## provisioner.
|
# provisioner.
|
||||||
persistentVolume:
|
persistentVolume:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
# NOTE: the number of existing claims must match the cluster size
|
||||||
|
existingClaims: []
|
||||||
|
annotations: {}
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
storageClass: ""
|
# storageClass: "-"
|
||||||
|
|
||||||
## The CouchDB image
|
## The CouchDB image
|
||||||
image:
|
image:
|
||||||
repository: budibase/couchdb
|
repository: budibase/couchdb
|
||||||
tag: 3.2.1
|
tag: v3.2.1
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
## Experimental integration with Lucene-powered fulltext search
|
# -- Flip this to flag to include the Search container in each Pod
|
||||||
enableSearch: false
|
enableSearch: false
|
||||||
|
|
||||||
initImage:
|
initImage:
|
||||||
|
@ -316,19 +342,52 @@ couchdb:
|
||||||
## `OrderedReady`
|
## `OrderedReady`
|
||||||
podManagementPolicy: Parallel
|
podManagementPolicy: Parallel
|
||||||
|
|
||||||
|
## To better tolerate Node failures, we can prevent Kubernetes scheduler from
|
||||||
|
## assigning more than one Pod of CouchDB StatefulSet per Node using podAntiAffinity.
|
||||||
|
affinity:
|
||||||
|
{}
|
||||||
|
# podAntiAffinity:
|
||||||
|
# requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
# - labelSelector:
|
||||||
|
# matchExpressions:
|
||||||
|
# - key: "app"
|
||||||
|
# operator: In
|
||||||
|
# values:
|
||||||
|
# - couchdb
|
||||||
|
# topologyKey: "kubernetes.io/hostname"
|
||||||
|
|
||||||
|
## To control how Pods are spread across your cluster among failure-domains such as regions,
|
||||||
|
## zones, nodes, and other user-defined topology domains use topologySpreadConstraints.
|
||||||
|
topologySpreadConstraints:
|
||||||
|
{}
|
||||||
|
# topologySpreadConstraints:
|
||||||
|
# - maxSkew: 1
|
||||||
|
# topologyKey: "topology.kubernetes.io/zone"
|
||||||
|
# whenUnsatisfiable: ScheduleAnyway
|
||||||
|
# labelSelector:
|
||||||
|
# matchLabels:
|
||||||
|
# app: couchdb
|
||||||
|
|
||||||
|
## Optional pod labels
|
||||||
|
labels: {}
|
||||||
|
|
||||||
## Optional pod annotations
|
## Optional pod annotations
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
## Optional tolerations
|
## Optional tolerations
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
affinity: {}
|
## A StatefulSet requires a headless Service to establish the stable network
|
||||||
|
## identities of the Pods, and that Service is created automatically by this
|
||||||
|
## chart without any additional configuration. The Service block below refers
|
||||||
|
## to a second Service that governs how clients connect to the CouchDB cluster.
|
||||||
service:
|
service:
|
||||||
# annotations:
|
annotations: {}
|
||||||
enabled: true
|
enabled: true
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
externalPort: 5984
|
externalPort: 5984
|
||||||
|
targetPort: 5984
|
||||||
|
labels: {}
|
||||||
|
|
||||||
## An Ingress resource can provide name-based virtual hosting and TLS
|
## An Ingress resource can provide name-based virtual hosting and TLS
|
||||||
## termination among other things for CouchDB deployments which are accessed
|
## termination among other things for CouchDB deployments which are accessed
|
||||||
|
@ -336,11 +395,12 @@ couchdb:
|
||||||
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
|
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
# className: nginx
|
||||||
hosts:
|
hosts:
|
||||||
- chart-example.local
|
- chart-example.local
|
||||||
path: /
|
path: /
|
||||||
annotations:
|
annotations:
|
||||||
[]
|
{}
|
||||||
# kubernetes.io/ingress.class: nginx
|
# kubernetes.io/ingress.class: nginx
|
||||||
# kubernetes.io/tls-acme: "true"
|
# kubernetes.io/tls-acme: "true"
|
||||||
tls:
|
tls:
|
||||||
|
@ -360,21 +420,35 @@ couchdb:
|
||||||
# cpu: 56
|
# cpu: 56
|
||||||
# memory: 256Gi
|
# memory: 256Gi
|
||||||
|
|
||||||
## erlangFlags is a map that is passed to the Erlang VM as flags using the
|
## Optional resource requests and limits for the CouchDB init container
|
||||||
## ERL_FLAGS env. `name` and `setcookie` flags are minimally required to
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||||
## establish connectivity between cluster nodes.
|
initResources:
|
||||||
## ref: http://erlang.org/doc/man/erl.html#init_flags
|
{}
|
||||||
|
# requests:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
# limits:
|
||||||
|
# cpu: 500m
|
||||||
|
# memory: 128Mi
|
||||||
|
|
||||||
|
# -- erlangFlags is a map that is passed to the Erlang VM as flags using the
|
||||||
|
# ERL_FLAGS env. The `name` flag is required to establish connectivity
|
||||||
|
# between cluster nodes.
|
||||||
|
# ref: http://erlang.org/doc/man/erl.html#init_flags
|
||||||
erlangFlags:
|
erlangFlags:
|
||||||
name: couchdb
|
name: couchdb
|
||||||
setcookie: monster
|
# Older versions of the official CouchDB image (anything prior to 3.2.1)
|
||||||
|
# do not act on the COUCHDB_ERLANG_COOKIE environment variable, so if you
|
||||||
|
# want to cluster these deployments it's necessary to pass in a cookie here
|
||||||
|
# setcookie: make-something-up
|
||||||
|
|
||||||
## couchdbConfig will override default CouchDB configuration settings.
|
# -- couchdbConfig will override default CouchDB configuration settings.
|
||||||
## The contents of this map are reformatted into a .ini file laid down
|
# The contents of this map are reformatted into a .ini file laid down
|
||||||
## by a ConfigMap object.
|
# by a ConfigMap object.
|
||||||
## ref: http://docs.couchdb.org/en/latest/config/index.html
|
# ref: http://docs.couchdb.org/en/latest/config/index.html
|
||||||
couchdbConfig:
|
couchdbConfig:
|
||||||
couchdb:
|
couchdb:
|
||||||
uuid: budibase-couchdb # REQUIRED: Unique identifier for this CouchDB server instance
|
uuid: decafbaddecafbaddecafbaddecafbad # Unique identifier for this CouchDB server instance
|
||||||
# cluster:
|
# cluster:
|
||||||
# q: 8 # Create 8 shards for each database
|
# q: 8 # Create 8 shards for each database
|
||||||
chttpd:
|
chttpd:
|
||||||
|
@ -382,6 +456,9 @@ couchdb:
|
||||||
# chttpd.require_valid_user disables all the anonymous requests to the port
|
# chttpd.require_valid_user disables all the anonymous requests to the port
|
||||||
# 5984 when is set to true.
|
# 5984 when is set to true.
|
||||||
require_valid_user: false
|
require_valid_user: false
|
||||||
|
# required to use Fauxton if chttpd.require_valid_user is set to true
|
||||||
|
# httpd:
|
||||||
|
# WWW-Authenticate: "Basic realm=\"administrator\""
|
||||||
|
|
||||||
# Kubernetes local cluster domain.
|
# Kubernetes local cluster domain.
|
||||||
# This is used to generate FQDNs for peers when joining the CouchDB cluster.
|
# This is used to generate FQDNs for peers when joining the CouchDB cluster.
|
||||||
|
@ -390,16 +467,56 @@ couchdb:
|
||||||
|
|
||||||
## Configure liveness and readiness probe values
|
## Configure liveness and readiness probe values
|
||||||
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
||||||
# FOR COUCHDB
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
enabled: true
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
enabled: true
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
initialDelaySeconds: 0
|
initialDelaySeconds: 0
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
|
||||||
|
# Control an optional pod disruption budget
|
||||||
|
podDisruptionBudget:
|
||||||
|
# toggle creation of pod disruption budget, disabled by default
|
||||||
|
enabled: false
|
||||||
|
# minAvailable: 1
|
||||||
|
maxUnavailable: 1
|
||||||
|
|
||||||
|
# CouchDB 3.2.0 adds in a metrics endpoint on the path `/_node/_local/_prometheus`.
|
||||||
|
# Optionally, a standalone, unauthenticated port can be exposed for these metrics.
|
||||||
|
prometheusPort:
|
||||||
|
enabled: false
|
||||||
|
bind_address: "0.0.0.0"
|
||||||
|
port: 17986
|
||||||
|
|
||||||
|
# Configure arbitrary sidecar containers for CouchDB pods created by the
|
||||||
|
# StatefulSet
|
||||||
|
sidecars:
|
||||||
|
{}
|
||||||
|
# - name: foo
|
||||||
|
# image: "busybox"
|
||||||
|
# imagePullPolicy: IfNotPresent
|
||||||
|
# resources:
|
||||||
|
# requests:
|
||||||
|
# cpu: "0.1"
|
||||||
|
# memory: 10Mi
|
||||||
|
# command: ['echo "foo";']
|
||||||
|
# volumeMounts:
|
||||||
|
# - name: database-storage
|
||||||
|
# mountPath: /opt/couchdb/data/
|
||||||
|
|
||||||
|
# Placement manager to annotate each document in the nodes DB with "zone" attribute
|
||||||
|
# recording the zone where node has been scheduled
|
||||||
|
# Ref: https://docs.couchdb.org/en/stable/cluster/sharding.html#specifying-database-placement
|
||||||
|
placementConfig:
|
||||||
|
enabled: false
|
||||||
|
image:
|
||||||
|
repository: caligrafix/couchdb-autoscaler-placement-manager
|
||||||
|
tag: 0.1.0
|
||||||
|
|
Loading…
Reference in New Issue