-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add input for setting docker registry for microk8s #63
Add input for setting docker registry for microk8s #63
Conversation
i'd REALLY like @neoaggelos to take a look at this but he may not have a moment to do so. |
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.
Instead of exec, please use File IO. Also, microk8s stop/start is not required, prefer snap restart microk8s.daemon-containerd
, or nothing at all (the config applies immediately
7d846a2
to
500ab08
Compare
src/bootstrap/index.ts
Outdated
@@ -151,6 +174,7 @@ async function run() { | |||
const microk8s_group = get_microk8s_group(); | |||
let bootstrap_constraints = core.getInput("bootstrap-constraints"); | |||
const microk8s_addons = core.getInput("microk8s-addons") | |||
const microk8s_docker_registry = core.getInput("microk8s-docker-registry") || process.env["DOCKERHUB_MIRROR"] |
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.
so? why is one DOCKERHUB_MIRROR
and the other microk8s-docker-registry
feels to me these ought to be consistent.
Is the intent here to use a replacement oci-registry?
I kinda like either container-registry-url
or oci-registry-url
and just drop the "microk8s" bit.
then have the env var CONTAINER_REGISTRY_URL
or OCI_REGISTRY_URL
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.
Updated the microk8s-docker-registry
to container-registry-url
in the code
Add workflow input for microk8s to use private docker registry.