Skip to content

fix: don't mount trust bundles with own cert-manager#46

Merged
thesuperzapper merged 1 commit into
deployKF:mainfrom
thesuperzapper:own-cert-manager-trust-bundles
Oct 31, 2023
Merged

fix: don't mount trust bundles with own cert-manager#46
thesuperzapper merged 1 commit into
deployKF:mainfrom
thesuperzapper:own-cert-manager-trust-bundles

Conversation

@thesuperzapper

Copy link
Copy Markdown
Member

This PR fixes a bug where we followed the self-signed gateway code path when the user brought their own cert-manager deployment, unless they explicitly did something like disabling deploykf_dependencies.cert_manager.clusterIssuer.enabled.

As there is no reasonable case where someone would want to bring their own cert-manager but use a self-signed certificate, we now assume that the gateway is NOT using a self-signed certificate, when the user brings their own cert-manager.

This primarily fixes an issue where Pods would fail to start because we would try and mount the trust-manager Bundle ConfigMaps as volumes on Pods, but the Bundle would not exist when the user disables the embedded cert-manager.

@thesuperzapper thesuperzapper added this to the v0.1.3 milestone Oct 31, 2023
@thesuperzapper
thesuperzapper merged commit e9b276e into deployKF:main Oct 31, 2023
@thesuperzapper
thesuperzapper deleted the own-cert-manager-trust-bundles branch October 31, 2023 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant