Skip to content

Commit

Permalink
Merge pull request #437 from fao89/heatsecrets
Browse files Browse the repository at this point in the history
Add missing CustomConfigSecretsFileName to service config-data
  • Loading branch information
openshift-merge-bot[bot] authored Oct 11, 2024
2 parents 66099e9 + f590a2c commit 937d484
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions controllers/heatapi_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,7 @@ func (r *HeatAPIReconciler) generateServiceSecrets(
}
customData[heat.DefaultsConfigFileName] = string(heatSecret.Data[heat.DefaultsConfigFileName])
customData[heat.CustomConfigFileName] = string(heatSecret.Data[heat.CustomConfigFileName])
customData[heat.CustomConfigSecretsFileName] = string(heatSecret.Data[heat.CustomConfigSecretsFileName])

customSecrets := ""
for _, secretName := range instance.Spec.CustomServiceConfigSecrets {
Expand Down
1 change: 1 addition & 0 deletions controllers/heatcfnapi_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@ func (r *HeatCfnAPIReconciler) generateServiceSecrets(
}
customData[heat.DefaultsConfigFileName] = string(heatSecret.Data[heat.DefaultsConfigFileName])
customData[heat.CustomConfigFileName] = string(heatSecret.Data[heat.CustomConfigFileName])
customData[heat.CustomConfigSecretsFileName] = string(heatSecret.Data[heat.CustomConfigSecretsFileName])

customSecrets := ""
for _, secretName := range instance.Spec.CustomServiceConfigSecrets {
Expand Down
1 change: 1 addition & 0 deletions controllers/heatengine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ func (r *HeatEngineReconciler) generateServiceSecrets(
}
customData[heat.DefaultsConfigFileName] = string(heatSecret.Data[heat.DefaultsConfigFileName])
customData[heat.CustomConfigFileName] = string(heatSecret.Data[heat.CustomConfigFileName])
customData[heat.CustomConfigSecretsFileName] = string(heatSecret.Data[heat.CustomConfigSecretsFileName])

customSecrets := ""
for _, secretName := range instance.Spec.CustomServiceConfigSecrets {
Expand Down

0 comments on commit 937d484

Please sign in to comment.