Skip to content

Consider moving/removing adding default tags in Initialize step #222

Description

@lsviben

What problem are you facing?

With the new granular management policies users will be able, among others, to ignore changes in select fields by
skipping the late initialization through dropping the "LateInitialization" ManagementPolicy and/or setting initial fields
which are used only during the creation of the resource in spec.initProvider.

All in all, the goal is not to have the field we want to ignore changes for in the spec.forProvider.

But due to the special case of tags which are being added to spec.forProvider in the Initialize step of the reconciler,
the tags are always present in the spec.forProvider which makes it impossible to ignore them.

Upjet Initialize code
Example provider aws resource

Those tags are just some default tags that state:
crossplane-kind
crossplane-name
crossplane-providerconfig

I am not sure if those tags are just informational or used somewhere

How could Upjet help solve your problem?

Depending on the importance of adding the default tags we could consider:

  • drop adding the tags to spec.forProvider altogather
  • move adding the default tags to the Create step, so we don't initialize them every reconciler run
  • TBD

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions