Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Setup-Manager
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Dmytro Bogatov
Setup-Manager
Commits
e6268f18
Verified
Commit
e6268f18
authored
Dec 06, 2018
by
Dmytro Bogatov
💕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add setup-kubctl.
parent
ae069301
Pipeline
#3228
passed with stage
in 1 minute and 23 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
infra/setup-kubectl.sh
infra/setup-kubectl.sh
+9
-0
No files found.
infra/setup-kubectl.sh
0 → 100755
View file @
e6268f18
#!/usr/bin/env bash
set
-e
source
.secret.sh
K8STOKEN
=
$(
curl
-s
https://
$K8STOKEN
@token.dbogatov.org |
tr
-d
'[:space:]'
)
alias
kubectl
=
'kubectl --insecure-skip-tls-verify=true --token=$K8STOKEN --server=https://k8sapi.dbogatov.org'
kubectl cluster-info
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment