Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A auto-deploy-image
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 120
    • Issues 120
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • cluster-integration
  • auto-deploy-image
  • Merge requests
  • !49

Add optional ability to install postgres chart 8.x

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Thong Kuah requested to merge new_postgres into master Feb 10, 2020
  • Overview 72
  • Commits 1
  • Pipelines 69
  • Changes 2

First step in moving off the 0.7.1 version of the chart.

Related issues:

  • gitlab-org/gitlab#32720 (closed)
  • gitlab-org/charts/auto-deploy-app#28 (closed)

The major differences jumping from 0.7.1 to 8.X:

  • Everything in the postgresql chart is renamed from postgres to postgresql
  • Deployment for the postgres server is now a StatefulSet
  • Use Bitnami managed docker image by default (which does not have root)

Development

  • Install postgresql chart 8.2.1 if POSTGRESQL_ENABLED env var is set
    • unit test: can install postgresql chart 8.2.1
    • integration test: postgresql chart 8.2.1 is installed if POSTGRESQL_ENABLED env var is set
  • send different application.database_url to auto-deploy-app if POSTGRESQL_ENABLED env var is set
    • unit test: test correct database url depending on whether POSTGRESQL_ENABLED env var is set
    • integration test: test application pod can connect to database url with psql when POSTGRESQL_ENABLED env var is set/not set.
Edited Feb 13, 2020 by Thong Kuah
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: new_postgres