Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8SPSMDB-1132: add spec.secrets.keyFile field #370

Open
wants to merge 1 commit into
base: K8SPSMDB-1153-psmdb-1180
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions charts/psmdb-db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@
This chart deploys Percona Server for MongoDB Cluster on Kubernetes controlled by Percona Operator for MongoDB.

Useful links:

- [Operator Github repository](https://github.com/percona/percona-server-mongodb-operator)
- [Operator Documentation](https://www.percona.com/doc/kubernetes-operator-for-psmongodb/index.html)

## Pre-requisites
* Percona Operator for MongoDB running in your Kubernetes cluster. See installation details [here](https://github.com/percona/percona-helm-charts/blob/main/charts/psmdb-operator) or in the [Operator Documentation](https://www.percona.com/doc/kubernetes-operator-for-psmongodb/helm.html).
* Kubernetes 1.27+
* Helm v3

- Percona Operator for MongoDB running in your Kubernetes cluster. See installation details [here](https://github.com/percona/percona-helm-charts/blob/main/charts/psmdb-operator) or in the [Operator Documentation](https://www.percona.com/doc/kubernetes-operator-for-psmongodb/helm.html).
- Kubernetes 1.27+
- Helm v3

# Chart Details

This chart will deploy Percona Server for MongoDB Cluster in Kubernetes. It will create a Custom Resource, and the Operator will trigger the creation of corresponding Kubernetes primitives: StatefulSets, Pods, Secrets, etc.

## Installing the Chart

To install the chart with the `psmdb` release name using a dedicated namespace (recommended):

```sh
Expand Down Expand Up @@ -65,6 +69,7 @@ The chart can be customized using the following configurable parameters:
| |
| `secrets.users` | The name of the Secrets object for the MongoDB users required to run the operator | `""` |
| `secrets.encryptionKey` | Set secret for data at rest encryption key | `""` |
| `secrets.keyFile` | Specifies a secret key file for authenticating MongoDB instances | `""` |
| `secrets.vault` | Specifies a secret object to provide integration with HashiCorp Vault | `""` |
| `secrets.ldapSecret` | Specifies a secret object for LDAP over TLS connection between MongoDB and OpenLDAP server | `""` |
| `secrets.sse` | The name of the Secrets object for server side encryption credentials | `""` |
Expand Down Expand Up @@ -261,7 +266,6 @@ The chart can be customized using the following configurable parameters:
| `backup.tasks` | Backup working schedule | `{}` |
| `systemUsers` | PSMDB operator system users | `{}` |


Specify parameters using `--set key=value[,key=value]` argument to `helm install`
Notice that you can use multiple replica sets only with sharding enabled.

Expand Down
1 change: 1 addition & 0 deletions charts/psmdb-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ secrets: {}
# If not set the operator generates the default secret with name <cluster_name>-secrets
# users: my-cluster-name-secrets
# encryptionKey: my-cluster-name-mongodb-encryption-key
# keyFile: my-cluster-name-mongodb-keyfile
# vault: my-cluster-name-vault
# ldapSecret: my-ldap-secret
# sse: my-cluster-name-sse
Expand Down
2 changes: 2 additions & 0 deletions charts/psmdb-operator/crds/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8860,6 +8860,8 @@ spec:
properties:
encryptionKey:
type: string
keyFile:
type: string
ldapSecret:
type: string
sse:
Expand Down
Loading