Skip to content

Commit adfee73

Browse files
committed
Update charts with latest changes
1 parent 8c9cfb3 commit adfee73

File tree

3 files changed

+1
-39
lines changed

3 files changed

+1
-39
lines changed

wiz-admission-controller/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type: application
55
# This is the chart version. This version number should be incremented each time you make changes
66
# to the chart and its templates, including the app version.
77
# Versions are expected to follow Semantic Versioning (https://semver.org/)
8-
version: 3.10.0-preview.3
8+
version: 3.9.3
99
# This is the version number of the application being deployed. This version number should be
1010
# incremented each time you make changes to the application. Versions are not expected to
1111
# follow Semantic Versioning. They should reflect the version the application is using.

wiz-admission-controller/templates/_helpers.tpl

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,6 @@ If release name contains chart name it will be used as a full name.
5050
{{- end }}
5151
{{- end }}
5252

53-
{{- define "wiz-admission-controller-uninstall.name" -}}
54-
{{- if .Values.wizUninstallJob.nameOverride }}
55-
{{- .Values.wizUninstallJob.nameOverride | trunc 63 | trimSuffix "-" }}
56-
{{- else }}
57-
{{- $suffix := "-uninstall" -}}
58-
{{- $maxLength := int (sub 63 (len $suffix)) -}}
59-
{{- printf "%s%s" (include "wiz-admission-controller.fullname" . | trunc $maxLength | trimSuffix "-") $suffix -}}
60-
{{- end }}
61-
{{- end }}
62-
6353
{{- define "wiz-admission-controller.wiz-hpa-enforcer.name" -}}
6454
{{- $suffix := "-hpa" -}}
6555
{{- $maxLength := int (sub 63 (len $suffix)) -}}
@@ -130,14 +120,6 @@ Wiz manager selector labels
130120
app.kubernetes.io/name: {{ include "wiz-admission-controller-manager.name" . }}
131121
{{- end }}
132122

133-
{{/*
134-
Wiz uninstall selector labels
135-
*/}}
136-
{{- define "wiz-admission-controller-uninstall.selectorLabels" -}}
137-
app.kubernetes.io/name: {{ include "wiz-admission-controller-uninstall.name" . }}
138-
{{- end }}
139-
140-
141123
{{- define "wiz-admission-controller-enforcement.labels" -}}
142124
{{ include "wiz-admission-controller.labels" . }}
143125
{{ include "wiz-admission-controller-enforcement.selectorLabels" . }}
@@ -153,11 +135,6 @@ app.kubernetes.io/name: {{ include "wiz-admission-controller-uninstall.name" . }
153135
{{ include "wiz-admission-controller-manager.selectorLabels" . }}
154136
{{- end }}
155137

156-
{{- define "wiz-admission-controller-uninstall.labels" -}}
157-
{{ include "wiz-admission-controller.labels" . }}
158-
{{ include "wiz-admission-controller-uninstall.selectorLabels" . }}
159-
{{- end }}
160-
161138
{{/*
162139
Wiz Horizontal Pod Autoscaler labels
163140
*/}}

wiz-admission-controller/values.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -498,21 +498,6 @@ wizManager:
498498
# If empty, a name is generated using the nameOverride
499499
name: ""
500500

501-
wizUninstallJob:
502-
enabled: true # Should the uninstall job be deployed.
503-
nameOverride: "" # Override the uninstall job name.
504-
timeoutSeconds: 300 # The timeout for the uninstall job in seconds.
505-
# Toggle the TTL (Time to Live) mechanism for automatic cleanup of finished Jobs.
506-
# Set to `true` to enable Kubernetes to automatically delete Jobs after they complete or fail, based on the `ttlSecondsAfterFinished` field.
507-
# Set to `false` if using Argo CD to manage Job lifecycle with deletion hooks, as TTL-based cleanup can cause Application to appear OutOfSync.
508-
# See: https://argo-cd.readthedocs.io/en/stable/user-guide/resource_hooks/#sync-status-with-jobsworkflows-with-time-to-live-ttl
509-
useJobTTL: true
510-
jobAnnotations: {}
511-
podAnnotations: {}
512-
podAdditionalSpec: {}
513-
514-
515-
516501
# Global values to override chart values.
517502
global:
518503
nameOverride: "" # Override the release’s name.

0 commit comments

Comments
 (0)