Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-1258

Implement DISABLE_UPDATES environment variable for PMM Server Docker container

    Details

    • Type: New Feature
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: docker, PMM Server
    • Labels:
      None
    • Story Points:
      1

      Description

      Implement DISABLE_UPDATES environment variable for PMM Server Docker container. "-e DISABLE_UPDATES=1" or "-e DISABLE_UPDATES=true" (strconv.ParseBool() in Go code) should:

      1. Hide Update option from the UI;
      2. Return error if customer tries to run update by any means.

      Note: we don't have ACLs in PMM yet so no other check is required.

      from Peter Zaitsev email

      I know in theory Docker container suppose to be immutable and docker purrists would hate that but we have docker way for them.
      I think however we should have the option (variable?) which can disable update functionality while starting docker container - if someone wants to do it manually.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  borys.belinsky Borys Belinsky
                  Reporter:
                  mykola.marzhan Mykola Marzhan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: