Skip to content

Commit 303ffd9

Browse files
committed
[OSPRH-13961] Remove the creation of the external Prometheus route
Prometheus will only be exposing an internal route from now on so it makes sense to use the Internal certificate for that.
1 parent 0202328 commit 303ffd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/openstack/telemetry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func ReconcileTelemetry(ctx context.Context, instance *corev1beta1.OpenStackCont
205205
return ctrlResult, nil
206206
}
207207
// update TLS settings with cert secret
208-
instance.Spec.Telemetry.Template.MetricStorage.PrometheusTLS.SecretName = endpointDetails.GetEndptCertSecret(service.EndpointPublic)
208+
instance.Spec.Telemetry.Template.MetricStorage.PrometheusTLS.SecretName = endpointDetails.GetEndptCertSecret(service.EndpointInternal)
209209

210210
// TODO: rewrite this once we have TLS on alertmanager
211211
for _, alertmanagerSvc := range alertmanagerSvcs.Items {

0 commit comments

Comments
 (0)