prometheus-community / helm-charts

Prometheus community Helm charts
Apache License 2.0
5.05k stars 5.01k forks source link

[prometheus-adapter] network policy for `prometheus-adapter` #3213

Open jcpunk opened 1 year ago

jcpunk commented 1 year ago

Is your feature request related to a problem ?

When trying to lock down extraneous network behavior, it would be helpful if there was a suggested NetworkPolicy for the prometheus-adapter

Describe the solution you'd like.

A helm chart flag I can enable for a network policy (driven by the destination set under prometheus.{url,port})

Describe alternatives you've considered.

Building something by hand.

Additional context.

perhaps something like:

  egress:
  - to:
    - namespaceSelector:
        matchLabels:
          name: kube-system
    ports:
    - protocol: UDP
      port: 53
    - protocol: TCP
      port: 53
    - port: 443
      protocol: TCP
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

jcpunk commented 1 year ago

I would like to see some version of this implemented.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

jcpunk commented 1 year ago

I would like to see some version of this implemented.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.