Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
freeznet committed Feb 26, 2025
1 parent ae52064 commit 9c46784
Show file tree
Hide file tree
Showing 5 changed files with 987 additions and 1,014 deletions.
3 changes: 2 additions & 1 deletion api/v1alpha1/secret_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ type SecretSpec struct {
// +optional
PoolMemberName *string `json:"poolMemberName,omitempty"`

// Toleration is the toleration for the secret.
// +optional
// +listType=atomic
Tolerations []Toleration `json:"tolerations,omitempty"`
Expand Down Expand Up @@ -109,7 +110,7 @@ func (r KubernetesSecretReference) ToNamespacedName() types.NamespacedName {
}
}

// The workload this Toleration is attached to tolerates any taint that matches
// Toleration The workload this Toleration is attached to tolerates any taint that matches
// the triple <key,value,effect> using the matching operator <operator>.
type Toleration struct {
// Key is the taint key that the toleration applies to. Empty means match all taint keys.
Expand Down
3 changes: 2 additions & 1 deletion config/crd/bases/resource.streamnative.io_secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ spec:
- namespace
type: object
tolerations:
description: Toleration is the toleration for the secret.
items:
description: |-
The workload this Toleration is attached to tolerates any taint that matches
Toleration The workload this Toleration is attached to tolerates any taint that matches
the triple <key,value,effect> using the matching operator <operator>.
properties:
effect:
Expand Down
Loading

0 comments on commit 9c46784

Please sign in to comment.