Skip to content

Commit 52238b2

Browse files
committed
Merge branch 'helm-require-1.25' into 'main'
Helm chart enforce Kubernetes 1.25+ See merge request weblogic-cloud/weblogic-kubernetes-operator!5059
2 parents bf57973 + 969eeef commit 52238b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kubernetes/charts/weblogic-operator/templates/_operator.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (c) 2018, 2024, 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

4-
{{- if and (not (empty .Capabilities.APIVersions)) (not (.Capabilities.APIVersions.Has "policy/v1")) }}
5-
{{- fail "Kubernetes version 1.21 or greater is required." }}
4+
{{- if and (not (empty .Capabilities.APIVersions)) (or (not (.Capabilities.APIVersions.Has "policy/v1")) (.Capabilities.APIVersions.Has "policy/v1beta1")) }}
5+
{{- fail "Kubernetes version 1.25 or greater is required." }}
66
{{- end }}
77

88
{{- define "operator.operator" -}}

0 commit comments

Comments
 (0)