Skip to content

Commit 8a0651d

Browse files
committed
add preflight for cert-manager
1 parent b270e66 commit 8a0651d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

applications/wg-easy/cert-manager/templates/secret-preflights.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ stringData:
1313
name: cert-manager-preflights
1414
spec:
1515
analyzers:
16-
- distribution:
16+
# https://github.com/cert-manager/cert-manager/blob/master/deploy/charts/cert-manager/README.template.md#prerequisites
17+
- clusterVersion:
1718
outcomes:
18-
- pass:
19-
when: "== gke"
20-
message: GKE is a supported platform
21-
- pass:
22-
when: "== k3s"
23-
message: K3S is a supported platform
24-
- fail:
25-
when: "== kind"
26-
message: This application does not support Kind
27-
- warn:
28-
message: The Kubernetes platform is not validated, but there are no known compatibility issues.
19+
- fail:
20+
when: "< 1.22.0"
21+
message: The application requires at least Kubernetes 1.22.0, and recommends 1.25.0.
22+
uri: https://kubernetes.io
23+
- warn:
24+
when: "< 1.25.0"
25+
message: Your cluster meets the minimum version of Kubernetes, but we recommend you update to 1.25.0 or later.
26+
uri: https://kubernetes.io
27+
- pass:
28+
message: Your cluster meets the recommended and required versions of Kubernetes.

0 commit comments

Comments
 (0)