diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-22 09:12:27 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-08-22 09:12:27 +0300 |
commit | fe9fc0af7519a2809116d73a8322d881e146e3f8 (patch) | |
tree | 27ecca1d9f359ade17646122e241866a655dcd32 /lib/gitlab/regex.rb | |
parent | 539ed0a6375d5bb6d734e688b801373e4b8006f9 (diff) |
Enfouce namespace for Kubernetes to lowercase
Diffstat (limited to 'lib/gitlab/regex.rb')
-rw-r--r-- | lib/gitlab/regex.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/regex.rb b/lib/gitlab/regex.rb index 1adc5ec952a..58f6245579a 100644 --- a/lib/gitlab/regex.rb +++ b/lib/gitlab/regex.rb @@ -53,7 +53,8 @@ module Gitlab end def kubernetes_namespace_regex_message - "can contain only letters, digits or '-', and cannot start or end with '-'" + "can contain only lowercase letters, digits, and '-'. " \ + "Must start with a letter, and cannot end with '-'" end def environment_slug_regex |