Skip to content

Commit e2b68a2

Browse files
authored
Merge pull request #70 from projectsyn/support-oke
Treat OKE as OpenShift
2 parents e5837a0 + 0e06de5 commit e2b68a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

component/main.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ local sc = import 'lib/storageclass.libsonnet';
55
local inv = kap.inventory();
66
local params = inv.parameters.csi_cloudscale;
77

8-
local isOpenshift = std.startsWith(inv.parameters.facts.distribution, 'openshift');
8+
local isOpenshift = std.member([ 'openshift4', 'oke' ], inv.parameters.facts.distribution);
99

1010
local config = {
1111
allowVolumeExpansion: true,

0 commit comments

Comments
 (0)