Git Product home page Git Product logo

Comments (1)

hawksight avatar hawksight commented on September 21, 2024

Turns out I needed to set the -strict flag to see the issue up front with kubeconform, eg:

helm template saas oci://${TLSPK_REGISTRY_EU}/charts/jetstack-agent \
--registry-config "${TLSPK_DOCKER_CONFIG_FILE}" \
--namespace jetstack-agent-testing \
--version 0.2.0 \
--values ~/temp/js-agent-saas-values.yaml | kubeconform -summary -strict -verbose

Outut:

Pulled: eu.gcr.io/jetstack-secure-enterprise/charts/jetstack-agent:0.2.0
Digest: sha256:a09dfed578c5fe580fcae026fb6596e3e8eafe6288024000bb93cb4b9afff8eb
stdin - Secret agent-credentials is valid
stdin - ConfigMap agent-config is valid
stdin - ClusterRole jetstack-agent-saas-node-reader is valid
stdin - ClusterRole jetstack-agent-saas-googlecas-reader is valid
stdin - ClusterRole jetstack-agent-saas-awspca-reader is valid
stdin - ClusterRole jetstack-agent-saas-webhook-reader is valid
stdin - ClusterRole jetstack-agent-saas-openshift-reader is valid
stdin - ClusterRole jetstack-agent-saas-istio-reader is valid
stdin - ClusterRole jetstack-agent-saas-venafi-enhanced-reader is valid
stdin - ClusterRole jetstack-agent-saas-cert-manager-reader is valid
stdin - ClusterRole jetstack-agent-saas-secret-reader is valid
stdin - ServiceAccount jetstack-agent-saas is valid
stdin - ClusterRoleBinding jetstack-agent-saas-cluster-viewer is valid
stdin - ClusterRoleBinding jetstack-agent-saas-googlecas-reader is valid
stdin - ClusterRoleBinding jetstack-agent-saas-awspca-reader is valid
stdin - ClusterRoleBinding jetstack-agent-saas-webhook-reader is valid
stdin - ClusterRoleBinding jetstack-agent-saas-openshift-reader is valid
stdin - ClusterRoleBinding jetstack-agent-saas-istio-reader is valid
stdin - ClusterRoleBinding jetstack-agent-saas-venafi-enhanced-reader is valid
stdin - ClusterRoleBinding jetstack-agent-saas-cert-manager-reader is valid
stdin - ClusterRoleBinding jetstack-agent-saas-secret-reader is valid
stdin - ClusterRoleBinding jetstack-agent-saas-node-reader is valid
stdin - Deployment jetstack-agent-saas is invalid: problem validating schema. Check JSON formatting: jsonschema: '/spec/template/spec/volumes/0/configMap' does not validate with https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/master-standalone-strict/deployment-apps-v1.json#/properties/spec/properties/template/properties/spec/properties/volumes/items/properties/configMap/additionalProperties: additionalProperties 'options' not allowed
Summary: 23 resources found parsing stdin - Valid: 22, Invalid: 1, Errors: 0, Skipped: 0

> echo $?
1

from jetstack-secure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.