Skip to content

Commit

Permalink
remove --default-console-image parameter (#1589)
Browse files Browse the repository at this point in the history
this parameter has no effect, minio uses the embedded console version in the minio binary, not an separated container image

Signed-off-by: pjuarezd <pjuarezd@users.noreply.github.com>
  • Loading branch information
pjuarezd authored Apr 26, 2023
1 parent e269d70 commit 005f65b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions kubectl-minio/cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ func newInitCmd(out io.Writer, errOut io.Writer) *cobra.Command {
f.BoolVar(&o.operatorOpts.ConsoleTLS, "console-tls", false, "enable tls for Operator console")
f.BoolVar(&o.operatorOpts.STS, "sts", false, "enable Operator sts (v1alpha1)")
f.StringVar(&o.operatorOpts.TenantMinIOImage, "default-minio-image", "", "default tenant MinIO image")
f.StringVar(&o.operatorOpts.TenantConsoleImage, "default-console-image", "", "default tenant Console image")
f.StringVar(&o.operatorOpts.TenantKesImage, "default-kes-image", "", "default tenant KES image")
f.StringVar(&o.operatorOpts.PrometheusNamespace, "prometheus-namespace", "", "namespace of the prometheus managed by prometheus-operator")
f.StringVar(&o.operatorOpts.PrometheusName, "prometheus-name", "", "name of the prometheus managed by prometheus-operator")
Expand Down Expand Up @@ -183,16 +182,6 @@ func (o *operatorInitCmd) run(writer io.Writer) error {
},
})
}
if o.operatorOpts.TenantConsoleImage != "" {
operatorDepPatches = append(operatorDepPatches, opInterface{
Op: "add",
Path: "/spec/template/spec/containers/0/env/0",
Value: corev1.EnvVar{
Name: "TENANT_CONSOLE_IMAGE",
Value: o.operatorOpts.TenantConsoleImage,
},
})
}
if o.operatorOpts.TenantKesImage != "" {
operatorDepPatches = append(operatorDepPatches, opInterface{
Op: "add",
Expand Down

0 comments on commit 005f65b

Please sign in to comment.