Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
453c46fc
Commit
453c46fc
authored
Oct 11, 2016
by
Madhusudan.C.S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update charts image version.
Also adjust the permissions for kubeconfig mount and fix bash line continuation.
parent
ead65fc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
deploy.sh
federation/deploy/deploy.sh
+5
-5
No files found.
federation/deploy/deploy.sh
View file @
453c46fc
...
@@ -38,7 +38,7 @@ source "${KUBE_ROOT}/cluster/lib/logging.sh"
...
@@ -38,7 +38,7 @@ source "${KUBE_ROOT}/cluster/lib/logging.sh"
readonly
KUBE_ANYWHERE_FEDERATION_IMAGE
=
"gcr.io/madhusudancs-containers/kubernetes-anywhere-federation"
readonly
KUBE_ANYWHERE_FEDERATION_IMAGE
=
"gcr.io/madhusudancs-containers/kubernetes-anywhere-federation"
readonly
KUBE_ANYWHERE_FEDERATION_VERSION
=
"v0.9.0"
readonly
KUBE_ANYWHERE_FEDERATION_VERSION
=
"v0.9.0"
readonly
KUBE_ANYWHERE_FEDERATION_CHARTS_IMAGE
=
"gcr.io/madhusudancs-containers/federation-charts"
readonly
KUBE_ANYWHERE_FEDERATION_CHARTS_IMAGE
=
"gcr.io/madhusudancs-containers/federation-charts"
readonly
KUBE_ANYWHERE_FEDERATION_CHARTS_VERSION
=
"v0.9.
0
"
readonly
KUBE_ANYWHERE_FEDERATION_CHARTS_VERSION
=
"v0.9.
1
"
readonly
GOOGLE_APPLICATION_CREDENTIALS
=
"
${
GOOGLE_APPLICATION_CREDENTIALS
:-${
HOME
}
/.config/gcloud/application_default_credentials.json
}
"
readonly
GOOGLE_APPLICATION_CREDENTIALS
=
"
${
GOOGLE_APPLICATION_CREDENTIALS
:-${
HOME
}
/.config/gcloud/application_default_credentials.json
}
"
readonly
KUBE_CONFIG_DIR
=
"
${
KUBE_CONFIG_DIR
:-${
HOME
}
/.kube
}
"
readonly
KUBE_CONFIG_DIR
=
"
${
KUBE_CONFIG_DIR
:-${
HOME
}
/.kube
}
"
...
@@ -89,13 +89,13 @@ function federation_action() {
...
@@ -89,13 +89,13 @@ function federation_action() {
local
-r
action
=
"
${
1
:-}
"
local
-r
action
=
"
${
1
:-}
"
kube::log::status
"Action:
${
action
}
federation components"
kube::log::status
"Action:
${
action
}
federation components"
# For non-GKE clusters just mounting kubeconfig is sufficient. But we
# need gcloud credentials for GKE clusters, so we pass both kubeconfig
# and gcloud credentials
docker run
\
docker run
\
-m
12G
\
-m
12G
\
# For non-GKE clusters just mounting kubeconfig is sufficient. But we need
# gcloud credentials for GKE clusters, so we pass both kubeconfig and
# gcloud credentials
-v
"
${
GOOGLE_APPLICATION_CREDENTIALS
}
:/root/.config/gcloud/application_default_credentials.json:ro"
\
-v
"
${
GOOGLE_APPLICATION_CREDENTIALS
}
:/root/.config/gcloud/application_default_credentials.json:ro"
\
-v
"
${
KUBE_CONFIG
}
:/root/.kube/config
:ro
"
\
-v
"
${
KUBE_CONFIG
}
:/root/.kube/config"
\
-v
"
${
FEDERATION_OUTPUT_ROOT
}
:/_output"
\
-v
"
${
FEDERATION_OUTPUT_ROOT
}
:/_output"
\
"
${
KUBE_ANYWHERE_FEDERATION_CHARTS_IMAGE
}
:
${
KUBE_ANYWHERE_FEDERATION_CHARTS_VERSION
}
"
\
"
${
KUBE_ANYWHERE_FEDERATION_CHARTS_IMAGE
}
:
${
KUBE_ANYWHERE_FEDERATION_CHARTS_VERSION
}
"
\
"
${
action
}
"
"
${
action
}
"
...
...
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