Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set default ignoredUnrecoverableEvents #1897

Merged
merged 1 commit into from
Sep 18, 2024
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
3 changes: 2 additions & 1 deletion api/v2/checluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,9 @@ type CheClusterDevEnvironments struct {
// if a transient cluster issue is triggering false-positives (for example, if
// the cluster occasionally encounters FailedScheduling events). Events listed
// here will not trigger workspace failures.
// +kubebuilder:default:={"FailedScheduling"}
// +optional
IgnoredUnrecoverableEvents []string `json:"ignoredUnrecoverableEvents,omitempty"`
IgnoredUnrecoverableEvents []string `json:"ignoredUnrecoverableEvents"`
// AllowedSources defines the allowed sources on which workspaces can be started.
// +optional
AllowedSources *AllowedSources `json:"allowedSources,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ metadata:
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/eclipse-che/che-operator
support: Eclipse Foundation
name: eclipse-che.v7.92.0-885.next
name: eclipse-che.v7.92.0-886.next
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -1035,7 +1035,7 @@ spec:
minKubeVersion: 1.19.0
provider:
name: Eclipse Foundation
version: 7.92.0-885.next
version: 7.92.0-886.next
webhookdefinitions:
- admissionReviewVersions:
- v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7025,6 +7025,8 @@ spec:
type: object
type: object
ignoredUnrecoverableEvents:
default:
- FailedScheduling
description: |-
IgnoredUnrecoverableEvents defines a list of Kubernetes event names that should
be ignored when deciding to fail a workspace that is starting. This option should be used
Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/org.eclipse.che_checlusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6978,6 +6978,8 @@ spec:
type: object
type: object
ignoredUnrecoverableEvents:
default:
- FailedScheduling
description: |-
IgnoredUnrecoverableEvents defines a list of Kubernetes event names that should
be ignored when deciding to fail a workspace that is starting. This option should be used
Expand Down
2 changes: 2 additions & 0 deletions deploy/deployment/kubernetes/combined.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6999,6 +6999,8 @@ spec:
type: object
type: object
ignoredUnrecoverableEvents:
default:
- FailedScheduling
description: |-
IgnoredUnrecoverableEvents defines a list of Kubernetes event names that should
be ignored when deciding to fail a workspace that is starting. This option should be used
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6994,6 +6994,8 @@ spec:
type: object
type: object
ignoredUnrecoverableEvents:
default:
- FailedScheduling
description: |-
IgnoredUnrecoverableEvents defines a list of Kubernetes event names that should
be ignored when deciding to fail a workspace that is starting. This option should be used
Expand Down
2 changes: 2 additions & 0 deletions deploy/deployment/openshift/combined.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6999,6 +6999,8 @@ spec:
type: object
type: object
ignoredUnrecoverableEvents:
default:
- FailedScheduling
description: |-
IgnoredUnrecoverableEvents defines a list of Kubernetes event names that should
be ignored when deciding to fail a workspace that is starting. This option should be used
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6994,6 +6994,8 @@ spec:
type: object
type: object
ignoredUnrecoverableEvents:
default:
- FailedScheduling
description: |-
IgnoredUnrecoverableEvents defines a list of Kubernetes event names that should
be ignored when deciding to fail a workspace that is starting. This option should be used
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6994,6 +6994,8 @@ spec:
type: object
type: object
ignoredUnrecoverableEvents:
default:
- FailedScheduling
description: |-
IgnoredUnrecoverableEvents defines a list of Kubernetes event names that should
be ignored when deciding to fail a workspace that is starting. This option should be used
Expand Down
Loading