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

Configure the operator to deploy airgapped versions of the devfile and plugin registries #93

Merged
merged 13 commits into from
Oct 14, 2019
Merged

Configure the operator to deploy airgapped versions of the devfile and plugin registries #93

merged 13 commits into from
Oct 14, 2019

Conversation

tomgeorge
Copy link
Contributor

This PR changes the operator to configure the devfile and plugin registries to work with airgap mode as per eclipse-che/che#14734.

It creates two configmaps, devfile-registry and plugin-registry, and adds the values of airGapContainerRegistryHostname and airGapContainerRegistryOrganization to it, and sets the deployments to optionally reference those configmaps.

…ata to che configmap if we are in airgap mode

Signed-off-by: Tom George <tg82490@gmail.com>
Signed-off-by: Tom George <tg82490@gmail.com>
Signed-off-by: Tom George <tg82490@gmail.com>
Signed-off-by: Tom George <tg82490@gmail.com>
Signed-off-by: Tom George <tg82490@gmail.com>
Signed-off-by: Tom George <tg82490@gmail.com>
Signed-off-by: Tom George <tg82490@gmail.com>
@tomgeorge tomgeorge changed the title Che 14734 registries configmaps [WIP] Che 14734 registries configmaps Oct 11, 2019
@tomgeorge tomgeorge changed the title [WIP] Che 14734 registries configmaps [WIP] Configure the operator to deploy airgapped versions of the devfile and plugin registries Oct 11, 2019
pkg/apis/org/v1/zz_generated.deepcopy.go Outdated Show resolved Hide resolved
pkg/controller/che/che_controller.go Show resolved Hide resolved
pkg/deploy/registry_configmap.go Outdated Show resolved Hide resolved
Copy link
Contributor

@davidfestal davidfestal left a comment

Choose a reason for hiding this comment

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

And you will also have to cope with this comment: eclipse-che/che-devfile-registry#112 (review) for offline.

Signed-off-by: Tom George <tg82490@gmail.com>
Signed-off-by: Tom George <tg82490@gmail.com>
Signed-off-by: Tom George <tg82490@gmail.com>
…roperty occurs

Signed-off-by: Tom George <tg82490@gmail.com>
Signed-off-by: Tom George <tg82490@gmail.com>
@davidfestal davidfestal changed the title [WIP] Configure the operator to deploy airgapped versions of the devfile and plugin registries Configure the operator to deploy airgapped versions of the devfile and plugin registries Oct 14, 2019
@davidfestal davidfestal merged commit 663d422 into eclipse-che:master Oct 14, 2019
@tomgeorge tomgeorge deleted the che-14734-registries-configmaps branch October 21, 2019 18:45
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.

None yet

3 participants