Skip to content

Commit

Permalink
Merge pull request #31 from IBM/namespace
Browse files Browse the repository at this point in the history
Updated helm charts (v1.4)
  • Loading branch information
mrsabath authored Apr 29, 2020
2 parents 86e17a9 + ba7908e commit 06c1dca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Binary file added charts/ti-key-release-2-1.4.0.tgz
Binary file not shown.
Binary file added charts/tsi-node-setup-1.4.0.tgz
Binary file not shown.
10 changes: 6 additions & 4 deletions install-open-shift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ CLUSTER_REGION=
# For JSS_TYPE: `vtpm2-server` or `jss-server`
JSS_TYPE=vtpm2-server
# JSS_TYPE=
# application namespace: e.g. test
APP_NS="test"



Expand Down Expand Up @@ -213,16 +215,16 @@ cat << EOF
7. load sample policies:
./demo.load-sample-policies.sh
8. load sample keys:
./demo.load-sample-keys.sh $CLUSTER_REGION $CLUSTER_NAME
./demo.load-sample-keys.sh $CLUSTER_REGION $CLUSTER_NAME $APP_NS
9. the setup containers can be removed now:
kk delete ds tsi-setup-tsi-node-setup
kk delete sa tsi-setup-admin-sa
oc delete scc $SCCHOST
Now you can test it by creating a new space and running a sample pod:
kubectl create ns test
kubectl create -f examples/myubuntu.yaml -n test
kubectl create ns $APP_NS
kubectl create -f examples/myubuntu.yaml -n $APP_NS
Once running, execute:
EOF
echo ' kubectl -n test exec -it $(kubectl -n test get pods | grep myubuntu | awk '"'{print "'$1}'"') cat /tsi-secrets/mysecrets/mysecret4"
echo " kubectl -n $APP_NS"' exec -it $(kubectl -n test get pods | grep myubuntu | awk '"'{print "'$1}'"') cat /tsi-secrets/mysecrets/mysecret4"
echo "********* END ********"

0 comments on commit 06c1dca

Please sign in to comment.