kubeval icon indicating copy to clipboard operation
kubeval copied to clipboard

Validate your Kubernetes configuration files, supports multiple Kubernetes versions

Results 111 kubeval issues
Sort by recently updated
recently updated
newest added

Bumps [sigs.k8s.io/yaml](https://github.com/kubernetes-sigs/yaml) from 1.2.0 to 1.3.0. Release notes Sourced from sigs.k8s.io/yaml's releases. v1.3.0 Updates minimum required version of gopkg.in/yaml.v2 to v2.4.0 Commits 9535b3b Merge pull request #63 from akram/fix-linit-for-yaml_test.go 8c3bee3...

dependencies

```yaml apiVersion: v1 kind: Service metadata: name: foo-app spec: ports: - port: 80 - port: 443 selector: app: foo-app ``` ```console foo@bar:~$ kubectl apply -f service.yaml The Service "foo-app" is...

[shilpa@Centos helm]$ ./kubeval --skip-kinds BrPolicy /tmp/test.yaml --schema-location https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone ERR - EventProcessingService/charts/efsesymac/charts/esymacservice/templates/netactsecrets.yaml: Failed initializing schema https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/secret-v1.json: Get "https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/secret-v1.json": unexpected EOF ERR - EventProcessingService/charts/efsesymac/charts/efsmonitor/templates/configmapefsmonitor.yaml: Failed initializing schema https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/configmap-v1.json: Get "https://repo.lab.pl.alcatel-lucent.com/artifactory/github/instrumenta/kubernetes-json-schema/tree/master/master-standalone/master-standalone/configmap-v1.json": unexpected EOF...

I am seeing this error: ``` WARN - web_hpa.yaml contains an invalid HorizontalPodAutoscaler (app-x-hpa) - targetCPUUtilizationPercentage: Additional property targetCPUUtilizationPercentage is not allowed` ``` using flags --openshift --strict -v 3.11.0 on...

Getting a panic when using the package in [parallel tests](https://pkg.go.dev/testing#T.Parallel): ```golang ... schemaCache := kubeval.NewSchemaCache() config := kubeval.NewDefaultConfig() config.Strict = true config.IgnoreMissingSchemas = true config.Quiet = true kubeval.ValidateWithCache(someYaml, schemaCache, config)...

Hello! I have been working on [kubeconform](https://github.com/yannh/kubeconform) for quite a while, a re-implementation of kubeval that solves a few of the issues with kubeval that bothered me most: * Some...

in my case the readinessProbe was badly intended for 1 tab more that cause to deployment to fail. but kubeval mark the file as valid ![image](https://user-images.githubusercontent.com/8373526/129729857-99457592-b21c-4774-af3e-a3747c38053d.png) ![image](https://user-images.githubusercontent.com/8373526/129729542-6833cb1c-777a-4c56-b7c4-e4d562b81d13.png)

It would be nice to be able to run behind proxy. I know it is possible to download the schemas and use them, but it is rather a workaround instead...

https://github.com/github/super-linter uses kubeval but it does not support passing flags. Only config files or environment variables are used to configure individual check behavior. If kubeval supports either, then I can...