/ocw-airgap

OCW - Enabling air-gapped container deployment in digital factories

Primary LanguageShellMIT LicenseMIT

ocw-airgap

OCW - Enabling air-gapped container deployment in digital factories

Required Tools

  • Docker Desktop
  • Kind
  • Kubectl
  • Flux
  • (Optional) k9s (To debug)

Architecture

Architecture

Installing

  1. Clone this repo

  2. Create a new kind cluster

kind create cluster
  1. Execute deploy-local.sh <your-gitea-password>

  2. Connect to Gitea in the cluster

kubectl port-forward svc/gitea-http 3000
  1. Browse to localhost:3000

  2. Sign in with username: flux_robot and your password

  3. Click on the link encircled in red, shown on the image below. gitea

Why? This link has the correct url, the other on the right side have a pregenerated url.

  1. Upload the configmap.yml file and commit it to the repo

  2. Verify that this configMap is created in the cluster (it can take up to one minute)

kubectl get configmap -A

configmap