Skip to content

Commit 3a84033

Browse files
committed
changes base on the commetns and deletion of the test file
1 parent e09120e commit 3a84033

File tree

3 files changed

+2
-56
lines changed

3 files changed

+2
-56
lines changed

package/crds/rds.aws.crossplane.io_dbinstances.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,9 +1771,7 @@ spec:
17711771
Default: io1, if the Iops parameter is specified. Otherwise, gp2.
17721772
type: string
17731773
tagIgnorePrefixes:
1774-
description: |-
1775-
TagIgnorePrefixes tells the reconciler to pretend tags with these
1776-
prefixes don't exist during diff/updates.
1774+
description: List of tag prefixes to be ignored during reconciliation.
17771775
items:
17781776
type: string
17791777
type: array

pkg/controller/rds/dbinstance/ignore_tags_test.go

Lines changed: 0 additions & 52 deletions
This file was deleted.

pkg/controller/rds/dbinstance/setup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ func (e *custom) isUpToDate(ctx context.Context, cr *svcapitypes.DBInstance, out
534534
cmpopts.IgnoreFields(svcapitypes.CustomDBInstanceParameters{}, "DeleteAutomatedBackups"),
535535
)
536536

537-
ignore := append([]string{"aws:", "c7n:"}, cr.Spec.ForProvider.TagIgnorePrefixes...)
537+
ignore := append([]string{"aws:"}, cr.Spec.ForProvider.TagIgnorePrefixes...)
538538
var observedTags []*svcsdk.Tag
539539
if db.TagList != nil {
540540
for _, tag := range db.TagList { // index discarded with _

0 commit comments

Comments
 (0)