Skip to content

Commit

Permalink
Updated auth block
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxusmusti authored and openshift-merge-robot committed Aug 11, 2023
1 parent 4a7c590 commit 5ccca0d
Show file tree
Hide file tree
Showing 15 changed files with 45 additions and 15 deletions.
4 changes: 3 additions & 1 deletion demo-notebooks/guided-demos/0_basic_ray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
4 changes: 3 additions & 1 deletion demo-notebooks/guided-demos/1_basic_instascale.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
4 changes: 3 additions & 1 deletion demo-notebooks/guided-demos/2_basic_jobs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
4 changes: 3 additions & 1 deletion demo-notebooks/guided-demos/3_basic_interactive.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
4 changes: 3 additions & 1 deletion demo-notebooks/guided-demos/4_gpt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
4 changes: 3 additions & 1 deletion demo-notebooks/guided-demos/notebook-ex-outputs/4_gpt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
4 changes: 3 additions & 1 deletion demo-notebooks/guided-demos/preview_nbs/0_basic_ray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
4 changes: 3 additions & 1 deletion demo-notebooks/guided-demos/preview_nbs/2_basic_jobs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down
4 changes: 3 additions & 1 deletion demo-notebooks/guided-demos/preview_nbs/4_gpt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Create authentication object for oc user permissions\n",
"# Create authentication object for user permissions\n",
"# IF unused, SDK will automatically check for default kubeconfig, then in-cluster config\n",
"# KubeConfigFileAuthentication can also be used to specify kubeconfig path manually\n",
"auth = TokenAuthentication(\n",
" token = \"XXXXX\",\n",
" server = \"XXXXX\",\n",
Expand Down

0 comments on commit 5ccca0d

Please sign in to comment.