Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
{{- if .Values.options.catalogd.podDisruptionBudget.maxUnavailable }}
maxUnavailable: {{ .Values.options.catalogd.podDisruptionBudget.maxUnavailable }}
{{- end }}
unhealthyPodEvictionPolicy: AlwaysAllow
selector:
matchLabels:
control-plane: catalogd-controller-manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
{{- if .Values.options.operatorController.podDisruptionBudget.maxUnavailable }}
maxUnavailable: {{ .Values.options.operatorController.podDisruptionBudget.maxUnavailable }}
{{- end }}
unhealthyPodEvictionPolicy: AlwaysAllow
selector:
matchLabels:
control-plane: operator-controller-controller-manager
Expand Down
2 changes: 2 additions & 0 deletions manifests/experimental-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ metadata:
olm.operatorframework.io/feature-set: experimental-e2e
spec:
minAvailable: 1
unhealthyPodEvictionPolicy: AlwaysAllow
selector:
matchLabels:
control-plane: catalogd-controller-manager
Expand All @@ -117,6 +118,7 @@ metadata:
olm.operatorframework.io/feature-set: experimental-e2e
spec:
minAvailable: 1
unhealthyPodEvictionPolicy: AlwaysAllow
selector:
matchLabels:
control-plane: operator-controller-controller-manager
Expand Down
2 changes: 2 additions & 0 deletions manifests/experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ metadata:
olm.operatorframework.io/feature-set: experimental
spec:
minAvailable: 1
unhealthyPodEvictionPolicy: AlwaysAllow
selector:
matchLabels:
control-plane: catalogd-controller-manager
Expand All @@ -117,6 +118,7 @@ metadata:
olm.operatorframework.io/feature-set: experimental
spec:
minAvailable: 1
unhealthyPodEvictionPolicy: AlwaysAllow
selector:
matchLabels:
control-plane: operator-controller-controller-manager
Expand Down
2 changes: 2 additions & 0 deletions manifests/standard-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ metadata:
olm.operatorframework.io/feature-set: standard-e2e
spec:
minAvailable: 1
unhealthyPodEvictionPolicy: AlwaysAllow
selector:
matchLabels:
control-plane: catalogd-controller-manager
Expand All @@ -117,6 +118,7 @@ metadata:
olm.operatorframework.io/feature-set: standard-e2e
spec:
minAvailable: 1
unhealthyPodEvictionPolicy: AlwaysAllow
selector:
matchLabels:
control-plane: operator-controller-controller-manager
Expand Down
2 changes: 2 additions & 0 deletions manifests/standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ metadata:
olm.operatorframework.io/feature-set: standard
spec:
minAvailable: 1
unhealthyPodEvictionPolicy: AlwaysAllow
selector:
matchLabels:
control-plane: catalogd-controller-manager
Expand All @@ -117,6 +118,7 @@ metadata:
olm.operatorframework.io/feature-set: standard
spec:
minAvailable: 1
unhealthyPodEvictionPolicy: AlwaysAllow
selector:
matchLabels:
control-plane: operator-controller-controller-manager
Expand Down
8 changes: 8 additions & 0 deletions openshift/catalogd/manifests-experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,14 @@ spec:
operator: In
values:
- linux
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
control-plane: catalogd-controller-manager
topologyKey: kubernetes.io/hostname
weight: 100
nodeSelector:
kubernetes.io/os: linux
node-role.kubernetes.io/control-plane: ""
Expand Down
8 changes: 8 additions & 0 deletions openshift/catalogd/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,14 @@ spec:
operator: In
values:
- linux
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
control-plane: catalogd-controller-manager
topologyKey: kubernetes.io/hostname
weight: 100
nodeSelector:
kubernetes.io/os: linux
node-role.kubernetes.io/control-plane: ""
Expand Down
10 changes: 10 additions & 0 deletions openshift/helm/catalogd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ options:
enabled: true
deployment:
image: ${CATALOGD_IMAGE}
replicas: 1
podDisruptionBudget:
enabled: false
operatorController:
Expand All @@ -25,6 +26,15 @@ namespaces:
# Deployment values for catalogd
deployments:
templateSpec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
topologyKey: kubernetes.io/hostname
labelSelector:
matchLabels:
control-plane: catalogd-controller-manager
priorityClassName: system-cluster-critical
securityContext:
seLinuxOptions:
Expand Down
10 changes: 10 additions & 0 deletions openshift/helm/operator-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ options:
enabled: true
deployment:
image: ${OPERATOR_CONTROLLER_IMAGE}
replicas: 1
podDisruptionBudget:
enabled: false
catalogd:
Expand All @@ -26,6 +27,15 @@ namespaces:
# Deployment values for operator-controller
deployments:
templateSpec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
topologyKey: kubernetes.io/hostname
labelSelector:
matchLabels:
control-plane: operator-controller-controller-manager
priorityClassName: system-cluster-critical
securityContext:
seLinuxOptions:
Expand Down
8 changes: 8 additions & 0 deletions openshift/operator-controller/manifests-experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,14 @@ spec:
operator: In
values:
- linux
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
control-plane: operator-controller-controller-manager
topologyKey: kubernetes.io/hostname
weight: 100
nodeSelector:
kubernetes.io/os: linux
node-role.kubernetes.io/control-plane: ""
Expand Down
8 changes: 8 additions & 0 deletions openshift/operator-controller/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,14 @@ spec:
operator: In
values:
- linux
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
control-plane: operator-controller-controller-manager
topologyKey: kubernetes.io/hostname
weight: 100
nodeSelector:
kubernetes.io/os: linux
node-role.kubernetes.io/control-plane: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1632,6 +1632,16 @@
"lifecycle": "blocking",
"environmentSelector": {}
},
{
"name": "[sig-olmv1][OCPFeatureGate:NewOLM] OLMv1 topology-based deployment scaling should configure replicas and PodDisruptionBudgets to match the cluster control plane topology",
"labels": {},
"resources": {
"isolation": {}
},
"source": "openshift:payload:olmv1",
"lifecycle": "blocking",
"environmentSelector": {}
},
{
"name": "[sig-olmv1] OLMv1 should pass a trivial sanity check",
"labels": {},
Expand Down
6 changes: 3 additions & 3 deletions openshift/tests-extension/pkg/bindata/catalog/catalog.go

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

12 changes: 6 additions & 6 deletions openshift/tests-extension/pkg/bindata/operator/operator.go

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

20 changes: 10 additions & 10 deletions openshift/tests-extension/pkg/bindata/singleown/bundle/bundle.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.

Loading