Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
microservice-architecture
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nico Benjamin Pögel
microservice-architecture
Commits
45207c1a
Commit
45207c1a
authored
2 years ago
by
Nico P
Browse files
Options
Downloads
Patches
Plain Diff
fixed install_msa_test script
parent
8dbd0807
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install_msa_test.sh
+6
-6
6 additions, 6 deletions
install_msa_test.sh
with
6 additions
and
6 deletions
install_msa_test.sh
+
6
−
6
View file @
45207c1a
...
...
@@ -5,8 +5,8 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
curl
-sfL
https://get.k3s.io | sh -
#Download Linkerd and install onto cluster
linkerd
if
[
$?
-eq
0]
;
then
linkerd
version
if
[
$?
-eq
0
]
;
then
echo
Linkerd already installed
else
curl
--proto
'=https'
--tlsv1
.2
-sSfL
https://run.linkerd.io/install | sh
...
...
@@ -19,8 +19,8 @@ linkerd install --crds | kubectl apply -f -
linkerd
install
| kubectl apply
-f
-
#Install Helm if not present
helm
if
[
$?
-eq
0]
;
then
helm
version
if
[
$?
-eq
0
]
;
then
echo
Helm already installed
else
curl https://baltocdn.com/helm/signing.asc | gpg
--dearmor
|
sudo tee
/usr/share/keyrings/helm.gpg
>
/dev/null
...
...
@@ -38,10 +38,10 @@ while [ $counter -le $retries ]
do
((
counter++
))
kubectl get ingressroute
if
[
$?
-eq
0]
;
then
if
[
$?
-eq
0
]
;
then
break
else
if
[
$counter
-eq
$retries
]
;
then
if
[
$counter
-eq
$retries
]
;
then
echo
CRDs are not yet available, please
install
helm-chart manually
exit
1
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment