From 0f91c70c3ff7a9cd04a8613814c387d55a3597fd Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 7 Jun 2026 15:17:53 +0200 Subject: [PATCH] docs(values): add networkPolicy example for GatewayAPI --- package-lock.json | 1 + values.yaml | 22 ++++++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1e321e4..37465fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1917,6 +1917,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, diff --git a/values.yaml b/values.yaml index c958c05..32a02cc 100644 --- a/values.yaml +++ b/values.yaml @@ -615,6 +615,7 @@ hpa: # target: # averageUtilization: 65 # type: Utilization + # type: Resource minReplicas: 1 maxReplicas: 10 @@ -700,7 +701,13 @@ networkPolicy: # - port: 22 # protocol: TCP - # Allow outgoing HTTPS traffic to external go module servers + # Allow outgoing traffic to HTTP severs + # + # - ports: + # - port: 80 + # protocol: TCP + + # Allow outgoing traffic to HTTPS severs # # - ports: # - port: 443 @@ -735,7 +742,7 @@ networkPolicy: # - port: http # protocol: TCP - # Allow incoming HTTP traffic from ingress-nginx. + # Allow incoming HTTP traffic from ingress-nginx or gateway-api. # # - from: # - namespaceSelector: @@ -748,6 +755,17 @@ networkPolicy: # - port: http # protocol: TCP + # - from: + # - namespaceSelector: + # matchLabels: + # kubernetes.io/metadata.name: gateway-api + # podSelector: + # matchLabels: + # gateway.networking.k8s.io/gateway-name: nginx + # ports: + # - port: http + # protocol: TCP + ## @section Service ## @param service.enabled Enable the service. ## @param service.annotations Additional service annotations.