1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00

5 Commits

Author SHA1 Message Date
Deirdre Malone
e8790e844d chore(deps): update go version to 1.24.8 (PROJQUAY-9842) (#4653)
Update go version 1.24.8
Fix for CVE-2025-58183
2025-12-02 15:54:36 +00:00
Michaela Lang
2c24975dbb federationuser(ldap): fixing keepalive settings for LDAP connections (PROJQUAY-5137) (#2440)
fixed field names for keepalive attributes.

* scenario1: config-tool empty configuration
** expectation: empty config for DB_CONNECTION_ARGS
```
$ curl -s http://localhost/api/v1/config | jq -r '."config.yaml".DB_CONNECTION_ARGS'
{}
```

* scenario2: config-tool with populated DB_CONNECTION_ARGS
** expectation: values are returned in DB_CONNECTION_ARGS
```
$ curl -s http://localhost/api/v1/config | jq -r '."config.yaml".DB_CONNECTION_ARGS'
{
  "autorollback": true,
  "keepalives": 1,
  "keepalives_count": 5,
  "keepalives_idle": 3,
  "keepalives_interval": 4,
  "max_connections": 30,
  "sslcompression": 1,
  "stale_timeout": 300,
  "tcp_user_timeout": 1000
}
```

* scenario3: config-tool with populated DB_CONNECTION_ARGS wrong type
** expectation: config-tool validate will bailout the wrong type in the
parameter
```
$ podman run -ti --rm --name config-tool -v config.yaml:/tmp/config.yaml config-tool:latest validate --configDir /tmp -m online
FATA[0000] An error occurred during validation. Process could not marshal config.yaml. This is most likely due to an incorrect type.
More info: keepalives must be of type int
```
2023-11-07 16:58:30 +01:00
Oleg Bulatov
9ab64f2052 feat(config-tool): add SSL client authentication (PROJQUAY-2417) (#2157)
* Add SSL client authentication by extending libpg connection parameter support as well as network parameters

* chore: go fmt

---------

Co-authored-by: Michaela Lang <milang@redhat.com>
2023-08-29 10:47:37 +02:00
Oleg Bulatov
02463a7e1a chore: Rename github.com/quay/config-tool to github.com/quay/quay/config-tool 2023-07-31 17:28:58 +02:00
Oleg Bulatov
0429d79696 chore: Move config-tool into its own directory 2023-07-28 16:34:05 +02:00