Skip to content

chao: ensure volumeMounts key present when tls identity supplied#138

Merged
philgebhardt merged 1 commit intomasterfrom
EN-9400/volume-mounts
Feb 10, 2026
Merged

chao: ensure volumeMounts key present when tls identity supplied#138
philgebhardt merged 1 commit intomasterfrom
EN-9400/volume-mounts

Conversation

@philgebhardt
Copy link
Contributor

@philgebhardt philgebhardt commented Feb 10, 2026

without this, it's possible to get an invalid yaml document when ssl.certDir is not supplied, but values under chao.tls.identity are supplied.

It's not yet clear to me why the unit tests don't catch this.

The problem with the existing unit tests is they relied on default values for defining gremlin auth gremlin.secret. I've split relevant test suites into new ones that run a bunch of tests using cert auth and secret auth, which catches the bug without the fix.

@philgebhardt philgebhardt requested review from a team as code owners February 10, 2026 19:31
without this, it's possible to get an invalid yaml document when
`ssl.certDir` is not supplied, but values under `chao.tls.identity` are
supplied.

It's not yet clear to me why the unit tests don't catch this.
@philgebhardt philgebhardt merged commit 0f7e892 into master Feb 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants