Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • W wordpress-helm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • open
  • wordpress-helm
  • Issues
  • #50
Closed
Open
Issue created Mar 25, 2020 by Arie Peterson@arie🐚Maintainer

Change default value of docker image tags

Currently, values.yaml specifies master as the default value of image.tag and initImage.tag. However, installing the chart with those values will lead to problems for a longer-lived deployment: at some point the interface between the chart and the image (for example the set of ansible variables that are set through the ansibleSecrets helm value) will change, and if the wordpress pod is then restarted for any reason, it will download the new image which will fail to run.

One way to deal with this is to

  1. have a version number;
  2. promise to not change the image interface in minor versions, or only in a backwards-compatible way – that is, allow an older deployment to use an image with higher minor version;
  3. push docker image tags for major versions;
  4. set the default image.tag and initImage.tag to the current major version, and keep it updated through a release checklist.
Assignee
Assign to
Time tracking