Upgrading Minio

Upgrade Minio Helm chart from Version 1.6.0 to Version 1.6.2 in your IBM® Cloud Private cluster.

Your Minio service is automatically upgraded if you configured Minio service in IBM Cloud Private Version 3.1.1 or 3.1.0 in one of the following ways:

Note: Minio service rollback is supported only in standalone mode.

In the previous releases, if you configured Minio by installing the Helm chart, complete the steps in the sections that follow.

You can upgrade Minio Helm installation either by using the Helm CLI or by using the management console.

Upgrade Minio by using the Helm CLI

  1. Get the configuration value of the installed Helm release by using the following command:

    helm list --tls | grep mini
    minio                         1           Tue Feb  5 01:56:31 2019    DEPLOYED    ibm-mino-objectstore-1.6.0         default
    
    helm get values <Helm release name> --tls > values-minio.yaml
    

    For example, if your Helm release name is minio, run the following command:

     helm get values minio --tls > values-minio.yaml
    
  2. Create an override file.

    Note: In the Version 1.6.2 of the Minio Helm chart, the configuration variables minioAccessSercret and tls.minioTlsSercret are corrected to minioAccessSecret and tls.minioTlsSercret. You must populate these variables in the override file based on the values of the old variables.

    Create the following override file:

     minioAccessSecret: minio
     tls:
       minioTlsSecret: ""
    

    Note:

    • The value of minioAccessSecret can be obtained from old values-minio.yaml from the variable minioAccessSercret.
      minioAccessSercret: minio
      
    • If you enabled TLS for Minio server and configured TLS certificate provision option to provided, the value of tls.minioTlsSecret can be obtained from old values-minio.yaml from the variable tls.minioTlsSercret.

      tls:
        minioTlsSercret: "minio-tls-secret"
      

      If you did not enable TLS for Minio server and did not configure TLS certificate provision option to provided, you do not need to add tls.minioTlsSecret in override file.

  3. Upgrade the chart.

    Run the following command to upgrade the chart:

      helm upgrade --force -f values-minio.yaml -f override.yaml --version=1.6.2 minio ibm-charts/ibm-minio-objectstore --tls
    
  4. Verify your chart version.

    helm history minio --tls
    

    Following is a sample output:

    REVISION    UPDATED                     STATUS        CHART                          DESCRIPTION     
    1           Tue Feb  5 01:56:31 2019    SUPERSEDED    ibm-minio-objectstore-1.6.0    Install complete
    2           Tue Feb  5 02:37:06 2019    DEPLOYED      ibm-minio-objectstore-1.6.2    Upgrade complete
    

Upgrade Minio by using the management console

  1. Log on to the management console.
  2. From the navigation menu, click Workloads > Helm Releases.
  3. Locate the Minio release.
  4. Click ACTION > Upgrade.
  5. Select version 1.6.2.
    Note: The following steps are necessary as the variable names are changed in the lastet version of the Helm chart.
  6. Specify the old Access Secret value in the Access Secret field.
  7. In the previous versions, if you enabled TLS for Minio server and configured TLS certificate provision option to provided, specify the old Minio TLS secret value in the Minio TLS secret field.