Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f0e8ca59
Commit
f0e8ca59
authored
Jan 07, 2019
by
Thong Kuah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply suggestion to doc/topics/autodevops/index.md
parent
a7f6703d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/topics/autodevops/index.md
doc/topics/autodevops/index.md
+5
-5
No files found.
doc/topics/autodevops/index.md
View file @
f0e8ca59
...
@@ -685,7 +685,7 @@ You should *not* scale your application using Kubernetes directly. This can
...
@@ -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
cause confusion with Helm not detecting the change, and subsequent deploys with
Auto DevOps can undo your changes.
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.
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/49056) in GitLab 11.7.
...
@@ -698,7 +698,7 @@ deployed application, as environment variables.
...
@@ -698,7 +698,7 @@ deployed application, as environment variables.
To configure your application variables:
To configure your application variables:
1.
Go to your project's
**Settings > CI/CD**
, then expand the section
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
2.
Create a CI Variable, ensuring the key is prefixed with
`K8S_SECRET_`
. For example, you can create a variable with key
`K8S_SECRET_`
. For example, you can create a variable with key
...
@@ -731,7 +731,7 @@ type: Opaque
...
@@ -731,7 +731,7 @@ type: Opaque
```
```
CAUTION:
**Caution:**
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.
limitations with the current Auto DevOps scripting environment.
NOTE:
**Note:**
NOTE:
**Note:**
...
@@ -739,8 +739,8 @@ Environment variables are generally considered immutable in a Kubernetes
...
@@ -739,8 +739,8 @@ Environment variables are generally considered immutable in a Kubernetes
pod. Therefore, if you update an application secret without changing any
pod. Therefore, if you update an application secret without changing any
code then manually create a new pipeline, you will find that any running
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
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
can either push a code update to GitLab to force the Kubernetes
Deployment to recreate pods
; or 2)
manually delete running pods to
Deployment to recreate pods
or
manually delete running pods to
cause Kubernetes to create new pods with updated secrets.
cause Kubernetes to create new pods with updated secrets.
#### Advanced replica variables setup
#### Advanced replica variables setup
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment