Skip to content

Commit 3ffa219

Browse files
authored
Merge branch 'main' into xrfxlp/763
2 parents fa4f199 + e2ff1cb commit 3ffa219

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

distros/kubernetes/nvsentinel/templates/networkpolicy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
{{- if .Values.networkPolicy.enabled }}
1516
apiVersion: networking.k8s.io/v1
1617
kind: NetworkPolicy
1718
metadata:
@@ -39,3 +40,4 @@ spec:
3940
- protocol: TCP
4041
port: {{ .Values.global.inclusterFileServer.cleanupMetricsPort }}
4142
{{- end }}
43+
{{- end }}

distros/kubernetes/nvsentinel/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@ global:
108108
preflight:
109109
enabled: false
110110

111+
# Network policy configuration
112+
# The metrics-access network policy restricts ingress to metrics ports only.
113+
# This can block other services (e.g., cert-manager webhook) when deployed
114+
# in the same namespace. Set enabled=false to disable the network policy.
115+
networkPolicy:
116+
enabled: true
117+
111118
platformConnector:
112119
image:
113120
repository: ghcr.io/nvidia/nvsentinel/platform-connectors

0 commit comments

Comments
 (0)