Files
deployment/base/vault/mongodb-configmap.yaml

31 lines
1.2 KiB
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: mongodb
data:
# This is the mongodb database where data will be stored, you might use a different name if you want.
MONGODB_DATABASE_STORAGE: "KerberosStorage"
MONGODB_DATABASE_FACTORY: "KerberosFactory"
MONGODB_DATABASE_HUB: "Kerberos"
# MongoDB URI (for example for a SaaS service like MongoDB Atlas)
# If uri is set, the below properties are not used (host, adminDatabase, username, password)
#MONGODB_URI: "mongodb+srv://xx:xx@kerberos-hub.xxx.mongodb.net/?retryWrites=true&w=majority&appName=xxx"
# If you do not wish to use the URI, you can specify the individual values.
MONGODB_HOST: "mongodb.mongodb"
MONGODB_DATABASE_CREDENTIALS: "admin"
MONGODB_USERNAME: "root"
MONGODB_PASSWORD: "yourpassword"
# MongoDB-compatible backend and connection behavior.
# Use "documentdb" for AWS DocumentDB; retryable writes are always disabled
# by Vault for that flavor.
MONGODB_FLAVOR: "mongodb"
MONGODB_RETRY_WRITES: "true"
# TLS is disabled by default. A non-empty CA file path also enables TLS, but
# the referenced PEM bundle must be mounted into the Vault container.
MONGODB_TLS: "false"
MONGODB_TLS_CA_FILE: ""
MONGODB_TLS_INSECURE_SKIP_VERIFY: "false"