From aa6f589b254bf4a206ddb42503f848ab7f7363bb Mon Sep 17 00:00:00 2001 From: Brett Logan Date: Wed, 11 Jan 2023 11:21:02 -0500 Subject: [PATCH] Address PR comments Signed-off-by: Brett Logan --- .../{kubernetes_kubeval => kubernetes_kubeconform}/README.md | 0 .../kubeconform_bad_1.yaml} | 0 .../kubeconform_good_1.yaml} | 0 README.md | 4 ++-- lib/linter.sh | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename .automation/test/{kubernetes_kubeval => kubernetes_kubeconform}/README.md (100%) rename .automation/test/{kubernetes_kubeval/kubeval_bad_1.yaml => kubernetes_kubeconform/kubeconform_bad_1.yaml} (100%) rename .automation/test/{kubernetes_kubeval/kubeval_good_1.yaml => kubernetes_kubeconform/kubeconform_good_1.yaml} (100%) diff --git a/.automation/test/kubernetes_kubeval/README.md b/.automation/test/kubernetes_kubeconform/README.md similarity index 100% rename from .automation/test/kubernetes_kubeval/README.md rename to .automation/test/kubernetes_kubeconform/README.md diff --git a/.automation/test/kubernetes_kubeval/kubeval_bad_1.yaml b/.automation/test/kubernetes_kubeconform/kubeconform_bad_1.yaml similarity index 100% rename from .automation/test/kubernetes_kubeval/kubeval_bad_1.yaml rename to .automation/test/kubernetes_kubeconform/kubeconform_bad_1.yaml diff --git a/.automation/test/kubernetes_kubeval/kubeval_good_1.yaml b/.automation/test/kubernetes_kubeconform/kubeconform_good_1.yaml similarity index 100% rename from .automation/test/kubernetes_kubeval/kubeval_good_1.yaml rename to .automation/test/kubernetes_kubeconform/kubeconform_good_1.yaml diff --git a/README.md b/README.md index 69b02746..8757e49f 100644 --- a/README.md +++ b/README.md @@ -293,7 +293,7 @@ But if you wish to select or exclude specific linters, we give you full control | **JAVASCRIPT_DEFAULT_STYLE** | `standard` | Flag to set the default style of JavaScript. Available options: **standard**/**prettier** | | **JAVASCRIPT_ES_CONFIG_FILE** | `.eslintrc.yml` | Filename for [ESLint configuration](https://eslint.org/docs/user-guide/configuring#configuration-file-formats) (ex: `.eslintrc.yml`, `.eslintrc.json`) | | **JSCPD_CONFIG_FILE** | `.jscpd.json` | Filename for JSCPD configuration | -| **KUBERNETES_KUBEVAL_OPTIONS** | `null` | Additional arguments to pass to the command-line when running **Kubernetes Kubeval** (Example: --ignore-missing-schemas) | +| **KUBERNETES_KUBECONFORM_OPTIONS** | `null` | Additional arguments to pass to the command-line when running **Kubernetes Kubeconform** (Example: --ignore-missing-schemas) | | **LINTER_RULES_PATH** | `.github/linters` | Directory for all linter configuration rules. | | **LOG_FILE** | `super-linter.log` | The filename for outputting logs. All output is sent to the log file regardless of `LOG_LEVEL`. | | **LOG_LEVEL** | `VERBOSE` | How much output the script will generate to the console. One of `ERROR`, `WARN`, `NOTICE`, `VERBOSE`, `DEBUG` or `TRACE`. | @@ -358,7 +358,7 @@ But if you wish to select or exclude specific linters, we give you full control | **VALIDATE_JSX** | `true` | Flag to enable or disable the linting process for jsx files (Utilizing: ESLint) | | **VALIDATE_KOTLIN** | `true` | Flag to enable or disable the linting process of the Kotlin language. | | **VALIDATE_KOTLIN_ANDROID** | `true` | Flag to enable or disable the linting process of the Kotlin language. (Utilizing: `ktlint --android`) | -| **VALIDATE_KUBERNETES_KUBEVAL** | `true` | Flag to enable or disable the linting process of Kubernetes descriptors with Kubeval | +| **VALIDATE_KUBERNETES_KUBECONFORM** | `true` | Flag to enable or disable the linting process of Kubernetes descriptors with Kubeconform | | **VALIDATE_LATEX** | `true` | Flag to enable or disable the linting process of the LaTeX language. | | **VALIDATE_LUA** | `true` | Flag to enable or disable the linting process of the language. | | **VALIDATE_MARKDOWN** | `true` | Flag to enable or disable the linting process of the Markdown language. | diff --git a/lib/linter.sh b/lib/linter.sh index a38c57bf..75472c5e 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -130,7 +130,7 @@ JSCPD_FILE_NAME="${JSCPD_CONFIG_FILE:-.jscpd.json}" # shellcheck disable=SC2034 # Variable is referenced indirectly JSX_FILE_NAME="${JAVASCRIPT_ES_CONFIG_FILE:-.eslintrc.yml}" # shellcheck disable=SC2034 # Variable is referenced indirectly -KUBERNETES_kubeconform_OPTIONS="${KUBERNETES_KUBECONFORM_OPTIONS:-null}" +KUBERNETES_KUBECONFORM_OPTIONS="${KUBERNETES_KUBECONFORM_OPTIONS:-null}" # shellcheck disable=SC2034 # Variable is referenced indirectly LATEX_FILE_NAME=".chktexrc" # shellcheck disable=SC2034 # Variable is referenced indirectly