-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
After #51413 is merged, this lsync.sh only works for a folder:
$ ./scripts/lsync.sh content/zh-cn/docs/tasks/
5 4 content/en/docs/tasks/run-application/horizontal-pod-autoscale.md
9 9 content/en/docs/tasks/manage-kubernetes-objects/storage-version-migration.md
1 1 content/en/docs/tasks/manage-kubernetes-objects/kustomization.md
1 1 content/en/docs/tasks/configure-pod-container/security-context.md
2 2 content/en/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy.mdBut it does not work for a specific file. Nothing is output and no any response.
$ ./scripts/lsync.sh content/zh-cn/docs/tasks/manage-kubernetes-objects/kustomization.md
$
$The output should be similar to:
$ ./scripts/lsync.sh content/zh-cn/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy.md
diff --git a/content/en/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy.md b/content/en/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy.md
index 631d3e6ba5..1b5aa70ad9 100644
--- a/content/en/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy.md
+++ b/content/en/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy.md
@@ -19,10 +19,10 @@ You need to have a Kubernetes cluster. Follow the
## Install the Weave Net addon
-Follow the [Integrating Kubernetes via the Addon](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/) guide.
+Follow the [Integrating Kubernetes via the Addon](https://github.com/weaveworks/weave/blob/master/site/kubernetes/kube-addon.md#-installation) guide.
The Weave Net addon for Kubernetes comes with a
-[Network Policy Controller](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/#npc)
+[Network Policy Controller](https://github.com/weaveworks/weave/blob/master/site/kubernetes/kube-addon.md#network-policy)
that automatically monitors Kubernetes for any NetworkPolicy annotations on all
namespaces and configures `iptables` rules to allow or block traffic as directed by the policies.
Every rose has its thorn.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.