Skip to content

Commit

Permalink
Merge pull request #2103 from sbueringer/pr-deprecate-auto-configure
Browse files Browse the repository at this point in the history
🌱 Deprecate AutoConfigure functionality
  • Loading branch information
k8s-ci-robot authored Jul 28, 2023
2 parents 64f7ddd + eb47894 commit d55ab7f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ issue:
max-per-linter: 0
issues:
exclude-rules:
# Specific exclude rules for deprecated fields that are still part of the codebase. These
# should be removed as the referenced deprecated item is removed from the project.
- linters:
- staticcheck
text: "SA1019: failureDomain.AutoConfigure is deprecated"
- path: "test/e2e/*"
linters:
- gosec
Expand Down
2 changes: 2 additions & 0 deletions apis/v1beta1/vspherefailuredomain_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ type FailureDomain struct {
TagCategory string `json:"tagCategory"`

// AutoConfigure tags the Type which is specified in the Topology
//
// Deprecated: This field is going to be removed in a future release.
AutoConfigure *bool `json:"autoConfigure,omitempty"`
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,9 @@ spec:
description: Region defines the name and type of a region
properties:
autoConfigure:
description: AutoConfigure tags the Type which is specified in
the Topology
description: "AutoConfigure tags the Type which is specified in
the Topology \n Deprecated: This field is going to be removed
in a future release."
type: boolean
name:
description: Name is the name of the tag that represents this
Expand Down Expand Up @@ -347,8 +348,9 @@ spec:
description: Zone defines the name and type of a zone
properties:
autoConfigure:
description: AutoConfigure tags the Type which is specified in
the Topology
description: "AutoConfigure tags the Type which is specified in
the Topology \n Deprecated: This field is going to be removed
in a future release."
type: boolean
name:
description: Name is the name of the tag that represents this
Expand Down

0 comments on commit d55ab7f

Please sign in to comment.