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 @@ -1397,6 +1397,7 @@ func (r *CeilometerReconciler) generateComputeServiceConfig(
13971397 "ceilometer_compute_image" : instance .Spec .ComputeImage ,
13981398 "ceilometer_ipmi_image" : instance .Spec .IpmiImage ,
13991399 "TLS" : false ,
1400+ "Region" : keystoneAPI .GetRegion (),
14001401 }
14011402
14021403 // Try to get Application Credential from the secret specified in the CR
@@ -1425,6 +1426,7 @@ func (r *CeilometerReconciler) generateComputeServiceConfig(
14251426 templateParameters ["TLS" ] = true
14261427 templateParameters ["TlsCert" ] = "/etc/ceilometer/tls/tls.crt"
14271428 templateParameters ["TlsKey" ] = "/etc/ceilometer/tls/tls.key"
1429+ templateParameters ["CAFile" ] = tls .DownstreamTLSCABundlePath
14281430 }
14291431
14301432 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