Commit a95177c1 authored by Thong Kuah's avatar Thong Kuah

Bump Auto Deploy image to v0.12.1

Two new backwards compatible features:

- Allow replicas to be set to zero
- Add option to install and use postgres chart 8.2.1

Add docs on how to use the postgres chart 8.2.1 to be able to deploy to
a Kubernetes 1.16+ cluster.
parent 535d5da7
---
title: Bump Auto Deploy image to v0.12.1
merge_request: 26336
author:
type: changed
...@@ -639,7 +639,8 @@ as it will be attempting to fetch the image using ...@@ -639,7 +639,8 @@ as it will be attempting to fetch the image using
#### Kubernetes 1.16+ #### Kubernetes 1.16+
> [Introduced](https://gitlab.com/gitlab-org/charts/auto-deploy-app/-/merge_requests/51) in GitLab 12.8. > - [Introduced](https://gitlab.com/gitlab-org/charts/auto-deploy-app/-/merge_requests/51) in GitLab 12.8.
> - Support for deploying a PostgreSQL version that supports Kubernetes 1.16+ was [introduced](https://gitlab.com/gitlab-org/cluster-integration/auto-deploy-image/-/merge_requests/49) in GitLab 12.9.
CAUTION: **Deprecation** CAUTION: **Deprecation**
The default value of `extensions/v1beta1` for the `deploymentApiVersion` setting is The default value of `extensions/v1beta1` for the `deploymentApiVersion` setting is
...@@ -657,9 +658,13 @@ To use Auto Deploy on a Kubernetes 1.16+ cluster, you must: ...@@ -657,9 +658,13 @@ To use Auto Deploy on a Kubernetes 1.16+ cluster, you must:
deploymentApiVersion: apps/v1 deploymentApiVersion: apps/v1
``` ```
1. Set the `POSTGRES_ENABLED` variable to `false`. This will disable Auto Deploy's deployment of PostgreSQL. 1. Set the:
Support for enabling Auto Deploy's deployment of PostgreSQL in a Kubernetes 1.16+ cluster
is [planned](https://gitlab.com/gitlab-org/charts/auto-deploy-app/issues/28). - `AUTO_DEVOPS_POSTGRES_CHANNEL` variable to `2`.
- `POSTGRES_VERSION` variable to `9.6.16` or higher.
This will opt-in to using a version of the PostgreSQL chart that supports Kubernetes
1.16 and higher.
#### Migrations #### Migrations
......
.auto-deploy: .auto-deploy:
image: "registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v0.10.0" image: "registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v0.12.1"
review: review:
extends: .auto-deploy extends: .auto-deploy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment