Skip to content

jaconi-io/helm-charts

Repository files navigation

helm-charts

Artifact Hub

helm repo add jaconi https://charts.jaconi.io

Testing

Create a kind cluster:

kind create cluster --config kind.yaml

Install MetalLB in the created cluster:

kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.14.9/config/manifests/metallb-native.yaml

Determine the kind IP range:

docker network inspect -f '{{ .IPAM.Config }}' kind

Configure an IP address pool for MetalLB:

kubectl apply -f - << EOF
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
  name: kind
  namespace: metallb-system
spec:
  addresses:
    - 172.18.255.200-172.18.255.250
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
  name: kind
  namespace: metallb-system
spec:
  ipAddressPools:
    - kind
EOF

Start Keycloak:

docker compose up --detach

Update the Netbird configuration like this:

auth:
  device:
    # provider: none
    provider: hosted
    audience: account
    authority: http://localhost
    clientID: netbird-management
    deviceAuthorizationEndpoint: http://localhost/auth/device
    tokenEndpoint: http://localhost/token
    scope: openid
    useIDToken: false

Install the Helm charts for testing:

for f in */Chart.yaml; do
  chart=$(dirname $f)
  helm install --create-namespace --namespace $chart $chart $chart
done

After changing things, update the Helm charts:

for f in */Chart.yaml; do
  chart=$(dirname $f)
  helm upgrade --namespace $chart $chart $chart
done

NetBird

Forward the NetBird management server to port 8081:

kubectl port-forward -n netbird service/netbird-management 8081:80

Forward the NetBird dashboard to port 8080:

kubectl port-forward -n netbird-dashboard service/netbird-dashboard 8080:80

Forward the NetBird signal server to port 10000:

kubectl port-forward -n netbird service/netbird-signal 10000:80

Join the network by running

netbird up --management-url http://localhost:8081 --admin-url http://localhost:8080

About

Helm charts created and maintained by jaconi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published