Skip to content

Commit 3c189db

Browse files
committed
K8S-495 improve registry-creds validation
1 parent 0450b42 commit 3c189db

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

manifest.jps

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,25 +1024,29 @@ addons:
10241024
baseUrl: https://raw.githubusercontent.com/jelastic-jps/kubernetes/v1.18.16
10251025
name: DockerHub Registry Credentials
10261026
description: |
1027-
Propagate an authorized DockerHub registry user credentials to Kubernetes imagePullSecret records automatically
1027+
Leverage DockerHub images pull rate limits: assign DockerHub user credentials to Kubernetes deployments cluster-wide
10281028
logo: /images/k8s-regcreds.png
10291029
settings:
10301030
fields:
10311031
- type: displayfield
10321032
hideLabel: true
1033-
markup: Please specify DockerHub user's valid credentials. All previously stored DockerHub credentials will be overwritten!
1033+
markup: Please specify DockerHub user's valid credentials in the fields below. All previously stored DockerHub user credentials (if any) will be overwritten!
10341034
- type: displayfield
10351035
hideLabel: true
10361036
- type: string
10371037
required: true
1038+
regex: "^((?!\\s).)*$"
1039+
regexText: Incorrect username
10381040
caption: Username
10391041
name: creds_username
10401042
- type: string
10411043
required: true
1044+
inputType: password
10421045
caption: Password
10431046
name: creds_password
10441047
- type: string
10451048
required: true
1049+
vtype: email
10461050
caption: E-mail
10471051
name: creds_email
10481052
buttons:

0 commit comments

Comments
 (0)