Files
Hermes Agent service account bc34a1f915 couchdb: increase nginx proxy body size to 100m
Fixes 413 Entity Too Large error in Obsidian LiveSync sync operations.
Applies to both internal (communicore.local) and public (communicore.mk-labs.cloud) ingress routes.
2026-06-30 23:09:56 -05:00

93 lines
2.0 KiB
YAML

# CouchDB Helm Chart Values
# Application: couchdb
# Theme: communicore (DNS only)
# Purpose: Obsidian sync backend for mk-labs
# Cluster configuration
clusterSize: 1 # Single node for homelab
# Admin credentials managed via ExternalSecret
# See externalsecret.yaml for 1Password integration
createAdminSecret: false
extraSecretName: "couchdb-admin"
adminUsernameKey: "adminUsername"
adminPasswordKey: "adminPassword"
cookieAuthSecretKey: "cookieAuthSecret"
# Auto-setup cluster after installation
autoSetup:
enabled: true
image:
repository: curlimages/curl
tag: "8.11.1" # Pinned version
pullPolicy: IfNotPresent
defaultDatabases:
- _global_changes
# Network policy for pod communication
networkPolicy:
enabled: true
# Service account
serviceAccount:
enabled: true
create: true
# Persistent storage
persistentVolume:
enabled: true
accessModes:
- ReadWriteOnce
size: 20Gi
storageClass: "nfs-emporium"
# CouchDB image - pinned version
image:
repository: couchdb
tag: "3.5.1"
pullPolicy: IfNotPresent
# Service configuration
service:
enabled: true
type: ClusterIP
port: 5984
# Ingress configuration — internal only
# External access via separate ingress manifest (ingress-public.yaml)
# which carries its own cert with CN=communicore.mk-labs.cloud
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
external-dns.alpha.kubernetes.io/hostname: "communicore.local.mk-labs.cloud"
nginx.ingress.kubernetes.io/proxy-body-size: "100m"
hosts:
- communicore.local.mk-labs.cloud
tls:
- secretName: couchdb-tls
hosts:
- communicore.local.mk-labs.cloud
# Resource limits
resources:
requests:
cpu: 100m
memory: 512Mi
limits:
cpu: 1000m
memory: 2Gi
# CouchDB configuration
couchdbConfig:
couchdb:
uuid: "decafbaddecafbaddecafbaddecafbad" # Will be regenerated on first run
chttpd:
bind_address: "0.0.0.0"
port: 5984
require_valid_user: true
httpd:
bind_address: "0.0.0.0"
port: 5986