Skip to content

Commit

Permalink
operator: Fix lookup CA Bundle options on fresh install (grafana#7596)
Browse files Browse the repository at this point in the history
  • Loading branch information
periklis authored and changhyuni committed Nov 8, 2022
1 parent 8475c27 commit 80cbd84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions operator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Main

- [7596](https://github.com/grafana/loki/pull/7596) **periklis**: Fix fresh-installs with built-in cert management enabled
- [7064](https://github.com/grafana/loki/pull/7064) **periklis**: Add support for built-in cert management
- [7471](https://github.com/grafana/loki/pull/7471) **aminesnow**: Expose and migrate query_timeout in limits config
- [7437](https://github.com/grafana/loki/pull/7437) **aminesnow**: Fix Custom TLS profile setting for LokiStack on OpenShift
- [7415](https://github.com/grafana/loki/pull/7415) **aminesnow**: Add alert relabel config
Expand Down
4 changes: 4 additions & 0 deletions operator/internal/handlers/internal/certificates/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ func configureCertificatesForTenantMode(certs certrotation.ComponentCertificates
}

func configureCABundleForTenantMode(cm *corev1.ConfigMap, mode lokiv1.ModeType) {
if cm == nil {
return
}

switch mode {
case "", lokiv1.Dynamic, lokiv1.Static:
return
Expand Down

0 comments on commit 80cbd84

Please sign in to comment.