add configmap mongodb to vault + change password

This commit is contained in:
cedricve
2021-12-25 22:51:47 +01:00
parent d241aa6e01
commit 6884528207
4 changed files with 20 additions and 8 deletions

View File

@@ -103,12 +103,12 @@ The last step is to install the Kerberos Factory application. Kerberos Factory i
Kerberos Factory requires a MongoDB instance to be running, it uses it to store configuration files and other metrics. To specify those credentials a configmap is created and injected into the Kerberos Factory deployment.
Modify the MongoDB credentials, and make sure they match the credentials of your MongoDB instance.
Modify the MongoDB credentials in the configmap `./factory/yaml/mongodb.config.yaml`, and make sure they match the credentials of your MongoDB instance.
- name: MONGODB_USERNAME
value: "root"
- name: MONGODB_PASSWORD
--> value: "xxxxxxxxxx"
--> value: "yourmongodbpassword"
Create the config map.

View File

@@ -228,12 +228,12 @@ The last step is to install the Kerberos Factory application. Kerberos Factory i
Kerberos Factory requires a MongoDB instance to be running, it uses it to store configuration files and other metrics. To specify those credentials a configmap is created and injected into the Kerberos Factory deployment.
Modify the MongoDB credentials, and make sure they match the credentials of your MongoDB instance.
Modify the MongoDB credentials in the configmap `./factory/yaml/mongodb.config.yaml`, and make sure they match the credentials of your MongoDB instance.
- name: MONGODB_USERNAME
value: "root"
- name: MONGODB_PASSWORD
--> value: "xxxxxxxxxx"
--> value: "yourmongodbpassword"
Create the config map.

View File

@@ -79,12 +79,18 @@ If you are using Ingress Nginx, do not forgot to comment `Traefik` and uncomment
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/proxy-body-size: 200m
Next to that modify the MongoDB credentials, and make sure they match the credentials of your MongoDB instance.
Kerberos Vault requires a MongoDB instance to be running, it uses it to store media, configurations, etc. To specify those credentials a configmap is created and injected into the Kerberos Factory deployment.
Modify the MongoDB credentials in the configmap `./vault/yaml/mongodb.config.yaml`, and make sure they match the credentials of your MongoDB instance.
- name: MONGODB_USERNAME
value: "root"
- name: MONGODB_PASSWORD
--> value: "xxxxxxxxxx"
--> value: "yourmongodbpassword"
Create the config map.
kubectl apply -f ./vault/yaml/mongodb.config.yaml -n kerberos-vault
Once you have corrected the DNS names and MongoDB credentials, install Kerberos Vault inside your cluster.

View File

@@ -83,12 +83,18 @@ If you are using Ingress Nginx, do not forgot to comment `Traefik` and uncomment
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/proxy-body-size: 200m
Next to that modify the MongoDB credentials, and make sure they match the credentials of your MongoDB instance.
Kerberos Vault requires a MongoDB instance to be running, it uses it to store media, configurations, etc. To specify those credentials a configmap is created and injected into the Kerberos Factory deployment.
Modify the MongoDB credentials in the configmap `./vault/yaml/mongodb.config.yaml`, and make sure they match the credentials of your MongoDB instance.
- name: MONGODB_USERNAME
value: "root"
- name: MONGODB_PASSWORD
--> value: "xxxxxxxxxx"
--> value: "yourmongodbpassword"
Create the config map.
kubectl apply -f ./vault/yaml/mongodb.config.yaml -n kerberos-vault
Once you have corrected the DNS names and MongoDB credentials, install Kerberos Vault inside your cluster.