Skip to content

Commit

Permalink
Remove backofflimit
Browse files Browse the repository at this point in the history
  • Loading branch information
hang.jiang committed Aug 1, 2023
1 parent a085581 commit 59d5787
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
4 changes: 1 addition & 3 deletions api/apis/clusteroperation/v1alpha1/types.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package v1alpha1

import (
"github.com/kubean-io/kubean-api/apis"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"github.com/kubean-io/kubean-api/apis"
)

// +genclient
Expand Down Expand Up @@ -69,8 +69,6 @@ type Spec struct {
// +optional
ExtraArgs string `json:"extraArgs"`
// +required
BackoffLimit int `json:"backoffLimit"`
// +required
Image string `json:"image"`
// +optional
PreHook []HookAction `json:"preHook"`
Expand Down
3 changes: 0 additions & 3 deletions api/charts/crds/kubean.io_clusteroperations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ spec:
activeDeadlineSeconds:
format: int64
type: integer
backoffLimit:
type: integer
cluster:
description: Cluster the name of Cluster.kubean.io.
type: string
Expand Down Expand Up @@ -221,7 +219,6 @@ spec:
required:
- action
- actionType
- backoffLimit
- cluster
- image
type: object
Expand Down
3 changes: 0 additions & 3 deletions charts/kubean/crds/kubean.io_clusteroperations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ spec:
activeDeadlineSeconds:
format: int64
type: integer
backoffLimit:
type: integer
cluster:
description: Cluster the name of Cluster.kubean.io.
type: string
Expand Down Expand Up @@ -221,7 +219,6 @@ spec:
required:
- action
- actionType
- backoffLimit
- cluster
- image
type: object
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module github.com/kubean-io/kubean
go 1.20

require (
github.com/go-logr/logr v1.2.4
github.com/kubean-io/kubean-api v0.0.0
github.com/onsi/ginkgo/v2 v2.9.4
github.com/onsi/gomega v1.27.6
Expand Down Expand Up @@ -33,7 +34,6 @@ require (
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.20.0 // indirect
Expand Down

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.

0 comments on commit 59d5787

Please sign in to comment.