Browse Source

give admin privileges on post-install

main
Nicolas Massé 5 years ago
parent
commit
33fc22149d
  1. 1
      cluster
  2. 1
      local.env.sample

1
cluster

@ -128,6 +128,7 @@ spec:
name: RedHatSSO
type: Google
EOF
oc --insecure-skip-tls-verify --kubeconfig="$cluster_name/auth/kubeconfig" adm policy add-cluster-role-to-user cluster-admin "$OCP_ADMIN"
}
function post_install () {

1
local.env.sample

@ -4,3 +4,4 @@ export GANDIV5_API_KEY="123...456"
export GOOGLE_CLIENT_ID="client_id"
export GOOGLE_CLIENT_SECRET="client_secret"
export LE_EMAIL="user@redhat.com"
export OCP_ADMIN="user@redhat.com"

Loading…
Cancel
Save