Skip to content

Commit

Permalink
Correctly install validation webhook (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha authored Mar 29, 2018
1 parent 054c868 commit 711a909
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions hack/deploy/rbac-list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ subjects:
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: searchlight-server-extension-server-authentication-reader
name: searchlight-extension-server-authentication-reader
namespace: kube-system
labels:
app: searchlight
roleRef:
kind: Role
apiGroup: rbac.authorization.k8s.io
name: extension-server-authentication-reader
kind: Role
name: extension-apiserver-authentication-reader
subjects:
- kind: ServiceAccount
name: ${SEARCHLIGHT_SERVICE_ACCOUNT}
Expand Down
2 changes: 1 addition & 1 deletion hack/deploy/searchlight.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export SEARCHLIGHT_ENABLE_ANALYTICS=true
KUBE_APISERVER_VERSION=$(kubectl version -o=json | $ONESSL jsonpath '{.serverVersion.gitVersion}')
$ONESSL semver --check='>=1.9.0' $KUBE_APISERVER_VERSION
if [ $? -eq 0 ]; then
export SEARCHLIGH_ENABLE_ADMISSION_WEBHOOK=true
export SEARCHLIGHT_ENABLE_ADMISSION_WEBHOOK=true
fi

show_help() {
Expand Down

0 comments on commit 711a909

Please sign in to comment.