From 9b4a0ce9a619c1007d112c5f7ce77a7ab931e94c Mon Sep 17 00:00:00 2001 From: Mohammed Alrokayan Date: Sun, 30 Jun 2024 15:20:10 +0300 Subject: [PATCH] Update how-to-use.md typo KUBERNETES_SERVICE_PROTOCOL --- docs/how-to-use.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index 78ffabc9a..09197162b 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -126,7 +126,7 @@ Create kubeconfig at master node as following commands: mkdir -p /etc/cni/net.d/multus.d SERVICEACCOUNT_CA=$(kubectl get secrets -n=kube-system -o json | jq -r '.items[]|select(.metadata.annotations."kubernetes.io/service-account.name"=="multus")| .data."ca.crt"') SERVICEACCOUNT_TOKEN=$(kubectl get secrets -n=kube-system -o json | jq -r '.items[]|select(.metadata.annotations."kubernetes.io/service-account.name"=="multus")| .data.token' | base64 -d ) -KUBERNETES_SERVICE_PROTO=$(kubectl get all -o json | jq -r .items[0].spec.ports[0].name) +KUBERNETES_SERVICE_PROTOCOL=$(kubectl get all -o json | jq -r .items[0].spec.ports[0].name) KUBERNETES_SERVICE_HOST=$(kubectl get all -o json | jq -r .items[0].spec.clusterIP) KUBERNETES_SERVICE_PORT=$(kubectl get all -o json | jq -r .items[0].spec.ports[0].port) cat > /etc/cni/net.d/multus.d/multus.kubeconfig <