Skip to content
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
2 changes: 1 addition & 1 deletion charts/capsule/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ The following Values have changed key or Value:
| manager.options.forceTenantPrefix | bool | `false` | Boolean, enforces the Tenant owner, during Namespace creation, to name it using the selected Tenant name as prefix, separated by a dash |
| manager.options.generateCertificates | bool | `true` | Specifies whether capsule webhooks certificates should be generated by capsule operator |
| manager.options.ignoreUserWithGroups | list | `[]` | Define groups which when found in the request of a user will be ignored by the Capsule this might be useful if you have one group where all the users are in, but you want to separate administrators from normal users with additional groups. |
| manager.options.impersonation | object | `{}` | Impersonation |
| manager.options.impersonation | object | `{"tenantDefaultServiceAccount":"default"}` | Impersonation |
| manager.options.labels | object | `{}` | Additional labels to add to the CapsuleConfiguration resource |
| manager.options.leaderElection.enabled | bool | `true` | Enable Leader Election for capsule controller |
| manager.options.leaderElection.leaseDuration | string | `""` | Leader election lease duration. Empty uses controller-runtime's default. |
Expand Down
8 changes: 7 additions & 1 deletion charts/capsule/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,13 @@
},
"impersonation": {
"description": "Impersonation",
"type": "object"
"type": "object",
"properties": {
"tenantDefaultServiceAccount": {
"type": "string"
}
Comment on lines +476 to +478
},
"additionalProperties": true
},
"labels": {
"description": "Additional labels to add to the CapsuleConfiguration resource",
Expand Down
11 changes: 10 additions & 1 deletion charts/capsule/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,17 @@ manager:
deleter: capsule-namespace-deleter
# -- Name for the ClusterRole required to grant Namespace Provision permissions.
provisioner: capsule-namespace-provisioner

# @schema type: object
# @schema additionalProperties: true
# -- Impersonation
impersonation: {}
impersonation:
# Default ServiceAccount for tenant resources (TenantResource) [Namespaced Scope]
# When defined, users are required to use this ServiceAccount anywhere in the cluster
# unless they explicitly provide their own. Once this is set, Capsule will add this ServiceAccount
# for all GlobalTenantResources, if they don't already have a ServiceAccount defined.
tenantDefaultServiceAccount: "default"
Comment on lines +308 to +312

# Tracing Configuration
tracing:
# -- Enable OpenTelemetry tracing for admission webhook requests.
Expand Down