Last active
August 5, 2018 16:16
-
-
Save sarjarapu/3cea1849ac692382c2fedf07cf4660eb to your computer and use it in GitHub Desktop.
The auto generated YAML file for creating namespace, configmap, secret and MongoDbReplicaSet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mongodb-world-replicaset.yaml contents | |
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: "mongodb-world" | |
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: "mongodb-world-project" | |
namespace: "mongodb-world" | |
data: | |
projectId: "59*************6fed" | |
baseUrl: "https://cloud.mongodb.com/" | |
--- | |
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: "mongodb-world-credentials" | |
namespace: "mongodb-world" | |
type: Opaque | |
data: | |
user: "c2************UK" | |
publicApiKey: "Nj******************zRiCg==" | |
--- | |
apiVersion: mongodb.com/v1 | |
kind: MongoDbReplicaSet | |
metadata: | |
name: "mongodb-world-replicaset" | |
namespace: "mongodb-world" | |
spec: | |
members: 3 | |
version: "3.6.5" | |
project: "mongodb-world-project" | |
credentials: "mongodb-world-credentials" | |
persistent: false # For testing only | |
podSpec: | |
cpu: '0.25' | |
memory: 512M | |
storage: 2G |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment