File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 3636
3737# Define the Polices for the Access Group to enable installation and adminstration
3838
39+ # https://cloud.ibm.com/docs/iam?topic=iam-userroles
3940# All IAM Services in all Regions in Resource Group - 40
4041ibmcloud iam access-group-policy-create ${ACCESS_GROUP} --roles Administrator,Manager --resource-group-name ${RESOURCE_GROUP}
4142
43+ # https://cloud.ibm.com/docs/iam?topic=iam-userroles
4244# Resource Group - 10
4345ibmcloud iam access-group-policy-create ${ACCESS_GROUP} --roles Viewer --resource-group-name ${RESOURCE_GROUP} --attributes " resourceType=resource-group,resource=${RESOURCE_GROUP} "
4446
47+ # "Prepare to create clusters at the account level"
48+ # https://cloud.ibm.com/docs/containers?topic=containers-clusters#cluster_prepare
4549# Kubernetes service in all Regions - 45
4650ibmcloud iam access-group-policy-create ${ACCESS_GROUP} --roles Administrator,Manager --service-name containers-kubernetes
4751
52+ # "Updating existing clusters to use the API key image pull secret"
53+ # https://cloud.ibm.com/docs/containers?topic=containers-images#imagePullSecret_migrate_api_key
4854# Container Registery in all Regions - 64
4955ibmcloud iam access-group-policy-create ${ACCESS_GROUP} --roles Administrator,Manager --service-name container-registry
5056
Original file line number Diff line number Diff line change 1212#
1313# SPDX-License-Identifier: EPL-2.0
1414# ##############################################################################
15+ #
16+ # input validation
17+ if [ -z " $1 " ]; then
18+ echo " Usage: kill-kube-ns <NAMESPACE>"
19+ echo " Delete the namespace. kubectl must be logged into the cluster."
20+ exit
21+ fi
1522
1623set -eo pipefail
1724
You can’t perform that action at this time.
0 commit comments