63 lines
1.7 KiB
YAML
63 lines
1.7 KiB
YAML
---
|
|
|
|
apiVersion: helm.cattle.io/v1
|
|
kind: HelmChart
|
|
metadata:
|
|
name: couchdb
|
|
namespace: ops
|
|
labels:
|
|
app: couchdb
|
|
service: vlt
|
|
spec:
|
|
repo: https://apache.github.io/couchdb-helm
|
|
chart: couchdb
|
|
version: 4.6.1
|
|
targetNamespace: ops
|
|
valuesContent: |-
|
|
clusterSize: 1
|
|
createAdminSecret: false
|
|
|
|
couchdbConfig:
|
|
couchdb:
|
|
single_node: true
|
|
uuid: 1723f780-f9df-4efb-84dc2e5a691207d8
|
|
max_document_size: 50000000
|
|
max_http_request_size: 4294967296
|
|
chttpd:
|
|
require_valid_user: true
|
|
enable_cors: true
|
|
httpd:
|
|
enable_cors: true
|
|
WWW-Authenticate: "Basic realm=\"couchdb\""
|
|
cors:
|
|
origins: "*"
|
|
credentials: true
|
|
methods: "GET, PUT, POST, HEAD, DELETE"
|
|
headers: "accept, authorization, content-type, origin, referer, x-csrf-token"
|
|
|
|
persistentVolume:
|
|
enabled: true
|
|
storageClass: "zfs-fast"
|
|
size: 10Gi
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 5984
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: haproxy
|
|
hosts:
|
|
- vlt.ntwl.xyz
|
|
tls:
|
|
- hosts:
|
|
- vlt.ntwl.xyz
|
|
secretName: couchdb-tls
|
|
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
haproxy.org/ssl-redirect: "true"
|
|
haproxy.org/proxy-body-size: "100m"
|
|
haproxy.org/timeout-client: "600s"
|
|
haproxy.org/timeout-server: "600s"
|