#!/bin/bash

# Licensed Materials - Property of IBM
# (c) Copyright IBM Corporation 2018, 2019. All Rights Reserved.
# Note to U.S. Government Users Restricted Rights:
# Use, duplication or disclosure restricted by GSA ADP Schedule
# Contract with IBM Corp.

LOG_LEVEL="${LOG_LEVEL:-5}"
ROOT=$(dirname ${BASH_SOURCE})/..
(cd $ROOT && go run cmd/accesspolicy/accesspolicy.go --kubeconfig=$KUBECONFIG -logtostderr=true -v="$LOG_LEVEL")
