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.
2
2
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3
3
4
4
{ {- define " operator.operatorDeployment" } }
@@ -212,8 +212,9 @@ spec:
212
212
---
213
213
{ { $chartVersion := .Chart.Version } }
214
214
{ { $releaseNamespace := .Release.Namespace } }
215
+ { {- if not .operatorOnly } }
215
216
{ { $webhookExists := include " utils.verifyExistingWebhookDeployment" (list $chartVersion $releaseNamespace ) | trim } }
216
- { {- if and ( ne $webhookExists " true" ) ( not .operatorOnly) } }
217
+ { {- if ne $webhookExists " true" } }
217
218
# webhook does not exist or chart version is newer, create a new webhook
218
219
apiVersion: "v1"
219
220
kind: "ConfigMap"
@@ -424,4 +425,5 @@ spec:
424
425
optional: true
425
426
{ {- end } }
426
427
{ {- end } }
428
+ { {- end } }
427
429
{ {- end } }
You can’t perform that action at this time.
0 commit comments