diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-01-07 08:01:51 +0000 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-01-07 23:29:57 +1300 |
commit | f0e8ca59cb5c22d5b80692f1264093125e273cc5 (patch) | |
tree | d89df7ebb87836421aebe4e8ce475adbf65f8270 /doc/topics | |
parent | a7f6703d9d05a8f396b974ecf2f29555849417db (diff) | |
download | gitlab-ce-f0e8ca59cb5c22d5b80692f1264093125e273cc5.tar.gz |
Apply suggestion to doc/topics/autodevops/index.md49056-auto-devops-secret-docs
Diffstat (limited to 'doc/topics')
-rw-r--r-- | doc/topics/autodevops/index.md | 10 |
1 files changed, 5 insertions, 5 deletions
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 |