Fix default UID of root in FoundationDB app chart

Signed-off-by: Isaiah Olson <isaiah@olson-network.com>
This commit is contained in:
Isaiah Olson
2025-09-14 05:28:25 -05:00
parent 5b58ec5cdd
commit c6ec3168f7
3 changed files with 50 additions and 54 deletions

View File

@@ -139,37 +139,37 @@ For Cozystack-specific issues, consult the Cozystack documentation or support ch
### Common parameters
| Name | Description | Type | Value |
| ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | ----------------------- |
| `replicas` | Number of FoundationDB replicas (total instances) | `int` | `3` |
| `cluster` | Cluster configuration | `object` | `{}` |
| `cluster.processCounts` | Process counts for different roles | `object` | `{}` |
| `cluster.processCounts.stateless` | Number of stateless processes (-1 for automatic) | `int` | `-1` |
| `cluster.processCounts.storage` | Number of storage processes | `int` | `3` |
| `cluster.processCounts.cluster_controller` | Number of cluster controller processes | `int` | `1` |
| `cluster.version` | Version of FoundationDB to use | `string` | `7.3.63` |
| `cluster.faultDomain` | Fault domain configuration | `object` | `{}` |
| `cluster.faultDomain.key` | Fault domain key | `string` | `foundationdb.org/none` |
| `cluster.faultDomain.valueFrom` | Fault domain value source | `string` | `$FDB_ZONE_ID` |
| `storage` | Storage configuration | `object` | `{}` |
| `storage.size` | Size of persistent volumes for each instance | `quantity` | `16Gi` |
| `storage.storageClass` | Storage class (if not set, uses cluster default) | `string` | `""` |
| `resources` | Explicit CPU and memory configuration for each FoundationDB instance. When left empty, the preset defined in `resourcesPreset` is applied. | `*object` | `{}` |
| `resources.cpu` | CPU available to each instance | `*quantity` | `null` |
| `resources.memory` | Memory (RAM) available to each instance | `*quantity` | `null` |
| `resourcesPreset` | Default sizing preset used when `resources` is omitted. Allowed values: `small`, `medium`, `large`, `xlarge`, `2xlarge`. | `string` | `medium` |
| `backup` | Backup configuration | `object` | `{}` |
| `backup.enabled` | Enable backups | `bool` | `false` |
| `backup.s3` | S3 configuration for backups | `object` | `{}` |
| `backup.s3.bucket` | S3 bucket name | `string` | `""` |
| `backup.s3.endpoint` | S3 endpoint URL | `string` | `""` |
| `backup.s3.region` | S3 region | `string` | `us-east-1` |
| `backup.s3.credentials` | S3 credentials | `object` | `{}` |
| `backup.s3.credentials.accessKeyId` | S3 access key ID | `string` | `""` |
| `backup.s3.credentials.secretAccessKey` | S3 secret access key | `string` | `""` |
| `backup.retentionPolicy` | Retention policy for backups | `string` | `7d` |
| `monitoring` | Monitoring configuration | `object` | `{}` |
| `monitoring.enabled` | Enable WorkloadMonitor integration | `bool` | `true` |
| Name | Description | Type | Value |
| ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | ------------------------ |
| `replicas` | Number of FoundationDB replicas (total instances) | `int` | `3` |
| `cluster` | Cluster configuration | `object` | `{}` |
| `cluster.processCounts` | Process counts for different roles | `object` | `{}` |
| `cluster.processCounts.stateless` | Number of stateless processes (-1 for automatic) | `int` | `-1` |
| `cluster.processCounts.storage` | Number of storage processes | `int` | `0` |
| `cluster.processCounts.cluster_controller` | Number of cluster controller processes | `int` | `1` |
| `cluster.version` | Version of FoundationDB to use | `string` | `7.3.63` |
| `cluster.faultDomain` | Fault domain configuration | `object` | `{}` |
| `cluster.faultDomain.key` | Fault domain key | `string` | `kubernetes.io/hostname` |
| `cluster.faultDomain.valueFrom` | Fault domain value source | `string` | `spec.nodeName` |
| `storage` | Storage configuration | `object` | `{}` |
| `storage.size` | Size of persistent volumes for each instance | `quantity` | `16Gi` |
| `storage.storageClass` | Storage class (if not set, uses cluster default) | `string` | `""` |
| `resources` | Explicit CPU and memory configuration for each FoundationDB instance. When left empty, the preset defined in `resourcesPreset` is applied. | `*object` | `{}` |
| `resources.cpu` | CPU available to each instance | `*quantity` | `null` |
| `resources.memory` | Memory (RAM) available to each instance | `*quantity` | `null` |
| `resourcesPreset` | Default sizing preset used when `resources` is omitted. Allowed values: `small`, `medium`, `large`, `xlarge`, `2xlarge`. | `string` | `medium` |
| `backup` | Backup configuration | `object` | `{}` |
| `backup.enabled` | Enable backups | `bool` | `false` |
| `backup.s3` | S3 configuration for backups | `object` | `{}` |
| `backup.s3.bucket` | S3 bucket name | `string` | `""` |
| `backup.s3.endpoint` | S3 endpoint URL | `string` | `""` |
| `backup.s3.region` | S3 region | `string` | `us-east-1` |
| `backup.s3.credentials` | S3 credentials | `object` | `{}` |
| `backup.s3.credentials.accessKeyId` | S3 access key ID | `string` | `""` |
| `backup.s3.credentials.secretAccessKey` | S3 secret access key | `string` | `""` |
| `backup.retentionPolicy` | Retention policy for backups | `string` | `7d` |
| `monitoring` | Monitoring configuration | `object` | `{}` |
| `monitoring.enabled` | Enable WorkloadMonitor integration | `bool` | `true` |
### FoundationDB configuration
@@ -179,7 +179,7 @@ For Cozystack-specific issues, consult the Cozystack documentation or support ch
| `customParameters` | Custom parameters to pass to FoundationDB | `[]string` | `[]` |
| `imageType` | Container image deployment type (split recommended for production) | `string` | `split` |
| `securityContext` | Security context for containers | `object` | `{}` |
| `securityContext.runAsUser` | User ID to run the container | `int` | `0` |
| `securityContext.runAsGroup` | Group ID to run the container | `int` | `0` |
| `securityContext.runAsUser` | User ID to run the container | `int` | `4059` |
| `securityContext.runAsGroup` | Group ID to run the container | `int` | `4059` |
| `automaticReplacements` | Enable automatic pod replacements | `bool` | `true` |

