Skip to content

Expose Finalizer String as Public Constant in AWS Controllers for Kubernetes Code Generator #2201

@bugbuilder

Description

@bugbuilder

Is your feature request related to a problem?
It would be great to have the finalizerString exposed. This way, I wouldn't need to manually define the string, for example, "finalizers.route53.services.k8s.aws/HealthCheck", in my custom controller to check if the resource is already being managed, and then add my own finalizer. I have another custom controller that performs some logic after the resource is managed by ACK, and exposing this string would simplify the process.

Describe the solution you'd like
Capitalize finalizerString to FinalizerString in the AWS Controllers for Kubernetes code generator, making the finalizer string accessible across packages. This would allow external controllers to easily reference the finalizer without redefining it, ensuring consistency and reducing potential errors.

Describe alternatives you've considered
none

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/code-generationIssues or PRs as related to controllers or docs code generationkind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions