From e017929512d58dd4ea588d91e95f24665e184bae Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Thu, 29 Aug 2019 11:14:10 +0000 Subject: [PATCH] Remove references to weave-daemonset.yaml from release script and docs --- bin/release | 15 --------------- docs/entrypoints.md | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/bin/release b/bin/release index 5afc675dff..4dbbe50b4b 100755 --- a/bin/release +++ b/bin/release @@ -89,7 +89,6 @@ build() { ## Inject the version numbers and build the distributables ## (library versions?) sed -i.bak "/SCRIPT_VERSION=/ c\SCRIPT_VERSION=\"$VERSION\"" ./weave - sed -i.bak -e "s/:latest/:$VERSION/" -e "/imagePullPolicy: Always/d" ./prog/weave-kube/weave-daemonset.yaml sed -i.bak -e "s/:latest/:$VERSION/" -e "/imagePullPolicy: Always/d" ./prog/weave-kube/weave-daemonset-k8s-1.6.yaml sed -i.bak -e "s/:latest/:$VERSION/" -e "/imagePullPolicy: Always/d" ./prog/weave-kube/weave-daemonset-k8s-1.7.yaml sed -i.bak -e "s/:latest/:$VERSION/" -e "/imagePullPolicy: Always/d" ./prog/weave-kube/weave-daemonset-k8s-1.8.yaml @@ -161,13 +160,6 @@ draft() { --name "weave" \ --file "./weave" - github-release upload \ - --user $GITHUB_USER \ - --repo weave \ - --tag $LATEST_TAG \ - --name "weave-daemonset.yaml" \ - --file "./prog/weave-kube/weave-daemonset.yaml" - github-release upload \ --user $GITHUB_USER \ --repo weave \ @@ -276,13 +268,6 @@ publish() { --name "weave" \ --file "./weave" - github-release upload \ - --user $GITHUB_USER \ - --repo weave \ - --tag latest_release \ - --name "weave-daemonset.yaml" \ - --file "./prog/weave-kube/weave-daemonset.yaml" - github-release upload \ --user $GITHUB_USER \ --repo weave \ diff --git a/docs/entrypoints.md b/docs/entrypoints.md index 9dab85f9b4..1037060ef4 100644 --- a/docs/entrypoints.md +++ b/docs/entrypoints.md @@ -64,7 +64,7 @@ To add new options to how weave should run with each invocation, you would do th 5. Add a command-line option `--option` to `weaveutil` or `weaver` as appropriate. 6. If the option can be configured for CNI: * have `prog/weave-kube/launch.sh` read it as an environment variable and set inside - * set a default for the environment variable in `prog/weave-kube/weave-daemonset-k8s-1.6.yaml` and `weave-daemonset.yaml` + * set a default for the environment variable in `prog/weave-kube/weave-daemonset-k8s-N.N.yaml` * if it should be set via `weaver` globally on its one-time initialization invocation, pass it on in `launch.sh` * if it needs to be set via `weaveutil` on each invocation of `weave-net`, have `launch.sh` save it as an option in the CNI config file `/etc/cni/net.d/10-weave.conflist` and then have the CNI code in `plugin/net/cni.go` in `weaveutil` read it and use where appropriate 7. Document it!