Skip to content

Instantly share code, notes, and snippets.

@sarjarapu
Created July 11, 2018 20:31
Show Gist options
  • Save sarjarapu/7737f9c56552714f5d58154a4d797023 to your computer and use it in GitHub Desktop.
Save sarjarapu/7737f9c56552714f5d58154a4d797023 to your computer and use it in GitHub Desktop.
A script file hold all the environment variables for your MongoDB deployments in Kubernetes
OM_PROJECT_ID="<opsmanager_project_id>"
OM_USER_BASE64=$(echo "<opsmanager_userid>" | base64)
OM_API_KEY_BASE64=$(echo "<opsmanager_public_apikey>" | base64)
OM_URL="<opsmanager_uri>"
K8_NAMESPACE="<kubernetes_namespace>"
MONGODB_VERSION="<mongodb_version>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment