## Note: data values do NOT have to be base64-encoded in this file. ## vars is common environment variables for this BigchaindB node apiVersion: v1 kind: ConfigMap metadata: name: vars namespace: default data: # cluster-fqdn is the DNS name registered for your HTTPS certificate. cluster-fqdn: "bdb.example.com" # cluster-frontend-port is the port number on which this node's services # are available to external clients. cluster-frontend-port: "443" # cluster-health-check-port is the port number on which an external load # balancer can check the status/liveness of the external/public server. # In our deployment, Kubernetes sends 'livenessProbes' to this port and # interprets a successful response as a 'healthy' service. cluster-health-check-port: "8888" # cluster-dns-server-ip is the IP of the DNS server. A Kubernetes deployment # always has a DNS server (kube-dns) running at 10.0.0.10 cluster-dns-server-ip: "10.0.0.10" # mdb-instance-name is the name of the MongoDB instance in this cluster. mdb-instance-name: "" # ngx-instance-name is the name of the NGINX instance in this cluster. ngx-instance-name: "" # openresty-instance-name is the name of the OpenResty instance in this # cluster. openresty-instance-name: "" # bdb-instance-name is the name of the BigchainDB instance in this cluster. bdb-instance-name: "" # mdb-mon-instance-name is the name of the MongoDB Monitoring Agent instance # in this cluster. mdb-mon-instance-name: "" # mdb-bak-instance-name is the name of the MongoDB Backup Agent instance # in this cluster. mdb-bak-instance-name: "" # ngx-mdb-instance-name is the FQDN of the MongoDB instance in this # Kubernetes cluster. ngx-mdb-instance-name: ".default.svc.cluster.local" # ngx-openresty-instance-name is the FQDN of the OpenResty instance in this # Kubernetes cluster. ngx-openresty-instance-name: ".default.svc.cluster.local" # ngx-bdb-instance-name is the FQDN of the BigchainDB instance in this # Kubernetes cluster. ngx-bdb-instance-name: ".default.svc.cluster.local" # mongodb-frontend-port is the port number on which external clients can # access MongoDB. This needs to be restricted to only other MongoDB instances # by enabling an authentication mechanism on MongoDB. mongodb-frontend-port: "27017" # mongodb-backend-port is the port on which MongoDB is actually # available/listening for requests. mongodb-backend-port: "27017" # openresty-backend-port is the port number on which OpenResty is listening # for requests. This is used by the NGINX instance to forward the requests to # the right port, and by OpenResty instance to bind to the correct port to # receive requests from NGINX instance. openresty-backend-port: "80" # BigchainDB configuration parameters # Refer https://docs.bigchaindb.com/projects/server/en/latest/server-reference/configuration.html # bigchaindb-api-port is the port number on which BigchainDB is listening # for HTTP requests. bigchaindb-api-port: "9984" # bigchaindb-server-bind is the socket where BigchainDB binds for API # requests. bigchaindb-server-bind: "0.0.0.0:9984" # bigchaindb-ws-port and bigchaindb-ws-interface form the socket where # BigchainDB binds for Websocket connections. bigchaindb-ws-port: "9985" bigchaindb-ws-interface: "0.0.0.0" # mongodb-replicaset-name is the MongoDB replica set name mongodb-replicaset-name: "bigchain-rs" # bigchaindb-database-name is the database collection used by BigchainDB with # the MongoDB backend. bigchaindb-database-name: "bigchain" # bigchaindb-wsserver-advertised-scheme is the protocol used to access the # WebSocket API in BigchainDB; can be 'ws' or 'wss' (default). bigchaindb-wsserver-advertised-scheme: "wss" --- apiVersion: v1 kind: ConfigMap metadata: name: bdb-config namespace: default data: # Colon-separated list of all *other* nodes' BigchainDB public keys. bdb-keyring: "<':' separated list of public keys>" # BigchainDB instance authentication user name bdb-user: "" # BigchainDB public key of *this* node. # Generated using bigchaindb_driver in the docs # Example: "EPQk5i5yYpoUwGVM8VKZRjM8CYxB6j8Lu8i8SG7kGGce" bdb-public-key: "" # bigchaindb-backlog-reassign-delay is the number of seconds a transaction # can remain in the backlog before being reassigned. bigchaindb-backlog-reassign-delay: "120" # bigchaindb-database-maxtries is the maximum number of times that BigchainDB # will try to establish a connection with the database backend. # If it is set to 0, then it will try forever. bigchaindb-database-maxtries: "3" # bigchaindb-database-connection-timeout is the maximum number of # milliseconds that BigchainDB will wait before closing the connection while # connecting to the database backend. bigchaindb-database-connection-timeout: "5000" # bigchaindb-log-level is the log level used to log to the console. bigchaindb-log-level: "debug"