Skip to content

[Tempo] - Networkpolicies in the grafana Tempo helm charts #4084

@drisbee

Description

@drisbee

Expected Behavior

It should be possible in the values file to configure the Networkpolicy, so that somebody can enable it and the networkpolicies are automatically created for all the internal components of grafana tempo.

Current Behavior

When running kube-score on the grafana-tempo chart I see this error:

[CRITICAL] Pod NetworkPolicy
        · The pod does not have a matching NetworkPolicy
            Create a NetworkPolicy that targets this pod to control who/what
            can communicate with this pod. Note, this feature needs to be
            supported by the CNI implementation used in the Kubernetes cluster
            to have an effect.

Possible Solution

Creating a boolean value that you can set to true so that all the networkpolicies are created for all the internal components.

Steps to Reproduce

  1. In the chart folder run the kube-score command
  2. helm template . | kube-score score -

Context (Environment)

We want to use kube-score in our pipelines to enforce best practices

Metadata

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