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
47bcf371
Commit
47bcf371
authored
Apr 03, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #23045 from justinsb/aws_bump_image_20160316
Automatic merge from submit-queue AWS kube-up: Bump jessie image
parents
7d7ca5ab
243e97c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
util.sh
cluster/aws/jessie/util.sh
+4
-3
No files found.
cluster/aws/jessie/util.sh
View file @
47bcf371
...
...
@@ -28,10 +28,11 @@ SSH_USER=admin
function
detect-jessie-image
()
{
if
[[
-z
"
${
AWS_IMAGE
-
}
"
]]
;
then
# TODO: publish on a k8s AWS account
aws_account
=
"721322707521"
# TODO: we could use tags for the image
aws_account
=
"282335181503"
# TODO: we could use a tag for the latest image, instead of bumping it every time
# e.g. family = k8s-1.2-debian-jessie-amd64-hvm-ebs latest/1.2=true
if
[[
-z
"
${
AWS_IMAGE_NAME
:-}
"
]]
;
then
AWS_IMAGE_NAME
=
"k8s-1.2-debian-jessie-amd64-hvm-2016-03-
05
-ebs"
AWS_IMAGE_NAME
=
"k8s-1.2-debian-jessie-amd64-hvm-2016-03-
16
-ebs"
fi
AWS_IMAGE
=
`
aws ec2 describe-images
--owner
${
aws_account
}
--filters
Name
=
name,Values
=
${
AWS_IMAGE_NAME
}
--query
Images[].ImageId
--output
text
`
if
[[
-z
"
${
AWS_IMAGE
-
}
"
]]
;
then
...
...
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