@@ -38,7 +38,7 @@ func getFromEnvOrDefault(key, def string) string {
3838
3939// Options is the data structure that contains information about mysql operator configuration
4040type Options struct {
41- HelperImage string
41+ SidecarImage string
4242
4343 MetricsExporterImage string
4444
@@ -93,13 +93,13 @@ const (
9393)
9494
9595var (
96- defaultHelperImage = "quay.io/presslabs/mysql-helper :" + util .AppVersion
96+ defaultSidecarImage = "quay.io/presslabs/mysql-operator-sidecar :" + util .AppVersion
9797 defaultJobGraceTime = 24 * time .Hour
9898)
9999
100100// AddFlags registers all mysql-operator needed flags
101101func (o * Options ) AddFlags (fs * pflag.FlagSet ) {
102- fs .StringVar (& o .HelperImage , "helper -image" , defaultHelperImage ,
102+ fs .StringVar (& o .SidecarImage , "sidecar -image" , defaultSidecarImage ,
103103 "The image that instrumentate mysql." )
104104
105105 fs .StringVar (& o .MetricsExporterImage , "metrics-exporter-image" , defaultExporterImage ,
@@ -135,7 +135,7 @@ var once sync.Once
135135func GetOptions () * Options {
136136 once .Do (func () {
137137 instance = & Options {
138- HelperImage : defaultHelperImage ,
138+ SidecarImage : defaultSidecarImage ,
139139 MetricsExporterImage : defaultExporterImage ,
140140
141141 ImagePullPolicy : defaultImagePullPolicy ,
0 commit comments