Skip to content

Commit

Permalink
Fix missing changes in Weave manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciprian Hacman committed Jun 11, 2020
1 parent 6d865cd commit 3253a34
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 7 deletions.
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 @@ -201,7 +208,6 @@ spec:
- name: xtables-lock
mountPath: /run/xtables.lock
- name: weave-npc
args: []
env:
- name: HOSTNAME
valueFrom:
Expand Down Expand Up @@ -232,6 +238,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 @@ -197,7 +205,6 @@ spec:
- name: xtables-lock
mountPath: /run/xtables.lock
- name: weave-npc
args: []
env:
- name: HOSTNAME
valueFrom:
Expand Down Expand Up @@ -228,6 +235,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 @@ -695,8 +695,8 @@ func (b *BootstrapChannelBuilder) buildAddons() *channelsapi.Addons {
"pre-k8s-1.6": "2.3.0-kops.3",
"k8s-1.6": "2.3.0-kops.3",
"k8s-1.7": "2.5.2-kops.2",
"k8s-1.8": "2.5.2-kops.2",
"k8s-1.12": "2.5.2-kops.3",
"k8s-1.8": "2.5.2-kops.4",
"k8s-1.12": "2.5.2-kops.4",
}

{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ spec:
name: networking.weave
selector:
role.kubernetes.io/networking: "1"
version: 2.5.2-kops.2
version: 2.5.2-kops.4
- id: k8s-1.12
kubernetesVersion: '>=1.12.0'
manifest: networking.weave/k8s-1.12.yaml
manifestHash: 96334bfcfa6a3ec9791b50c94674a8821cb6ad67
name: networking.weave
selector:
role.kubernetes.io/networking: "1"
version: 2.5.2-kops.3
version: 2.5.2-kops.4

0 comments on commit 3253a34

Please sign in to comment.