Skip to content

Commit

Permalink
Merge pull request #577 from abays/finalize_heat_defaults
Browse files Browse the repository at this point in the history
Use standard pattern to initialize Heat defaults
  • Loading branch information
openshift-merge-bot[bot] authored Dec 1, 2023
2 parents 7e7add2 + 2c0f4a8 commit c9bf744
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,7 @@ func setupServiceOperatorDefaults() {
placementv1.SetupDefaults()

// Heat
heatDefaults := heatv1.HeatDefaults{
APIContainerImageURL: os.Getenv("RELATED_IMAGE_HEAT_API_IMAGE_URL_DEFAULT"),
CfnAPIContainerImageURL: os.Getenv("RELATED_IMAGE_HEAT_CFNAPI_IMAGE_URL_DEFAULT"),
EngineContainerImageURL: os.Getenv("RELATED_IMAGE_HEAT_ENGINE_IMAGE_URL_DEFAULT"),
}

heatv1.SetupHeatDefaults(heatDefaults)
heatv1.SetupDefaults()

// Redis
redisv1.SetupDefaults()
Expand Down

0 comments on commit c9bf744

Please sign in to comment.