File tree Expand file tree Collapse file tree
templates/ceilometercompute/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1392,6 +1392,7 @@ func (r *CeilometerReconciler) generateComputeServiceConfig(
13921392 "ceilometer_compute_image" : instance .Spec .ComputeImage ,
13931393 "ceilometer_ipmi_image" : instance .Spec .IpmiImage ,
13941394 "TLS" : false ,
1395+ "Region" : keystoneAPI .GetRegion (),
13951396 }
13961397
13971398 // Try to get Application Credential from the secret specified in the CR
@@ -1420,6 +1421,7 @@ func (r *CeilometerReconciler) generateComputeServiceConfig(
14201421 templateParameters ["TLS" ] = true
14211422 templateParameters ["TlsCert" ] = "/etc/ceilometer/tls/tls.crt"
14221423 templateParameters ["TlsKey" ] = "/etc/ceilometer/tls/tls.key"
1424+ templateParameters ["CAFile" ] = tls .DownstreamTLSCABundlePath
14231425 }
14241426
14251427 cms := []util.Template {
Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ interface = internalURL
2424{{ if (index . "Region") -}}
2525region_name = {{ .Region }}
2626{{ end -}}
27+ {{- if .TLS }}
28+ cafile = {{ .CAFile }}
29+ {{- end }}
2730
2831[compute]
2932instance_discovery_method=libvirt_metadata
You can’t perform that action at this time.
0 commit comments