This repository has been archived by the owner on Dec 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 753
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Openshift permission issues (#721)
* Fix Openshift permission issues * Minor review
- Loading branch information
1 parent
552a11c
commit 44c2cba
Showing
6 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
# Builds on kubeless.ksonnet to produce a deployable manifest on OpenShift 1.5 | ||
# Modifies apiVersion for kubeless-controller Deployment to extensions/v1beta1 | ||
# Modifies ClusterRole and ClusterRoleBinding apiVersions to v1 | ||
local k = import "ksonnet.beta.1/k.libsonnet"; | ||
local kubeless = import "kubeless.jsonnet"; | ||
|
||
local config = kubeless.cfg + k.core.v1.configMap.data({"deployment":'{"spec":{"template":{"spec":{"securityContext":{}}}}}'}); | ||
|
||
kubeless + { | ||
controller: kubeless.controller + { apiVersion: "extensions/v1beta1" }, | ||
controllerClusterRole: kubeless.controllerClusterRole + { apiVersion: "v1" }, | ||
controllerClusterRoleBinding: kubeless.controllerClusterRoleBinding + { apiVersion: "v1" }, | ||
cfg: config, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters