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
9400b5b4
Commit
9400b5b4
authored
Mar 27, 2015
by
Matt Moore
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the 'private' (authenticated) image into a bucket owned by google-containers.
parent
e4fc45c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Makefile
contrib/for-demos/serve_hostname/Makefile
+2
-0
rc.go
test/e2e/rc.go
+1
-1
No files found.
contrib/for-demos/serve_hostname/Makefile
View file @
9400b5b4
...
@@ -7,9 +7,11 @@ serve_hostname: serve_hostname.go
...
@@ -7,9 +7,11 @@ serve_hostname: serve_hostname.go
container
:
serve_hostname
container
:
serve_hostname
sudo
docker build
-t
gcr.io/google-containers/serve_hostname:
$(TAG)
.
sudo
docker build
-t
gcr.io/google-containers/serve_hostname:
$(TAG)
.
sudo
docker tag gcr.io/google-containers/serve_hostname:
$(TAG)
gcr.io/_b_k8s_authenticated_test/serve_hostname:
$(TAG)
push
:
push
:
gcloud preview docker push gcr.io/google-containers/serve_hostname:
$(TAG)
gcloud preview docker push gcr.io/google-containers/serve_hostname:
$(TAG)
gcloud preview docker push gcr.io/_b_k8s_authenticated_test/serve_hostname:
$(TAG)
clean
:
clean
:
rm
-f
serve_hostname
rm
-f
serve_hostname
test/e2e/rc.go
View file @
9400b5b4
...
@@ -46,7 +46,7 @@ var _ = Describe("ReplicationController", func() {
...
@@ -46,7 +46,7 @@ var _ = Describe("ReplicationController", func() {
It
(
"should serve a basic image on each replica with a private image"
,
func
()
{
It
(
"should serve a basic image on each replica with a private image"
,
func
()
{
switch
testContext
.
provider
{
switch
testContext
.
provider
{
case
"gce"
,
"gke"
:
case
"gce"
,
"gke"
:
ServeImageOrFail
(
c
,
"private"
,
"gcr.io/_b_k8s_
test/serve_hostname:1.0
"
)
ServeImageOrFail
(
c
,
"private"
,
"gcr.io/_b_k8s_
authenticated_test/serve_hostname:1.1
"
)
default
:
default
:
By
(
fmt
.
Sprintf
(
"Skipping private variant, which is only supported for providers gce and gke (not %s)"
,
By
(
fmt
.
Sprintf
(
"Skipping private variant, which is only supported for providers gce and gke (not %s)"
,
testContext
.
provider
))
testContext
.
provider
))
...
...
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