You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer, I don't want to care if ARO_IMAGE is set or not if I'm not working on that part of the code. We should have sane defaults.
Currently, after operator merged it is required for devs to set ARO_IMAGE for aro rp to work.
the suggestion was to use:
func (d *dev) AROOperatorImage() string {
override := os.Getenv("ARO_IMAGE")
tag := vesiong.GitCommit
if override != "" {
return override
}
# in case we running on dirty code without override:
if tag == "unknown"{
tag = "master"
}
return fmt.Sprintf("%s.azurecr.io/aro:%s", d.acrName, tag)
}
As a developer, I don't want to care if
ARO_IMAGE
is set or not if I'm not working on that part of the code. We should have sane defaults.Currently, after operator merged it is required for devs to set
ARO_IMAGE
for aro rp to work.the suggestion was to use:
For discussion @asalkeld @jim-minter @ehashman
The text was updated successfully, but these errors were encountered: