- Remove namespace: adopt-a-street from all metadata sections - Update CouchDB NODENAME to use namespace-agnostic format - Make all manifests deployable to any namespace - Maintain service names and selectors for functionality - All manifests validated with kubectl dry-run Now manifests can be deployed to any namespace using: kubectl apply -n <namespace> -f deploy/k8s/ 🤖 Generated with [AI Assistant] Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
22 lines
462 B
YAML
22 lines
462 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: couchdb-config
|
|
data:
|
|
10-cluster.ini: |
|
|
[cluster]
|
|
n = 1
|
|
q = 8
|
|
; Enable cluster features
|
|
[chttpd]
|
|
bind_address = 0.0.0.0
|
|
port = 5984
|
|
[couchdb]
|
|
single_node = true
|
|
enable_cors = true
|
|
[cors]
|
|
origins = *
|
|
credentials = true
|
|
headers = accept, authorization, content-type, origin, referer, x-csrf-token
|
|
methods = GET, PUT, POST, HEAD, DELETE
|
|
max_age = 3600 |