Skip to content
Merged
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
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,17 @@ Set `ADDITIONAL_VALUES_FILES` environment variable to a comma-separated list of
ADDITIONAL_VALUES_FILES=./my-values.yaml make up
```

### PostgreSQL configuration

The `postgresql` value is passed to the PostgreSQL chart. For example, to raise `max_connections` (default 100), put this in a values file and use it via `ADDITIONAL_VALUES_FILES` (or the `additional-values-files` input of the `setup-cf` action):

```yaml
postgresql:
primary:
extendedConfiguration: |
max_connections = 500
```

## Using the `setup-cf` GitHub Action

This repository ships a composite action at `.github/actions/setup-cf` that provisions a full Cloud Foundry environment on a KinD cluster inside a GitHub Actions workflow. After it completes, the generated credentials from `temp/secrets.env` are exported into `$GITHUB_ENV`, so later steps can use the CF CLI directly.
Expand Down
1 change: 1 addition & 0 deletions helmfile.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ releases:
- ./assets/values/postgresql.yaml
- auth:
password: {{ .Values.secrets.dbPassword }}
- {{- toYaml .Values.postgresql | nindent 8 }}

- name: minio
namespace: {{ .Values.systemNamespace }}
Expand Down
1 change: 1 addition & 0 deletions values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ localDeployment: {{ "LOCAL_DEPLOYMENT" | env | default "true" }}
installOptionalComponents: {{ "INSTALL_OPTIONAL_COMPONENTS" | env | default "true" }}
gateway:
infrastructure: {}
postgresql: {}
secrets:
dbPassword: {{ requiredEnv "DB_PASSWORD" }}
blobstorePassword: {{ requiredEnv "BLOBSTORE_PASSWORD" }}
Expand Down
Loading