summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2018-12-19 13:18:28 +1300
committerThong Kuah <tkuah@gitlab.com>2019-01-04 10:28:26 +1300
commita08993f26f45a516efd1c1d61aa4364b12c02a96 (patch)
tree171c98030be3a14278b091eee5773db0116758b4
parentdf6354b8b6d40f374eb005380296b6ad3541a9da (diff)
downloadgitlab-ce-a08993f26f45a516efd1c1d61aa4364b12c02a96.tar.gz
Update CI/CD variables help text
Add hint about adding variables for Auto DevOps application variables and link to More information
-rw-r--r--app/views/ci/variables/_content.html.haml2
-rw-r--r--locale/gitlab.pot3
2 files changed, 5 insertions, 0 deletions
diff --git a/app/views/ci/variables/_content.html.haml b/app/views/ci/variables/_content.html.haml
index fa82611d9c1..90c59bec975 100644
--- a/app/views/ci/variables/_content.html.haml
+++ b/app/views/ci/variables/_content.html.haml
@@ -1 +1,3 @@
= _('Environment variables are applied to environments via the runner. They can be protected by only exposing them to protected branches or tags. You can use environment variables for passwords, secret keys, or whatever you want.')
+= _('You may also add variables that are made available to the running application by prepending the variable key with <code>K8S_SECRET_</code>.').html_safe
+= link_to _('More information'), help_page_path('ci/variables/README', anchor: 'variables')
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index ddfd5599883..10a3a70b32a 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -7719,6 +7719,9 @@ msgstr ""
msgid "You have reached your project limit"
msgstr ""
+msgid "You may also add variables that are made available to the running application by prepending the variable key with <code>K8S_SECRET_</code>."
+msgstr ""
+
msgid "You must accept our Terms of Service and privacy policy in order to register an account"
msgstr ""