-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[kots]: enable use of a local registry #9155
Conversation
@@ -24,7 +24,7 @@ spec: | |||
containers: | |||
- name: installer | |||
# This will normally be the release tag - using this tag as need the license evaluator | |||
image: 'eu.gcr.io/gitpod-core-dev/build/installer:sje-installer-mini-config.0' | |||
image: 'eu.gcr.io/gitpod-core-dev/build/installer:sje-airgapped.0' |
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.
This is why I want to have a latest
tag for the Installer
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.
latest
is never latest
- just forget to change the PullPolicy and you'll spend hours wondering why this doesn't work as expected.
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.
I know. This line is actually changed by the werft job when it pushes to KOTS. It's just for avoidance for having to change line in PRs
bca24d7
to
95711ac
Compare
90f33bd
to
a9918dc
Compare
/werft run publish-to-kots 👍 started the job as gitpod-build-sje-airgapped.7 |
/werft run publish-to-kots with-clean-slate-deployment |
a9918dc
to
a3294b7
Compare
/werft run publish-to-kots with-clean-slate-deployment 👍 started the job as gitpod-build-sje-airgapped.10 |
/werft run publish-to-kots 👍 started the job as gitpod-build-sje-airgapped.11 |
a3294b7
to
d3bc14e
Compare
/werft run publish-to-kots 👍 started the job as gitpod-build-sje-airgapped.13 |
d3bc14e
to
1ed18d3
Compare
/werft run publish-to-kots 👍 started the job as gitpod-build-sje-airgapped.15 |
1ed18d3
to
07b95d4
Compare
/werft run publish-to-kots 👍 started the job as gitpod-build-sje-airgapped.17 |
/werft run publish-to-kots with-clean-slate-deployment 👍 started the job as gitpod-build-sje-airgapped.18 |
07b95d4
to
cfaac74
Compare
/werft run with-clean-slate-deployment 👍 started the job as gitpod-build-sje-airgapped.20 |
/werft run publish-to-kots 👍 started the job as gitpod-build-sje-airgapped.21 |
d700891
to
1bd1b95
Compare
/werft run publish-to-kots with-clean-slate-deployment no-preview 👍 started the job as gitpod-build-sje-airgapped.33 |
This will enable use of Replicated's airgapped functionality
800be92
to
29a68b3
Compare
/werft run publish-to-kots no-preview 👍 started the job as gitpod-build-sje-airgapped.35 |
29a68b3
to
1fab3d4
Compare
/werft run publish-to-kots with-clean-slate-deployment no-preview 👍 started the job as gitpod-build-sje-airgapped.37 |
1fab3d4
to
5964239
Compare
/werft run publish-to-kots with-clean-slate-deployment no-preview 👍 started the job as gitpod-build-sje-airgapped.39 |
This moves the ImageName and RepoName functions to the RenderContext struct.
5964239
to
c77dfd7
Compare
/werft run publish-to-kots no-preview 👍 started the job as gitpod-build-sje-airgapped.41 |
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.
Reviewed again, looks even better now. Adding my rubber-stamp here, again. 🤞
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.
Thanks Simon :)
/werft run no-preview 👍 started the job as gitpod-build-sje-airgapped.42 |
@mrsimonemms Started with the review but need more time testing it. Will finish my review tomorrow. 🙏 |
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.
I am not sure how to test, but code LGTM
Description
This will enable use of Replicated's airgapped functionality.
Related Issue(s)
Fixes #9180
Fixed #9041
How to test
TF_VAR_domain_name
envvar to the domain name you want to use andTF_VAR_enabled_airgapped=true
.dev-sje
channelmake install
to get the command to install Gitpod via KOTS. This will also configure the local registryImportant, this has been tested with a valid TLS cert issued via LetsEncrypt. Self-signed/corporate CA certs are outside the scope of this ticket
This workflow doesn't include anything past login as that requires a self-hosted GitLab instance on the same network which I've not yet done. In theory, this should work fine but any further stuff for that can be done as a future PR.
Release Notes
Documentation