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
41468fb3
Commit
41468fb3
authored
Jan 19, 2017
by
Madhusudan.C.S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Read the VERSIONS file for the FEDERATION_IMAGE_TAG value.
This is particularly important in the local builds where there is no $KUBERNETES_RELEASE defined.
parent
6e268e6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
federation-up.sh
federation/cluster/federation-up.sh
+5
-1
No files found.
federation/cluster/federation-up.sh
View file @
41468fb3
...
...
@@ -82,6 +82,10 @@ if [[ "${USE_KUBEFED}" == "true" ]]; then
init
create_cluster_secrets
else
export
FEDERATION_IMAGE_TAG
=
"
$(
echo
${
KUBERNETES_RELEASE
:-}
|
tr
+ _
)
"
# Read the version back from the versions file if no version is given.
readonly
kube_version
=
"
$(
cat
${
KUBE_ROOT
}
/_output/federation/versions | python
-c
'\
import json, sys;\
print json.load(sys.stdin)["KUBE_VERSION"]'
)
"
export
FEDERATION_IMAGE_TAG
=
"
$(
echo
${
KUBERNETES_RELEASE
:-${
kube_version
}}
|
tr
+ _
)
"
create-federation-api-objects
fi
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