This topic gives you the list of configurations required for Learning Center to properly function in an air-gapped environment.
Learning Center can run in an air-gapped environment but workshops do not have this capability by default. Users must therefore take the following steps to ensure Learning Center functions as expected.
In an air-gapped environment a user has no Internet access, so workshop yamls should be modified to use:
For example, in NPM you can modify the npmrc file to use:
// .npmrc
registry=https://myregistry-url
Air-gapped environments normally use private Certificate Authorities (CA) that may require the use of self-signed certificates. You can allow the injection of CAs by:
Add the following to your workshop definition:
spec:
session:
env:
- name: NODE_EXTRA_CA_CERTS
value: "$my-cert-pathway"
If the workshop requires the installation of any Internet dependency, such as a Linux Tool or any other tool, it must be done in the workshop image. See Build an image