Skip to content

Rename name of Dependent Resource to id in definition section  #1921

Closed
@csviri

Description

@csviri

It can be confusing (it is for some), that in dependent resource has a name when defining for example multiple DR that depends on each other. But also most of KubernetesResources has a name. So this can be misinterpreted, in a way that we are setting the name of the dependent resource this way. So would rather rename it to id.

from:

@ControllerConfiguration( 
    dependents = {@Dependent(name="MyDependentName", type = ConfigMapDependent.class)})

to:

@ControllerConfiguration(
   dependents = {@Dependent(id="MyDependentName", type = ConfigMapDependent.class)})

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions