Skip to content

Commit 841fca0

Browse files
committed
features: mark drift related flags as deprecated
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
1 parent 2d927b9 commit 841fca0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

internal/features/features.go

+7-3
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@ const (
3131
// DetectDrift configures the detection of cluster state drift compared to
3232
// the desired state as described in the manifest of the Helm release
3333
// storage object.
34+
// Deprecated in v0.37.0, use the drift detection mode on the HelmRelease
35+
// object instead.
3436
DetectDrift = "DetectDrift"
3537

3638
// CorrectDrift configures the correction of cluster state drift compared to
3739
// the desired state as described in the manifest of the Helm release. It
3840
// is only effective when DetectDrift is enabled.
41+
// Deprecated in v0.37.0, use the drift detection mode on the HelmRelease
42+
// object instead.
3943
CorrectDrift = "CorrectDrift"
4044

4145
// AllowDNSLookups allows the controller to perform DNS lookups when rendering Helm
@@ -61,11 +65,11 @@ var features = map[string]bool{
6165
// opt-in from v0.28
6266
CacheSecretsAndConfigMaps: false,
6367
// DetectDrift
64-
// opt-in from v0.31
68+
// deprecated in v0.37.0
6569
DetectDrift: false,
6670
// CorrectDrift,
67-
// opt-out from v0.31.2
68-
CorrectDrift: true,
71+
// deprecated in v0.37.0
72+
CorrectDrift: false,
6973
// AllowDNSLookups
7074
// opt-in from v0.31
7175
AllowDNSLookups: false,

0 commit comments

Comments
 (0)