Skip to content

Commit

Permalink
Fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
antejavor committed Aug 13, 2024
1 parent abbac87 commit cdf5e4b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions charts/memgraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ The following table lists the configurable parameters of the Memgraph chart and
| `memgraphConfig` | List of strings defining Memgraph configuration settings | `["--also-log-to-stderr=true"]` |
| `secrets.enabled` | Enable the use of Kubernetes secrets for Memgraph credentials | `false` |
| `secrets.name` | The name of the Kubernetes secret containing Memgraph credentials | `memgraph-secrets` |
| `secrets.userKey` | The key in the Kubernetes secret for the Memgraph user | `MEMGRAPH_USER` |
| `secrets.passwordKey` | The key in the Kubernetes secret for the Memgraph password | `MEMGRAPH_PASSWORD` |
| `secrets.userKey` | The key in the Kubernetes secret for the Memgraph user, the value is passed to the `MEMGRAPH_USER` env | `USER` |
| `secrets.passwordKey` | The key in the Kubernetes secret for the Memgraph password, the value is passed to the `MEMGRAPH_PASSWORD` | `PASSWORD` |
| `memgraphEnterpriseLicense` | Memgraph Enterprise License | `""` |
| `memgraphOrganizationName` | Organization name for Memgraph Enterprise License | `""` |
| `statefulSetAnnotations` | Annotations to add to the stateful set | `{}` |
Expand Down Expand Up @@ -105,7 +105,7 @@ memgraphConfig:
If you are using the Memgraph user, make sure you have secrets set:

```
kubectl create secret generic memgraph-secrets --from-literal=MEMGRAPH_USER=myuser --from-literal=MEMGRAPH_PASSWORD=mypassword
kubectl create secret generic memgraph-secrets --from-literal=USER=myuser --from-literal=PASSWORD=mypassword
```

For all available database settings, refer to the [Configuration settings reference guide](https://memgraph.com/docs/memgraph/reference-guide/configuration).
4 changes: 2 additions & 2 deletions charts/memgraph/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ spec:
valueFrom:
secretKeyRef:
name: {{ .Values.secrets.name }}
key: {{ .Values.secrets.user }}
key: {{ .Values.secrets.userKey }}
- name: MEMGRAPH_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.secrets.name }}
key: {{ .Values.secrets.password }}
key: {{ .Values.secrets.passwordKey }}
{{- end }}
{{ if .Values.memgraphEnterpriseLicense }}
- name: MEMGRAPH_ENTERPRISE_LICENSE
Expand Down
4 changes: 2 additions & 2 deletions charts/memgraph/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ memgraphConfig:
secrets:
enabled: false
name: memgraph-secrets
user: MEMGRAPH_USER
password: MEMGRAPH_PASSWORD
userkey: USER
passwordkey: PASSWORD

## Memgraph Enterprise Licence
# memgraphEnterpriseLicense: "<your-license>"
Expand Down

0 comments on commit cdf5e4b

Please sign in to comment.