[FEATURE_REQUEST] Use .kube-linter.yml in chart directory

オープン
#533 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go, helm, kubernetes
領域
cli

調査の方向性

The request is that kube-linter lint <path> look for a .kube-linter.yml or .kube-linter.yaml inside the linted path rather than the current working directory. Start by finding where the config file lookup happens and what base directory it uses. Reproduce by running the linter on a Helm chart directory from a different working directory. Done when the config in the chart directory is picked up and the existing working-directory behavior still works.

索引モデルが issue の本文から書いたものです。

説明

question

Description of the problem/feature request
Currently when using a .kube-linter.y(a)ml file, kube-linter searches for this configuration file at the place, where kube-linter is executed. This makes it impossible to use the well-known-configuration file pattern when using kube-linter container image.

Description of the existing behavior vs. expected behavior
.kube-linter.y(a)ml file should be searched for in the path given as linting context.
F.e. kube-linter lint ./my-fancy-helm-chart should search for .kube-linter.y(a)ml in my-fancy-helm-chart path and not in the current path.

主要言語
Go
スター
3.5k
フォーク
277
平均マージ
1日 22分
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stackrox/kube-linter のほかの issue

stackrox/kube-linter の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。