View File

@@ -102,13 +102,12 @@
"type": "object",
"default": {
"faultDomain": {
"key": "foundationdb.org/none",
"valueFrom": "$FDB_ZONE_ID"
"key": "kubernetes.io/hostname",
"valueFrom": "spec.nodeName"
},
"processCounts": {
"cluster_controller": 1,
"stateless": -1,
"storage": 3
"stateless": -1
},
"version": "7.3.63"
},
@@ -122,8 +121,8 @@
"description": "Fault domain configuration",
"type": "object",
"default": {
"key": "foundationdb.org/none",
"valueFrom": "$FDB_ZONE_ID"
"key": "kubernetes.io/hostname",
"valueFrom": "spec.nodeName"
},
"required": [
"key",
@@ -133,12 +132,12 @@
"key": {
"description": "Fault domain key",
"type": "string",
"default": "foundationdb.org/none"
"default": "kubernetes.io/hostname"
},
"valueFrom": {
"description": "Fault domain value source",
"type": "string",
"default": "$FDB_ZONE_ID"
"default": "spec.nodeName"
}
}
},
@@ -147,8 +146,7 @@
"type": "object",
"default": {
"cluster_controller": 1,
"stateless": -1,
"storage": 3
"stateless": -1
},
"required": [
"cluster_controller",
@@ -168,8 +166,7 @@
},
"storage": {
"description": "Number of storage processes",
"type": "integer",
"default": 3
"type": "integer"
}
}
},
@@ -268,8 +265,8 @@
"description": "Security context for containers",
"type": "object",
"default": {
"runAsGroup": 0,
"runAsUser": 0
"runAsGroup": 4059,
"runAsUser": 4059
},
"required": [
"runAsGroup",
@@ -279,12 +276,12 @@
"runAsGroup": {
"description": "Group ID to run the container",
"type": "integer",
"default": 0
"default": 4059
},
"runAsUser": {
"description": "User ID to run the container",
"type": "integer",
"default": 0
"default": 4059
}
}
},

View File

@@ -19,14 +19,13 @@ replicas: 3
cluster:
processCounts:
stateless: -1 # Automatically calculated
storage: 3 # Storage processes
cluster_controller: 1
version: "7.3.63"
faultDomain:
key: "foundationdb.org/none"
valueFrom: "$FDB_ZONE_ID"
key: "kubernetes.io/hostname"
valueFrom: "spec.nodeName"
## @param storage {storage} Storage configuration
## @field storage.size {quantity} Size of persistent volumes for each instance
@@ -85,8 +84,8 @@ imageType: "split"
## @field securityContext.runAsUser {int} User ID to run the container
## @field securityContext.runAsGroup {int} Group ID to run the container
securityContext:
runAsUser: 0
runAsGroup: 0
runAsUser: 4059
runAsGroup: 4059
## @param automaticReplacements {bool} Enable automatic pod replacements
automaticReplacements: true