OCW - Enabling air-gapped container deployment in digital factories
- Docker Desktop
- Kind
- Kubectl
- Flux
- (Optional) k9s (To debug)
-
Clone this repo
-
Create a new kind cluster
kind create cluster
-
Execute
deploy-local.sh <your-gitea-password>
-
Connect to Gitea in the cluster
kubectl port-forward svc/gitea-http 3000
-
Browse to
localhost:3000
-
Sign in with username: flux_robot and your password
-
Click on the link encircled in red, shown on the image below.
Why? This link has the correct url, the other on the right side have a pregenerated url.
-
Upload the configmap.yml file and commit it to the repo
-
Verify that this configMap is created in the cluster (it can take up to one minute)
kubectl get configmap -A