[bitnami/mongodb-sharded] fix: 🔒 Move service-account token auto-mount to pod declaration (#22438)

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
Javier J. Salmerón-García
2024-01-19 10:22:46 +01:00
committed by GitHub
parent bede78afe7
commit 249eddea3f
7 changed files with 21 additions and 1 deletions

View File

@@ -152,6 +152,7 @@ The command removes all the Kubernetes components associated with the chart and
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| `configsvr.replicaCount` | Number of nodes in the replica set (the first node will be primary) | `1` |
| `configsvr.resources` | Configure pod resources | `{}` |
| `configsvr.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `configsvr.hostAliases` | Deployment pod host aliases | `[]` |
| `configsvr.mongodbExtraFlags` | MongoDB&reg; additional command line flags | `[]` |
| `configsvr.topologySpreadConstraints` | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | `[]` |
@@ -243,6 +244,7 @@ The command removes all the Kubernetes components associated with the chart and
| ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------- |
| `mongos.replicaCount` | Number of replicas | `1` |
| `mongos.resources` | Configure pod resources | `{}` |
| `mongos.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `mongos.hostAliases` | Deployment pod host aliases | `[]` |
| `mongos.mongodbExtraFlags` | MongoDB&reg; additional command line flags | `[]` |
| `mongos.topologySpreadConstraints` | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | `[]` |
@@ -349,6 +351,7 @@ The command removes all the Kubernetes components associated with the chart and
| `shardsvr.dataNode.tolerations` | Data nodes Tolerations for pod assignment | `[]` |
| `shardsvr.dataNode.podManagementPolicy` | podManagementPolicy for the statefulset, allows parallel startup of pods | `OrderedReady` |
| `shardsvr.dataNode.updateStrategy.type` | updateStrategy for MongoDB&reg; Primary, Secondary and Arbiter statefulsets | `RollingUpdate` |
| `shardsvr.dataNode.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `shardsvr.dataNode.hostAliases` | Deployment pod host aliases | `[]` |
| `shardsvr.dataNode.config` | Entries for the MongoDB&reg; config file | `""` |
| `shardsvr.dataNode.configCM` | ConfigMap name with MongoDB&reg; configuration (cannot be used with shardsvr.dataNode.config) | `""` |
@@ -427,6 +430,7 @@ The command removes all the Kubernetes components associated with the chart and
| Name | Description | Value |
| -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ---------------- |
| `shardsvr.arbiter.replicaCount` | Number of arbiters in each shard replica set (the first node will be primary) | `0` |
| `shardsvr.arbiter.automountServiceAccountToken` | Mount Service Account token in pod | `false` |
| `shardsvr.arbiter.hostAliases` | Deployment pod host aliases | `[]` |
| `shardsvr.arbiter.resources` | Configure pod resources | `{}` |
| `shardsvr.arbiter.mongodbExtraFlags` | MongoDB&reg; additional command line flags | `[]` |