![](/_next/image?url=%2Fimages%2Fprofile.jpg&w=384&q=75)
Martin Koníček
Blog
MicroK8s git fetch kustomize error
![Showcase image](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F93eujfo6%2Fproduction%2Fd3c794caf4a88af4557b0ada9cd169c576e9cdfc-1200x630.jpg%3Frect%3D180%2C0%2C840%2C630%26w%3D1024%26h%3D768%26fit%3Dmax%26auto%3Dformat&w=2048&q=75)
This is a simple workaround when you get a git fetch error when trying deploy kustomize on MicroK8s
Error
kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd/experimental?ref=444631bfe06f3bcca5d0eadf1857eac1d369421d" | kubectl apply -f -
error: git cmd = '/snap/microk8s/6572/usr/bin/git fetch --depth=1 origin 444631bfe06f3bcca5d0eadf1857eac1d369421d': exit status 128
Solution
sudo mount --bind -o nodev,ro /usr/bin /snap/microk8s/current/usr/bin
Resolution
$ sudo mount --bind -o nodev,ro /usr/bin /snap/microk8s/current/usr/bin
$ kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd/experimental?ref=444631bfe06f3bcca5d0eadf1857eac1d369421d" | kubectl apply -f -
customresourcedefinition.apiextensions.k8s.io/gatewayclasses.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/gateways.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/grpcroutes.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/httproutes.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/referencegrants.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/tcproutes.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/tlsroutes.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/udproutes.gateway.networking.k8s.io configured
This is regarding wrong version of git related to bug https://github.com/canonical/microk8s/issues/4202
![NextJS - global font with css style module](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F93eujfo6%2Fproduction%2Fd1d9b4568e359c906c32259f31d8b935fe10f19a-332x152.jpg%3Frect%3D90%2C0%2C152%2C152%26w%3D100%26h%3D100%26fit%3Dmax%26auto%3Dformat&w=256&q=75)
NextJS - global font with css style moduleI was wondering, how to set-up global font module using css style module