Skip to content

Commit

Permalink
Update MRO version (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artyom Lukianov authored and djzager committed Sep 3, 2019
1 parent 7daf4df commit 7613f80
Show file tree
Hide file tree
Showing 17 changed files with 228 additions and 57 deletions.
6 changes: 3 additions & 3 deletions Gopkg.lock

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

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ required = [

[[override]]
name = "kubevirt.io/machine-remediation-operator"
version = "=v0.3.7"
version = "=v0.3.10"

[[override]]
name = "k8s.io/api"
Expand Down
10 changes: 9 additions & 1 deletion deploy/cluster_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ kind: ClusterRole
metadata:
labels:
machineremediation.kubevirt.io: ""
machineremediation.kubevirt.io/version: v0.3.7
machineremediation.kubevirt.io/version: v0.3.10
name: machine-remediation-operator
rules:
- apiGroups:
Expand All @@ -854,6 +854,14 @@ rules:
- list
- update
- watch
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
Expand Down
2 changes: 1 addition & 1 deletion deploy/cluster_role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ kind: ClusterRoleBinding
metadata:
labels:
machineremediation.kubevirt.io: ""
machineremediation.kubevirt.io/version: v0.3.7
machineremediation.kubevirt.io/version: v0.3.10
name: machine-remediation-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ metadata:
categories: OpenShift Optional
certified: 'false'
containerImage: quay.io/kubevirt/hyperconverged-cluster-operator:latest
createdAt: 2019-09-02 19:50:03.604263223 +0200 CEST m=+0.021864303
createdAt: 2019-09-03 15:43:27.61039013 +0300 IDT m=+0.025400476
description: Creates and maintains a HyperConverged KubeVirt Deployment
repository: https://github.com/kubevirt/hyperconverged-cluster-operator
support: 'false'
Expand Down Expand Up @@ -1065,6 +1065,14 @@ spec:
- list
- update
- watch
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -1474,25 +1482,27 @@ spec:
selector:
matchLabels:
machineremediation.kubevirt.io: machine-remediation-operator
machineremediation.kubevirt.io/version: v0.3.7
machineremediation.kubevirt.io/version: v0.3.10
strategy:
type: RollingUpdate
template:
metadata:
labels:
machineremediation.kubevirt.io: machine-remediation-operator
machineremediation.kubevirt.io/version: v0.3.7
machineremediation.kubevirt.io/version: v0.3.10
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: machineremediation.kubevirt.io
operator: In
values:
- machine-remediation-operator
topologyKey: kubernetes.io/hostname
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: machineremediation.kubevirt.io
operator: In
values:
- machine-remediation-operator
topologyKey: kubernetes.io/hostname
weight: 50
containers:
- args:
- --logtostderr=true
Expand All @@ -1502,8 +1512,8 @@ spec:
- /usr/bin/machine-remediation-operator
env:
- name: OPERATOR_VERSION
value: v0.3.7
image: kubevirt/machine-remediation-operator:v0.3.7
value: v0.3.10
image: kubevirt/machine-remediation-operator:v0.3.10
imagePullPolicy: IfNotPresent
name: machine-remediation-operator
resources:
Expand Down
26 changes: 14 additions & 12 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,26 +231,28 @@ spec:
selector:
matchLabels:
machineremediation.kubevirt.io: machine-remediation-operator
machineremediation.kubevirt.io/version: v0.3.7
machineremediation.kubevirt.io/version: v0.3.10
strategy:
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
machineremediation.kubevirt.io: machine-remediation-operator
machineremediation.kubevirt.io/version: v0.3.7
machineremediation.kubevirt.io/version: v0.3.10
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: machineremediation.kubevirt.io
operator: In
values:
- machine-remediation-operator
topologyKey: kubernetes.io/hostname
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: machineremediation.kubevirt.io
operator: In
values:
- machine-remediation-operator
topologyKey: kubernetes.io/hostname
weight: 50
containers:
- args:
- --logtostderr=true
Expand All @@ -260,8 +262,8 @@ spec:
- /usr/bin/machine-remediation-operator
env:
- name: OPERATOR_VERSION
value: v0.3.7
image: kubevirt/machine-remediation-operator:v0.3.7
value: v0.3.10
image: kubevirt/machine-remediation-operator:v0.3.10
imagePullPolicy: IfNotPresent
name: machine-remediation-operator
resources:
Expand Down
2 changes: 1 addition & 1 deletion deploy/service_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ kind: ServiceAccount
metadata:
labels:
machineremediation.kubevirt.io: ""
machineremediation.kubevirt.io/version: v0.3.7
machineremediation.kubevirt.io/version: v0.3.10
name: machine-remediation-operator
namespace: kubevirt-hyperconverged
7 changes: 3 additions & 4 deletions hack/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,10 @@ for dep in cdi-apiserver cdi-deployment cdi-uploadproxy virt-api virt-controller
"${CMD}" wait deployment/"${dep}" --for=condition=Available --timeout="360s" || CONTAINER_ERRORED+="${dep} "
done

# TODO: When MRO conditions stabilize, uncomment. Create a follow up PR after this merges to uncomment
# Wait for machine-remediation controllers under the openshift-machine-api namespace
# for dep in machine-health-check machine-disruption-budget machine-remediation; do
# "${CMD}" -n openshift-machine-api wait deployment/"${dep}" --for=condition=Available --timeout="360s" || CONTAINER_ERRORED+="${dep} "
# done
for dep in machine-health-check machine-disruption-budget machine-remediation; do
"${CMD}" -n openshift-machine-api wait deployment/"${dep}" --for=condition=Available --timeout="360s" || CONTAINER_ERRORED+="${dep} "
done

if [ -z "$CONTAINER_ERRORED" ]; then
echo "SUCCESS"
Expand Down

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

21 changes: 21 additions & 0 deletions vendor/kubevirt.io/machine-remediation-operator/doc.go

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

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

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

Loading

0 comments on commit 7613f80

Please sign in to comment.