Skip to content

Commit 0bccb35

Browse files
committed
Update charts with latest changes
1 parent 9dd15d2 commit 0bccb35

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

wiz-outpost-configuration/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

wiz-outpost-configuration/templates/networkAnalyzer.job.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
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}}
323
apiVersion: batch/v1
424
kind: Job
525
metadata:
@@ -69,6 +89,8 @@ spec:
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}}

wiz-outpost-configuration/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,5 @@ networkAnalyzer:
6969
imagePullSecrets: []
7070
resources: {}
7171
rollingUpdate: true
72+
publicRegistryEndpoints: []
73+
privateRegistryEndpoints: []

0 commit comments

Comments
 (0)