Skip to content

Allow creating Route53 RecordSet from ConfigMap dataΒ #2484

@philchristensen

Description

@philchristensen

Is your feature request related to a problem?

In my GitOps pipeline, I use ACK to deploy an RDS instance. I'd like to also deploy a Route53 RecordSet with a CNAME for this, but since the native DB hostname isn't known until it's created, I need to use the data that is saved in a ConfigMap using the FieldExport objects.

Describe the solution you'd like

The RecordSet CRD should support pulling values from ConfgMaps (maybe also from Secrets), e.g.:

  resourceRecords:
  # currently supported
  - value: string
  # (required) support pulling from ConfigMaps   
  - valueFrom:
      configMapKeyRef:
        name: myconfigmap
        key: myvalue
  # (optional) also support pulling from Secrets?
  - valueFrom:
      secretKeyRef:
        name: mysecret
        key: myvalue

Describe alternatives you've considered

I really can't think of how to get a ConfigMap value to be used in any other way, but I'm open to suggestions if I'm missing something.

Metadata

Metadata

Assignees

Labels

area/field-exportIssues or PRs related to Field Exportkind/enhancementCategorizes issue or PR as related to existing feature enhancements.kroissues that can be resolved by kroservice/route53Indicates issues or PRs that are related to route53-controller.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions