Remove references to weave-daemonset.yaml from release script and docs
This commit is contained in:
1 parent
9d485d0f21
commit
77bfa6a7e4
2 files changed
+1
-16
No files matched your search
-15
@@ -89,7 +89,6 @@ build() {
|
|||||||
## Inject the version numbers and build the distributables
|
## Inject the version numbers and build the distributables
|
||||||
## (library versions?)
|
## (library versions?)
|
||||||
sed -i.bak "/SCRIPT_VERSION=/ c\SCRIPT_VERSION=\"$VERSION\"" ./weave
|
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.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.7.yaml
|
||||||
sed -i.bak -e "s/:latest/:$VERSION/" -e "/imagePullPolicy: Always/d" ./prog/weave-kube/weave-daemonset-k8s-1.8.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" \
|
--name "weave" \
|
||||||
--file "./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 \
|
github-release upload \
|
||||||
--user $GITHUB_USER \
|
--user $GITHUB_USER \
|
||||||
--repo weave \
|
--repo weave \
|
||||||
@@ -276,13 +268,6 @@ publish() {
|
|||||||
--name "weave" \
|
--name "weave" \
|
||||||
--file "./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 \
|
github-release upload \
|
||||||
--user $GITHUB_USER \
|
--user $GITHUB_USER \
|
||||||
--repo weave \
|
--repo weave \
|
||||||
|
|||||||
+1
-1
@@ -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.
|
5. Add a command-line option `--option` to `weaveutil` or `weaver` as appropriate.
|
||||||
6. If the option can be configured for CNI:
|
6. If the option can be configured for CNI:
|
||||||
* have `prog/weave-kube/launch.sh` read it as an environment variable and set inside
|
* 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 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
|
* 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!
|
7. Document it!
|
||||||
Reference in new issue
Block a user