Skip to content

Commit

Permalink
Merge pull request #203 from kubero-dev/fix/regex-to-mach-valid-domain
Browse files Browse the repository at this point in the history
Fix domain regex
  • Loading branch information
mms-gianni authored Sep 29, 2023
2 parents dc192da + 9307762 commit 7bb0e0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,20 @@ Kubero is Kubernetes native and runs with two containers on any Kubernetes insta
<img src="docs/img/highlevel.png">

## Quickstart
1) Download and unpack the <a href="https://github.com/kubero-dev/kubero-cli/releases/latest">Kubero CLI</a><p>
**1) Download and unpack the <a href="https://github.com/kubero-dev/kubero-cli/releases/latest">Kubero CLI</a>** (MacOS, Linux, Windows)<p>

### Binaries (MacOS, Linux)
Binaries (MacOS, Linux)
```
curl -fsSL get.kubero.dev | bash
```

### Brew (MacOS, Linux)
Brew (MacOS, Linux)
```
brew tap kubero-dev/kubero
brew install kubero-cli
```

2) Run `kubero install` to install all components on an new or your existing cluster
**2) Run `kubero install` to install all components on an new or your existing cluster**

You can bring your own cluster or create one with the kubero install on one of the following providers:
- GKE
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/pipelines/new.vue
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export default {
],
domainRules: [
v => v.length <= 90 || 'Name must be less than 90 characters',
v => /^([a-z0-9|-]+[a-z0-9]{1,}\.)*[a-z0-9|-]+[a-z0-9]{1,}\.[a-z]{2,}$/.test(v) || 'Not a domain',
v => /^([a-z0-9|-]*[a-z0-9]{1,}\.)*[a-z0-9|-]+[a-z0-9]{1,}\.[a-z]{2,}$/.test(v) || 'Not a domain',
],
repositoryRules: [
v => !!v || 'Repository is required',
Expand Down

0 comments on commit 7bb0e0d

Please sign in to comment.