File tree Expand file tree Collapse file tree 3 files changed +33
-1
lines changed
wiz-outpost-configuration Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 2025.06.26
18+ version : 2025.07.07
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 11
22{{- if .Values.networkAnalyzer.enabled }}
3+ {{- if or .Values.networkAnalyzer.publicRegistryEndpoints .Values.networkAnalyzer.privateRegistryEndpoints }}
4+ apiVersion : v1
5+ kind : ConfigMap
6+ metadata :
7+ name : {{ .Values.networkAnalyzer.name }}-registry-endpoints
8+ labels :
9+ {{- include "wiz-outpost-configuration.labels" . | nindent 8 }}
10+ annotations :
11+ meta.helm.sh/release-name : " {{ .Release.Name }}"
12+ meta.helm.sh/release-namespace : " {{ .Release.Namespace }}"
13+ data :
14+ {{- with .Values.networkAnalyzer.publicRegistryEndpoints }}
15+ public-registry-endpoints.txt : {{ join "\n" . | quote }}
16+ {{- end }}
17+ {{- with .Values.networkAnalyzer.privateRegistryEndpoints }}
18+ private-registry-endpoints.txt : {{ join "\n" . | quote }}
19+ {{- end }}
20+
21+ ---
22+ {{- end}}
323apiVersion : batch/v1
424kind : Job
525metadata :
6989 {{- with .Values.networkAnalyzer.forceHttp1 }}
7090 - --http1
7191 {{- end }}
92+ - --wait
93+ - " 1h"
7294 env :
7395 - name : LOG_LEVEL
7496 value : " info"
@@ -139,6 +161,9 @@ spec:
139161 - mountPath : /usr/local/share/ca-certificates/
140162 name : ca-certificate
141163 readOnly : true
164+ - mountPath : /registry-endpoints
165+ name : registry-endpoints
166+ readOnly : true
142167 resources :
143168 {{- toYaml .Values.networkAnalyzer.resources | nindent 12 }}
144169 volumes :
@@ -160,4 +185,9 @@ spec:
160185 - key : privateKey
161186 path : WIZ_PRIVATE_KEY
162187 {{- end}}
188+ - name : registry-endpoints
189+ configMap :
190+ name : {{ .Values.networkAnalyzer.name }}-registry-endpoints
191+ optional : true
192+ defaultMode : 0744
163193{{- end}}
Original file line number Diff line number Diff line change @@ -69,3 +69,5 @@ networkAnalyzer:
6969 imagePullSecrets : []
7070 resources : {}
7171 rollingUpdate : true
72+ publicRegistryEndpoints : []
73+ privateRegistryEndpoints : []
You can’t perform that action at this time.
0 commit comments