File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
kubernetes/charts/weblogic-operator/templates Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1- # Copyright (c) 2018, 2023 , Oracle and/or its affiliates.
1+ # Copyright (c) 2018, 2025 , Oracle and/or its affiliates.
22# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
33
44{ {- define " operator.operatorDeployment" } }
@@ -212,8 +212,9 @@ spec:
212212---
213213 { { $chartVersion := .Chart.Version } }
214214 { { $releaseNamespace := .Release.Namespace } }
215+ { {- if not .operatorOnly } }
215216 { { $webhookExists := include " utils.verifyExistingWebhookDeployment" (list $chartVersion $releaseNamespace ) | trim } }
216- { {- if and ( ne $webhookExists " true" ) ( not .operatorOnly) } }
217+ { {- if ne $webhookExists " true" } }
217218 # webhook does not exist or chart version is newer, create a new webhook
218219 apiVersion: "v1"
219220 kind: "ConfigMap"
@@ -424,4 +425,5 @@ spec:
424425 optional: true
425426 { {- end } }
426427 { {- end } }
428+ { {- end } }
427429{ {- end } }
You can’t perform that action at this time.
0 commit comments