Azure / Azure/k8s-lint

Bug: cannot pass multiple arguments to kubeconform

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

Description

### What happened?

```
lint-k8s:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: azure/k8s-lint@v3
with:
manifests: |
manifests/webapp.yaml
kubeconformOpts: -strict -summary
```

Works fine with either `-strict` or `-summary` but not both

### Version

- [x] I am using the latest version

### Runner

GHA hosted ubuntu-latest

### Relevant log output

```
Run azure/k8s-lint@v3
with:
manifests: manifests/webapp.yaml

kubeconformOpts: -strict -summary
lintType: kubeconform
namespace: default
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/1ac7b603-4455-4236-be7b-ba29760c5168 -f /home/runner/work/_temp/tool.tar.gz
/home/runner/work/_temp/1ac7b603-4455-4236-be7b-ba29760c5168/kubeconform -strict -summary manifests/webapp.yaml
flag provided but not defined: -strict -summary
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the azure/k8s-lint@v3 action passes kubeconformOpts to the kubeconform entry point. Reproduce the supplied GitHub Actions workflow with `-strict -summary`, then verify that both flags are received as separate arguments and that the lint step completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, kubernetes, typescript
Domain
ci-cd, devops, tooling
Issue type
Bug
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.