From f0e8ca59cb5c22d5b80692f1264093125e273cc5 Mon Sep 17 00:00:00 2001 From: Thong Kuah Date: Mon, 7 Jan 2019 08:01:51 +0000 Subject: Apply suggestion to doc/topics/autodevops/index.md --- doc/topics/autodevops/index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/topics/autodevops/index.md b/doc/topics/autodevops/index.md index d2f5498e6eb..61ee272fb8c 100644 --- a/doc/topics/autodevops/index.md +++ b/doc/topics/autodevops/index.md @@ -685,7 +685,7 @@ You should *not* scale your application using Kubernetes directly. This can cause confusion with Helm not detecting the change, and subsequent deploys with Auto DevOps can undo your changes. -### Application secret variables +#### Application secret variables > [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/49056) in GitLab 11.7. @@ -698,7 +698,7 @@ deployed application, as environment variables. To configure your application variables: 1. Go to your project's **Settings > CI/CD**, then expand the section - called **Variables** + called **Variables**. 2. Create a CI Variable, ensuring the key is prefixed with `K8S_SECRET_`. For example, you can create a variable with key @@ -731,7 +731,7 @@ type: Opaque ``` CAUTION: **Caution:** -Variables with multiline values are not currently supported, due to +Variables with multiline values are not currently supported due to limitations with the current Auto DevOps scripting environment. NOTE: **Note:** @@ -739,8 +739,8 @@ Environment variables are generally considered immutable in a Kubernetes pod. Therefore, if you update an application secret without changing any code then manually create a new pipeline, you will find that any running application pods will not have the updated secrets. In this case, you -can either 1) push a code update to GitLab to force the Kubernetes -Deployment to recreate pods; or 2) manually delete running pods to +can either push a code update to GitLab to force the Kubernetes +Deployment to recreate pods or manually delete running pods to cause Kubernetes to create new pods with updated secrets. #### Advanced replica variables setup -- cgit v1.2.3