mirror of https://github.com/kubernetes/kops.git
Fix missing changes in Weave manifest
This commit is contained in:
parent
841bb0eb93
commit
227a767ce5
|
|
@ -14180,6 +14180,14 @@ rules:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- extensions
|
||||||
|
resources:
|
||||||
|
- networkpolicies
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- 'networking.k8s.io'
|
- 'networking.k8s.io'
|
||||||
resources:
|
resources:
|
||||||
|
|
@ -14275,7 +14283,6 @@ spec:
|
||||||
role.kubernetes.io/networking: "1"
|
role.kubernetes.io/networking: "1"
|
||||||
annotations:
|
annotations:
|
||||||
prometheus.io/scrape: "true"
|
prometheus.io/scrape: "true"
|
||||||
scheduler.alpha.kubernetes.io/critical-pod: ''
|
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: weave
|
- name: weave
|
||||||
|
|
@ -14349,7 +14356,6 @@ spec:
|
||||||
mountPath: /run/xtables.lock
|
mountPath: /run/xtables.lock
|
||||||
readOnly: false
|
readOnly: false
|
||||||
- name: weave-npc
|
- name: weave-npc
|
||||||
args: []
|
|
||||||
env:
|
env:
|
||||||
- name: HOSTNAME
|
- name: HOSTNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
@ -14389,6 +14395,8 @@ spec:
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
- effect: NoExecute
|
||||||
|
operator: Exists
|
||||||
- key: CriticalAddonsOnly
|
- key: CriticalAddonsOnly
|
||||||
operator: Exists
|
operator: Exists
|
||||||
volumes:
|
volumes:
|
||||||
|
|
@ -14472,6 +14480,14 @@ rules:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- extensions
|
||||||
|
resources:
|
||||||
|
- networkpolicies
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- 'networking.k8s.io'
|
- 'networking.k8s.io'
|
||||||
resources:
|
resources:
|
||||||
|
|
@ -14637,7 +14653,6 @@ spec:
|
||||||
mountPath: /run/xtables.lock
|
mountPath: /run/xtables.lock
|
||||||
readOnly: false
|
readOnly: false
|
||||||
- name: weave-npc
|
- name: weave-npc
|
||||||
args: []
|
|
||||||
env:
|
env:
|
||||||
- name: HOSTNAME
|
- name: HOSTNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
@ -14676,6 +14691,8 @@ spec:
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
- effect: NoExecute
|
||||||
|
operator: Exists
|
||||||
- key: CriticalAddonsOnly
|
- key: CriticalAddonsOnly
|
||||||
operator: Exists
|
operator: Exists
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,14 @@ rules:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- extensions
|
||||||
|
resources:
|
||||||
|
- networkpolicies
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- 'networking.k8s.io'
|
- 'networking.k8s.io'
|
||||||
resources:
|
resources:
|
||||||
|
|
@ -131,7 +139,6 @@ spec:
|
||||||
role.kubernetes.io/networking: "1"
|
role.kubernetes.io/networking: "1"
|
||||||
annotations:
|
annotations:
|
||||||
prometheus.io/scrape: "true"
|
prometheus.io/scrape: "true"
|
||||||
scheduler.alpha.kubernetes.io/critical-pod: ''
|
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: weave
|
- name: weave
|
||||||
|
|
@ -205,7 +212,6 @@ spec:
|
||||||
mountPath: /run/xtables.lock
|
mountPath: /run/xtables.lock
|
||||||
readOnly: false
|
readOnly: false
|
||||||
- name: weave-npc
|
- name: weave-npc
|
||||||
args: []
|
|
||||||
env:
|
env:
|
||||||
- name: HOSTNAME
|
- name: HOSTNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
@ -245,6 +251,8 @@ spec:
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
- effect: NoExecute
|
||||||
|
operator: Exists
|
||||||
- key: CriticalAddonsOnly
|
- key: CriticalAddonsOnly
|
||||||
operator: Exists
|
operator: Exists
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,14 @@ rules:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- extensions
|
||||||
|
resources:
|
||||||
|
- networkpolicies
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- 'networking.k8s.io'
|
- 'networking.k8s.io'
|
||||||
resources:
|
resources:
|
||||||
|
|
@ -201,7 +209,6 @@ spec:
|
||||||
mountPath: /run/xtables.lock
|
mountPath: /run/xtables.lock
|
||||||
readOnly: false
|
readOnly: false
|
||||||
- name: weave-npc
|
- name: weave-npc
|
||||||
args: []
|
|
||||||
env:
|
env:
|
||||||
- name: HOSTNAME
|
- name: HOSTNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
@ -240,6 +247,8 @@ spec:
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
- effect: NoExecute
|
||||||
|
operator: Exists
|
||||||
- key: CriticalAddonsOnly
|
- key: CriticalAddonsOnly
|
||||||
operator: Exists
|
operator: Exists
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
|
|
@ -651,8 +651,8 @@ func (b *BootstrapChannelBuilder) buildAddons() *channelsapi.Addons {
|
||||||
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.8": "2.6.2-kops.1",
|
"k8s-1.8": "2.6.2-kops.2",
|
||||||
"k8s-1.12": "2.6.2-kops.1",
|
"k8s-1.12": "2.6.2-kops.2",
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -89,16 +89,16 @@ spec:
|
||||||
- id: k8s-1.8
|
- id: k8s-1.8
|
||||||
kubernetesVersion: <1.12.0
|
kubernetesVersion: <1.12.0
|
||||||
manifest: networking.weave/k8s-1.8.yaml
|
manifest: networking.weave/k8s-1.8.yaml
|
||||||
manifestHash: 23511c3485517049f5b90ce365a3e329509194ee
|
manifestHash: 6d1820c37afaee6423b9d16cfbc45fcca281b18f
|
||||||
name: networking.weave
|
name: networking.weave
|
||||||
selector:
|
selector:
|
||||||
role.kubernetes.io/networking: "1"
|
role.kubernetes.io/networking: "1"
|
||||||
version: 2.6.2-kops.1
|
version: 2.6.2-kops.2
|
||||||
- id: k8s-1.12
|
- id: k8s-1.12
|
||||||
kubernetesVersion: '>=1.12.0'
|
kubernetesVersion: '>=1.12.0'
|
||||||
manifest: networking.weave/k8s-1.12.yaml
|
manifest: networking.weave/k8s-1.12.yaml
|
||||||
manifestHash: 5c6202bc41043a72cb78ade6c761ccaf183bd36c
|
manifestHash: 103cd60b880d9bab489b80c81a307a60a8328c69
|
||||||
name: networking.weave
|
name: networking.weave
|
||||||
selector:
|
selector:
|
||||||
role.kubernetes.io/networking: "1"
|
role.kubernetes.io/networking: "1"
|
||||||
version: 2.6.2-kops.1
|
version: 2.6.2-kops.2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue