2024-01-08 11:28:31 +00:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
title: How to set root user password
|
|
|
|
parent: How to ...
|
|
|
|
---
|
|
|
|
|
2023-11-07 18:50:23 +00:00
|
|
|
# How to set root user password
|
2023-10-20 07:28:44 +00:00
|
|
|
|
|
|
|
1) Create a kubernetes [Secret](https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/) with root password:
|
|
|
|
```bash
|
2024-12-13 09:13:58 +00:00
|
|
|
kubectl create secret generic arango-root-pwd --from-literal=password=<paste_your_password_here> --from-literal=username=root
|
2023-10-20 07:28:44 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
1) Then specify the newly created secret in the ArangoDeploymentSpec:
|
|
|
|
```yaml
|
|
|
|
spec:
|
|
|
|
bootstrap:
|
|
|
|
passwordSecretNames:
|
|
|
|
root: arango-root-pwd
|
|
|
|
```
|