Skip to content

Commit

Permalink
Merge pull request #203 from nirmata/autoweb-fixes
Browse files Browse the repository at this point in the history
fixes in charts to accomodate disableautowebhookgeneration
  • Loading branch information
anushkamittal2001 authored Dec 22, 2023
2 parents 0d0da19 + 5d716de commit cb1513f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/enterprise-kyverno-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: nirmata-kyverno-operator
description: Helm Chart for Enterprise Kyverno Operator
type: application
version: v0.3.11
appVersion: v0.2.2
version: v0.3.12
appVersion: v0.2.3

icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/nirmata/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
type: application
name: kyverno
version: 3.0.10
version: 3.0.11
appVersion: v1.10.6-n4k.nirmata.3
icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png
description: Kubernetes Native Policy Management
Expand Down
3 changes: 3 additions & 0 deletions charts/nirmata/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
{{- with .autoUpdateWebhooks -}}
{{- $flags = append $flags (print "--autoUpdateWebhooks=" .enabled) -}}
{{- end -}}
{{- with .disableAutoWebhookGeneration -}}
{{- $flags = append $flags (print "--disableAutoWebhookGeneration=" .enabled) -}}
{{- end -}}
{{- with .backgroundScan -}}
{{- $flags = append $flags (print "--backgroundScan=" .enabled) -}}
{{- $flags = append $flags (print "--backgroundScanWorkers=" .backgroundScanWorkers) -}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ spec:
{{- include "kyverno.features.flags" (pick (mergeOverwrite .Values.features .Values.admissionController.featuresOverride)
"admissionReports"
"autoUpdateWebhooks"
"disableAutoWebhookGeneration"
"configMapCaching"
"deferredLoading"
"dumpPayload"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ spec:
{{- end }}
{{- include "kyverno.features.flags" (pick (mergeOverwrite .Values.features .Values.cleanupController.featuresOverride)
"deferredLoading"
"disableAutoWebhookGeneration"
"dumpPayload"
"logging"
) | nindent 12 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/nirmata/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@ features:
autoUpdateWebhooks:
# -- Enables the feature
enabled: true
disableAutoWebhookGeneration:
enabled: true
backgroundScan:
# -- Enables the feature
enabled: true
Expand Down

0 comments on commit cb1513f

Please sign in to comment.