From 8a8f0546db4d5ee9d0eef6750b9295796af97635 Mon Sep 17 00:00:00 2001 From: denanmusinovic <72790314+denanmusinovic@users.noreply.github.com> Date: Wed, 29 May 2024 12:01:22 +0200 Subject: [PATCH] Update deployment.yaml --- .../brokencrystals/templates/deployment.yaml | 28 +------------------ 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/charts/brokencrystals/templates/deployment.yaml b/charts/brokencrystals/templates/deployment.yaml index 237076d8..c7311ee3 100644 --- a/charts/brokencrystals/templates/deployment.yaml +++ b/charts/brokencrystals/templates/deployment.yaml @@ -205,32 +205,6 @@ spec: restartPolicy: Always {{- end }} - {{- if and .Values.snifferApiKey .Values.snifferProjectID .Values.snifferApiURL }} - - name: sniffer-agent - securityContext: - capabilities: - add: ["NET_RAW", "NET_ADMIN"] - image: ghcr.io/neuralegion/sniffer-agent:latest - args: - - "-a=$(API_URL)" - - "-t=$(API_KEY)" - - "-p=$(PROJECT_ID)" - - "-i=$(NETWORK_INTERFACE)" - resources: - requests: - cpu: 200m - memory: 100Mi - env: - - name: API_URL - value: "{{ .Values.snifferApiURL }}" - - name: API_KEY - value: "{{ .Values.snifferApiKey }}" - - name: PROJECT_ID - value: "{{ .Values.snifferProjectID }}" - - name: NETWORK_INTERFACE - value: "{{ .Values.snifferNetworkInterface | default "eth0" }}" - {{- end }} - {{- if and .Values.snifferApiKey .Values.snifferProjectID .Values.snifferApiURL }} - name: sniffer-agent securityContext: @@ -270,4 +244,4 @@ spec: name: {{ include "brokencrystals.fullname" . }}-keycloak - name: {{ include "brokencrystals.fullname" . }}-nginx-proxy configMap: - name: {{ include "brokencrystals.fullname" . }}-nginx-proxy \ No newline at end of file + name: {{ include "brokencrystals.fullname" . }}-nginx-proxy