Azure / Azure/k8s-lint

Feature Request: lint directory

Open
#47 2 comments 2 reactions 0 assignees View on GitHub
idle
Dominant language
TypeScript
Stars
38
Forks
20
Avg merge
13d 15h
Merged PRs (30d)
3

Description

### Feature request

Hi, Since usually we have multiple Kubernetes manifest for a project ( Deployment, Service, Configmap ... ) . It would be great if we could also specify a directory of the manifests when linting

Example action.yaml file
```
- uses: azure/k8s-lint@v1
with:
manifests: |
kubernetes/*
```

```
/home/runner/work/_temp/56c63f42-beac-4e20-8df8-3eee92e0b1d7/kubeval kubernetes/*
ERR - Could not open file kubernetes/*
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with action.yaml and reproduce the shown kubeval command using the kubernetes/* manifest pattern. Trace how the manifests input reaches kubeval; done means a directory or glob such as kubernetes/* is accepted and each matching Kubernetes manifest is linted.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, kubernetes, typescript
Domain
ci-cd, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.