-
Notifications
You must be signed in to change notification settings - Fork 1
Changes to make DamCTF work #53
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
This consolidates (almost) all of the error display handling into the cli main(), which is idiomatic since the library side of this shouldn't need to worry about how its errors are presented. There are a couple spots where the Error case is a Vec of things, which can't be handled by the single error handler in main. These have been changed to do their custom error printing, then return a new error to main(). I added TODO comments to these. Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Pull secrets are namespace-scoped, so need to be present in all of our namespaces that use our images. Also update deployments to use these pull secrets. Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
We're reusing the same tags, so always pull latest so not stuck on stale image Signed-off-by: Robert Detjens <[email protected]>
1e59954
to
626fec0
Compare
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
Signed-off-by: Robert Detjens <[email protected]>
a856f51
to
2a94604
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
future consideration: do we want a way to use non-letsencrypt ACME?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good
already tested in prod
@@ -48,6 +43,93 @@ pub async fn docker() -> Result<&'static bollard::Docker> { | |||
} | |||
} | |||
|
|||
/// Fetch registry login credentials from ~/.docker/config.json or $DOCKER_CONFIG | |||
/// | |||
/// For now, this is only `docker.io` credentials, as it is the only registry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably want to track this in an issue (perhaps separate from #59)
Changes during DamCTF crunch time to get things working.
Notable changes:
helm
binary in cluster-setupregistry.cluster
image pull credentials to clusterdocker.io
dockerhub credentials when building images if available ( closes use docker credentials during build #59 )architecture
in challenge pod config for pods that need to run onarm64
(defaults toamd64
) ( closes Note for later: challenge pods now acceptarchitecture:
#55 )