├── .github ├── actions │ └── shellspec │ │ └── action.yml └── workflows │ └── ci.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .pre-commit-hooks.yaml ├── .shellspec ├── LICENSE ├── MANIFEST.in ├── README.md ├── helm_kubeconform ├── __init__.py ├── install.sh ├── plugin.py └── pre_commit.py ├── plugin.yaml ├── pyproject.toml ├── setup.py └── tests ├── __init__.py ├── fixtures ├── bad_values.yaml ├── chart-k8s │ ├── Chart.yaml │ ├── templates │ │ ├── _helpers.tpl │ │ ├── deployment.yaml │ │ ├── service.yaml │ │ └── serviceaccount.yaml │ └── values.yaml ├── chart-ocp │ ├── Chart.yaml │ ├── templates │ │ ├── _helpers.tpl │ │ ├── deploymentConfig.yaml │ │ └── service.yaml │ └── values.yaml └── good_values.yaml ├── pytest ├── __init__.py ├── test_plugin.py └── test_pre_commit.py └── shellspec ├── bin ├── acceptance_plugin_spec.sh ├── acceptance_pre_commit_spec.sh └── unit_testing_installation_spec.sh ├── spec_helper.sh └── support └── bin ├── grep └── sed /.github/actions/shellspec/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/.github/actions/shellspec/action.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.pre-commit-hooks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/.pre-commit-hooks.yaml -------------------------------------------------------------------------------- /.shellspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/.shellspec -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/README.md -------------------------------------------------------------------------------- /helm_kubeconform/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/helm_kubeconform/__init__.py -------------------------------------------------------------------------------- /helm_kubeconform/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/helm_kubeconform/install.sh -------------------------------------------------------------------------------- /helm_kubeconform/plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/helm_kubeconform/plugin.py -------------------------------------------------------------------------------- /helm_kubeconform/pre_commit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/helm_kubeconform/pre_commit.py -------------------------------------------------------------------------------- /plugin.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/plugin.yaml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/bad_values.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | replicaCount: unexpected string 3 | -------------------------------------------------------------------------------- /tests/fixtures/chart-k8s/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/fixtures/chart-k8s/Chart.yaml -------------------------------------------------------------------------------- /tests/fixtures/chart-k8s/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/fixtures/chart-k8s/templates/_helpers.tpl -------------------------------------------------------------------------------- /tests/fixtures/chart-k8s/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/fixtures/chart-k8s/templates/deployment.yaml -------------------------------------------------------------------------------- /tests/fixtures/chart-k8s/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/fixtures/chart-k8s/templates/service.yaml -------------------------------------------------------------------------------- /tests/fixtures/chart-k8s/templates/serviceaccount.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/fixtures/chart-k8s/templates/serviceaccount.yaml -------------------------------------------------------------------------------- /tests/fixtures/chart-k8s/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/fixtures/chart-k8s/values.yaml -------------------------------------------------------------------------------- /tests/fixtures/chart-ocp/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/fixtures/chart-ocp/Chart.yaml -------------------------------------------------------------------------------- /tests/fixtures/chart-ocp/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/fixtures/chart-ocp/templates/_helpers.tpl -------------------------------------------------------------------------------- /tests/fixtures/chart-ocp/templates/deploymentConfig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/fixtures/chart-ocp/templates/deploymentConfig.yaml -------------------------------------------------------------------------------- /tests/fixtures/chart-ocp/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/fixtures/chart-ocp/templates/service.yaml -------------------------------------------------------------------------------- /tests/fixtures/chart-ocp/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/fixtures/chart-ocp/values.yaml -------------------------------------------------------------------------------- /tests/fixtures/good_values.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | replicaCount: 2 3 | -------------------------------------------------------------------------------- /tests/pytest/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/pytest/__init__.py -------------------------------------------------------------------------------- /tests/pytest/test_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/pytest/test_plugin.py -------------------------------------------------------------------------------- /tests/pytest/test_pre_commit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/pytest/test_pre_commit.py -------------------------------------------------------------------------------- /tests/shellspec/bin/acceptance_plugin_spec.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/shellspec/bin/acceptance_plugin_spec.sh -------------------------------------------------------------------------------- /tests/shellspec/bin/acceptance_pre_commit_spec.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/shellspec/bin/acceptance_pre_commit_spec.sh -------------------------------------------------------------------------------- /tests/shellspec/bin/unit_testing_installation_spec.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/shellspec/bin/unit_testing_installation_spec.sh -------------------------------------------------------------------------------- /tests/shellspec/spec_helper.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melmorabity/helm-kubeconform/HEAD/tests/shellspec/spec_helper.sh -------------------------------------------------------------------------------- /tests/shellspec/support/bin/grep: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | # shellcheck disable=SC1090 3 | . "$SHELLSPEC_SUPPORT_BIN" 4 | invoke grep "$@" 5 | -------------------------------------------------------------------------------- /tests/shellspec/support/bin/sed: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | # shellcheck disable=SC1090 3 | . "$SHELLSPEC_SUPPORT_BIN" 4 | invoke sed "$@" 5 | --------------------------------------------------------------------------------