From 0e06de5d1c0d3d6e1d3a62f5c8c38ea0fa062f53 Mon Sep 17 00:00:00 2001 From: Simon Gerber Date: Tue, 30 Apr 2024 09:35:16 +0200 Subject: [PATCH] Treat OKE as OpenShift --- component/main.jsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/main.jsonnet b/component/main.jsonnet index 74e7d32..4c6da88 100644 --- a/component/main.jsonnet +++ b/component/main.jsonnet @@ -5,7 +5,7 @@ local sc = import 'lib/storageclass.libsonnet'; local inv = kap.inventory(); local params = inv.parameters.csi_cloudscale; -local isOpenshift = std.startsWith(inv.parameters.facts.distribution, 'openshift'); +local isOpenshift = std.member([ 'openshift4', 'oke' ], inv.parameters.facts.distribution); local config = { allowVolumeExpansion: true,