Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename restic-init-container to ark-restic-restore-helper #541

Merged
merged 2 commits into from
Jun 11, 2018

Conversation

skriss
Copy link
Contributor

@skriss skriss commented Jun 11, 2018

Signed-off-by: Steve Kriss [email protected]

@skriss skriss requested a review from ncdc June 11, 2018 17:17
@@ -66,7 +66,7 @@ func (a *resticRestoreAction) Execute(obj runtime.Unstructured, restore *api.Res

initContainer := corev1.Container{
Name: restic.InitContainer,
Image: "gcr.io/heptio-images/restic-init-container:latest",
Image: "gcr.io/heptio-images/ark-restic-restore-helper:latest",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO we can't hard-code latest here. We could have it match ark's version. We may want to have a command line flag to specify the full image spec for this that override's ark's version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO'ed

@skriss skriss force-pushed the rename-init-container branch from e91a81d to 81520a9 Compare June 11, 2018 17:24
@ncdc
Copy link
Contributor

ncdc commented Jun 11, 2018

Thanks LGTM

@ncdc
Copy link
Contributor

ncdc commented Jun 11, 2018

Actually since we aren't going to be setting latest for v0.9.0.alpha.1, we may need to handle that TODO now. WDYT?

@skriss
Copy link
Contributor Author

skriss commented Jun 11, 2018

can we just grab buildinfo.Version? That's an easy change, and can leave TODO for cmd-line flag

@ncdc
Copy link
Contributor

ncdc commented Jun 11, 2018

That helps with the tag but not the rest of the image URL. But it's a good start, so let's do it. And have the cli flag before we cut 0.9 final.

@skriss skriss force-pushed the rename-init-container branch from 7c8a7c4 to 78b3feb Compare June 11, 2018 17:40
tag = "latest"
}

return fmt.Sprintf("gcr.io/heptio-images/ark-restic-restore-helper:%s", tag)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You lost the TODO

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

urgh. cut and failed to paste :/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upd.

@skriss skriss force-pushed the rename-init-container branch from 78b3feb to d7134b1 Compare June 11, 2018 17:46
@ncdc
Copy link
Contributor

ncdc commented Jun 11, 2018

LGTM

@ncdc ncdc merged commit 3177140 into vmware-tanzu:master Jun 11, 2018
@skriss skriss deleted the rename-init-container branch June 11, 2018 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants