Installation settings
Settings an operator changes for the whole installation, on a single host and on Kubernetes, such as how long the audit log is kept and the storage budget.
Installation settings apply to every workspace. Workspace administrators see their effect in the browser but cannot change them.
Change a setting
-
In the installation directory, set a
.envkey, for exampleCORFEDO_AUDIT_RETENTION=30.00:00:00. Set a platform variable on theplatformservice incompose.override.yaml:services: platform: environment: CORFEDO_Repositories__CredentialMasking: Always -
Apply it to the installed release:
sh ~/corfedo/install.sh update --version "$(cat ~/corfedo/VERSION)". Changing a PostgreSQL setting stops Corfedo briefly. Other settings restart only the services they affect. -
Check:
sh ~/corfedo/install.sh statusshows the installation as ready.
To go back to the default, remove the line, then run update again.
Settings
| Setting | Single host | Kubernetes | What it does |
|---|---|---|---|
| Audit log retention | .env: CORFEDO_AUDIT_RETENTION | platform.env: CORFEDO_Audit__Retention | How long the audit log is kept, as days.hh:mm:ss, at least one day. Empty by default: no limit. Within an hour of an entry passing the limit, it is deleted, and the network address and browser stored with Corfedo AI answers of that age are cleared. The answers stay. Administrators see the limit in Settings › Privacy. |
| Storage budget | .env: CORFEDO_STORAGE_BUDGET_GIB, 32 or the answer given at install | storage.budgetGiB, required, at least 16 | How many GiB the indexes may take in artifact storage |
| Largest build | .env: CORFEDO_MAXIMUM_BUILD_BYTES, 2147483648 (2 GiB) | 16 GiB. The values file has no setting for it. | The largest index one build may write. A larger repository fails with The repository exceeds the indexer’s limits. |
| Credential masking | compose.override.yaml: CORFEDO_Repositories__CredentialMasking | platform.env: CORFEDO_Repositories__CredentialMasking | WorkspaceChoice by default. Always requires credential masking in every workspace. |
| Trace levels for administrators | compose.override.yaml: CORFEDO_Ai__Traces__AdministratorLevels | platform.env: CORFEDO_Ai__Traces__AdministratorLevels | The highest levels All traces may show on the Privacy page, Structure, Content, Costs by default. A comma-separated list of Structure, optionally with Content and Costs, or None to turn All traces off. |
| Connections Corfedo opens | compose.override.yaml: CORFEDO_Database__MaxConnections, 80 | roles.<role>.maxConnections, per pod of the role | The most PostgreSQL connections Corfedo opens. On a single host the bundled PostgreSQL's 120 also cover the bundled Keycloak's 20 and administration. |
| Connections PostgreSQL accepts | .env: CORFEDO_POSTGRES_MAX_CONNECTIONS, 120 | database.maxConnections, required: your server's max_connections | Raise it by as much as the connections Corfedo opens. On Kubernetes, helm upgrade stops when the replicas need more, see PostgreSQL. |
| PostgreSQL shared buffers | .env: CORFEDO_POSTGRES_SHARED_BUFFERS, 512MB | Your server's setting, or postgresql.sharedBuffers with postgresql.enabled | Raise it, for example to 2GB, on a host with much more memory and many repositories |
Related
Back up and restore
What to back up from a Kubernetes installation of Corfedo, what happens when the database is older than the bucket, and how to restore the installation.
Security
What an installation exposes on the network, where its secrets are kept, how to recover sign-in and how to clear a network list that locks everyone out, on a single host and on Kubernetes.