Skip to content

Commit

Permalink
feat: ex
Browse files Browse the repository at this point in the history
  • Loading branch information
0daryo committed Dec 9, 2019
1 parent fdb1a10 commit b6a794f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Expand Up @@ -4,7 +4,6 @@ This tool helps you to validate tag in ci
Please post issues if you need more options

In this kind of architecture below, you have to check whether yamls in production directory has sentences related to staging or development by code review.
If you use this lint, ci exit with code 1 when production or staging has mistaken sentences.

```
├── user
Expand All @@ -27,6 +26,15 @@ If you use this lint, ci exit with code 1 when production or staging has mistake
│   ├── service.yaml
```

If you use this lint, ci exit with code 1 when production kustomization has wrong tag. for ex)

```user/overlays/production/kustomization.yaml
images:
- name: nginx-production
# need to be productionXX, but is mistakenly staging
newTag: staging
```

# note

## supported tag in kustomization
Expand Down
2 changes: 1 addition & 1 deletion example/production/kustomization.yaml
@@ -1,3 +1,3 @@
images:
- name: nginx-production
newTag: stagin
newTag: staging

0 comments on commit b6a794f

Please sign in to comment.