mirror of https://github.com/kubernetes/kops.git
Update Weave to v2.8.1
This commit is contained in:
parent
3d39be7721
commit
dc407e8a9b
|
|
@ -40542,7 +40542,7 @@ func cloudupResourcesAddonsNetworkingProjectcalicoOrgCanalK8s116YamlTemplate() (
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var _cloudupResourcesAddonsNetworkingWeaveK8s112YamlTemplate = []byte(`# Pulled and modified from: https://github.com/weaveworks/weave/releases/download/v2.8.0/weave-daemonset-k8s-1.11.yaml
|
var _cloudupResourcesAddonsNetworkingWeaveK8s112YamlTemplate = []byte(`# Pulled and modified from: https://github.com/weaveworks/weave/releases/download/v2.8.1/weave-daemonset-k8s-1.11.yaml
|
||||||
|
|
||||||
{{- if WeaveSecret }}
|
{{- if WeaveSecret }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
@ -40688,7 +40688,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: weave-init
|
- name: weave-init
|
||||||
image: 'weaveworks/weave-kube:{{ or .Networking.Weave.Version "2.8.0" }}'
|
image: 'weaveworks/weave-kube:{{ or .Networking.Weave.Version "2.8.1" }}'
|
||||||
command:
|
command:
|
||||||
- /home/weave/init.sh
|
- /home/weave/init.sh
|
||||||
securityContext:
|
securityContext:
|
||||||
|
|
@ -40742,7 +40742,7 @@ spec:
|
||||||
name: weave-net
|
name: weave-net
|
||||||
key: network-password
|
key: network-password
|
||||||
{{- end }}
|
{{- end }}
|
||||||
image: 'weaveworks/weave-kube:{{ or .Networking.Weave.Version "2.8.0" }}'
|
image: 'weaveworks/weave-kube:{{ or .Networking.Weave.Version "2.8.1" }}'
|
||||||
ports:
|
ports:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: 6782
|
containerPort: 6782
|
||||||
|
|
@ -40768,6 +40768,9 @@ spec:
|
||||||
- name: dbus
|
- name: dbus
|
||||||
mountPath: /host/var/lib/dbus
|
mountPath: /host/var/lib/dbus
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- mountPath: /host/etc/machine-id
|
||||||
|
name: cni-machine-id
|
||||||
|
readOnly: true
|
||||||
- name: xtables-lock
|
- name: xtables-lock
|
||||||
mountPath: /run/xtables.lock
|
mountPath: /run/xtables.lock
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
|
@ -40782,7 +40785,7 @@ spec:
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value: "{{ .Networking.Weave.NPCExtraArgs }}"
|
value: "{{ .Networking.Weave.NPCExtraArgs }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
image: 'weaveworks/weave-npc:{{ or .Networking.Weave.Version "2.8.0" }}'
|
image: 'weaveworks/weave-npc:{{ or .Networking.Weave.Version "2.8.1" }}'
|
||||||
ports:
|
ports:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: 6781
|
containerPort: 6781
|
||||||
|
|
@ -40813,8 +40816,6 @@ spec:
|
||||||
operator: Exists
|
operator: Exists
|
||||||
- effect: NoExecute
|
- effect: NoExecute
|
||||||
operator: Exists
|
operator: Exists
|
||||||
- key: CriticalAddonsOnly
|
|
||||||
operator: Exists
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: weavedb
|
- name: weavedb
|
||||||
hostPath:
|
hostPath:
|
||||||
|
|
@ -40828,6 +40829,9 @@ spec:
|
||||||
- name: cni-conf
|
- name: cni-conf
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /etc
|
path: /etc
|
||||||
|
- name: cni-machine-id
|
||||||
|
hostPath:
|
||||||
|
path: /etc/machine-id
|
||||||
- name: dbus
|
- name: dbus
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/lib/dbus
|
path: /var/lib/dbus
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Pulled and modified from: https://github.com/weaveworks/weave/releases/download/v2.8.0/weave-daemonset-k8s-1.11.yaml
|
# Pulled and modified from: https://github.com/weaveworks/weave/releases/download/v2.8.1/weave-daemonset-k8s-1.11.yaml
|
||||||
|
|
||||||
{{- if WeaveSecret }}
|
{{- if WeaveSecret }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
@ -144,7 +144,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: weave-init
|
- name: weave-init
|
||||||
image: 'weaveworks/weave-kube:{{ or .Networking.Weave.Version "2.8.0" }}'
|
image: 'weaveworks/weave-kube:{{ or .Networking.Weave.Version "2.8.1" }}'
|
||||||
command:
|
command:
|
||||||
- /home/weave/init.sh
|
- /home/weave/init.sh
|
||||||
securityContext:
|
securityContext:
|
||||||
|
|
@ -198,7 +198,7 @@ spec:
|
||||||
name: weave-net
|
name: weave-net
|
||||||
key: network-password
|
key: network-password
|
||||||
{{- end }}
|
{{- end }}
|
||||||
image: 'weaveworks/weave-kube:{{ or .Networking.Weave.Version "2.8.0" }}'
|
image: 'weaveworks/weave-kube:{{ or .Networking.Weave.Version "2.8.1" }}'
|
||||||
ports:
|
ports:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: 6782
|
containerPort: 6782
|
||||||
|
|
@ -224,6 +224,9 @@ spec:
|
||||||
- name: dbus
|
- name: dbus
|
||||||
mountPath: /host/var/lib/dbus
|
mountPath: /host/var/lib/dbus
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- mountPath: /host/etc/machine-id
|
||||||
|
name: cni-machine-id
|
||||||
|
readOnly: true
|
||||||
- name: xtables-lock
|
- name: xtables-lock
|
||||||
mountPath: /run/xtables.lock
|
mountPath: /run/xtables.lock
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
|
@ -238,7 +241,7 @@ spec:
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value: "{{ .Networking.Weave.NPCExtraArgs }}"
|
value: "{{ .Networking.Weave.NPCExtraArgs }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
image: 'weaveworks/weave-npc:{{ or .Networking.Weave.Version "2.8.0" }}'
|
image: 'weaveworks/weave-npc:{{ or .Networking.Weave.Version "2.8.1" }}'
|
||||||
ports:
|
ports:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: 6781
|
containerPort: 6781
|
||||||
|
|
@ -269,8 +272,6 @@ spec:
|
||||||
operator: Exists
|
operator: Exists
|
||||||
- effect: NoExecute
|
- effect: NoExecute
|
||||||
operator: Exists
|
operator: Exists
|
||||||
- key: CriticalAddonsOnly
|
|
||||||
operator: Exists
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: weavedb
|
- name: weavedb
|
||||||
hostPath:
|
hostPath:
|
||||||
|
|
@ -284,6 +285,9 @@ spec:
|
||||||
- name: cni-conf
|
- name: cni-conf
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /etc
|
path: /etc
|
||||||
|
- name: cni-machine-id
|
||||||
|
hostPath:
|
||||||
|
path: /etc/machine-id
|
||||||
- name: dbus
|
- name: dbus
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/lib/dbus
|
path: /var/lib/dbus
|
||||||
|
|
|
||||||
|
|
@ -699,7 +699,7 @@ func (b *BootstrapChannelBuilder) buildAddons(c *fi.ModelBuilderContext) (*chann
|
||||||
if b.Cluster.Spec.Networking.Weave != nil {
|
if b.Cluster.Spec.Networking.Weave != nil {
|
||||||
key := "networking.weave"
|
key := "networking.weave"
|
||||||
versions := map[string]string{
|
versions := map[string]string{
|
||||||
"k8s-1.12": "2.8.0-kops.1",
|
"k8s-1.12": "2.8.1-kops.1",
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -63,8 +63,8 @@ spec:
|
||||||
version: 1.17.0
|
version: 1.17.0
|
||||||
- id: k8s-1.12
|
- id: k8s-1.12
|
||||||
manifest: networking.weave/k8s-1.12.yaml
|
manifest: networking.weave/k8s-1.12.yaml
|
||||||
manifestHash: 950073e66c68d3d33d76be36c9023947f0dff30c
|
manifestHash: 538488bad36e59dbc5fa002960985b62de1aa9bd
|
||||||
name: networking.weave
|
name: networking.weave
|
||||||
selector:
|
selector:
|
||||||
role.kubernetes.io/networking: "1"
|
role.kubernetes.io/networking: "1"
|
||||||
version: 2.8.0-kops.1
|
version: 2.8.1-kops.1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue