Skip to content

Commit

Permalink
Merge pull request #8965 from hakman/weave-fixes
Browse files Browse the repository at this point in the history
Fix missing changes in Weave manifest
  • Loading branch information
k8s-ci-robot committed Apr 28, 2020
2 parents f00e538 + 227a767 commit 0adf32f
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 12 deletions.
23 changes: 20 additions & 3 deletions upup/models/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ rules:
- get
- list
- watch
- apiGroups:
- extensions
resources:
- networkpolicies
verbs:
- get
- list
- watch
- apiGroups:
- 'networking.k8s.io'
resources:
Expand Down Expand Up @@ -131,7 +139,6 @@ spec:
role.kubernetes.io/networking: "1"
annotations:
prometheus.io/scrape: "true"
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
containers:
- name: weave
Expand Down Expand Up @@ -205,7 +212,6 @@ spec:
mountPath: /run/xtables.lock
readOnly: false
- name: weave-npc
args: []
env:
- name: HOSTNAME
valueFrom:
Expand Down Expand Up @@ -245,6 +251,8 @@ spec:
tolerations:
- effect: NoSchedule
operator: Exists
- effect: NoExecute
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ rules:
- get
- list
- watch
- apiGroups:
- extensions
resources:
- networkpolicies
verbs:
- get
- list
- watch
- apiGroups:
- 'networking.k8s.io'
resources:
Expand Down Expand Up @@ -201,7 +209,6 @@ spec:
mountPath: /run/xtables.lock
readOnly: false
- name: weave-npc
args: []
env:
- name: HOSTNAME
valueFrom:
Expand Down Expand Up @@ -240,6 +247,8 @@ spec:
tolerations:
- effect: NoSchedule
operator: Exists
- effect: NoExecute
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
volumes:
Expand Down
4 changes: 2 additions & 2 deletions upup/pkg/fi/cloudup/bootstrapchannelbuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,8 @@ func (b *BootstrapChannelBuilder) buildAddons() *channelsapi.Addons {
if b.cluster.Spec.Networking.Weave != nil {
key := "networking.weave"
versions := map[string]string{
"k8s-1.8": "2.6.2-kops.1",
"k8s-1.12": "2.6.2-kops.1",
"k8s-1.8": "2.6.2-kops.2",
"k8s-1.12": "2.6.2-kops.2",
}

{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,16 @@ spec:
- id: k8s-1.8
kubernetesVersion: <1.12.0
manifest: networking.weave/k8s-1.8.yaml
manifestHash: 23511c3485517049f5b90ce365a3e329509194ee
manifestHash: 6d1820c37afaee6423b9d16cfbc45fcca281b18f
name: networking.weave
selector:
role.kubernetes.io/networking: "1"
version: 2.6.2-kops.1
version: 2.6.2-kops.2
- id: k8s-1.12
kubernetesVersion: '>=1.12.0'
manifest: networking.weave/k8s-1.12.yaml
manifestHash: 5c6202bc41043a72cb78ade6c761ccaf183bd36c
manifestHash: 103cd60b880d9bab489b80c81a307a60a8328c69
name: networking.weave
selector:
role.kubernetes.io/networking: "1"
version: 2.6.2-kops.1
version: 2.6.2-kops.2

0 comments on commit 0adf32f

Please sign in to comment.