Skip to content

dev: Fix kube-linter github workflow #800

Closed
@somaritane

Description

Currently k8gb kube-linter produces results that are not on par with local kube-linter command execution:

Warning: failed to load object from chart/k8gb: failed to render: template: k8gb/templates/operator.yaml:102:19: executing "k8gb/templates/operator.yaml" at <eq "LoadBalancer" (.Values.coredns.serviceType)>: error calling eq: incompatible types for comparison
Warning: no valid objects found.
Warning: failed to load object from chart/k8gb/templates/external-dns/rbac.yaml: failed to decode: Object 'Kind' is missing in '---'

It should be corrected so that:

  • it uses a recent version of kube-linter-action (1.0.4)
  • it points to the correct chart repository (chart\k8gb)
  • it generates an output format that can be visualized by GitHub (sarif?)
  • it uses .kube-linter.yaml config format for both local and GH workflow experience

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions