Is your feature request related to a problem? Please describe.
I am installing Krateo on a digital ocean managed kubernetes environment. Installation goes fine, happy days, the load balancer is created.
Now I want to assign an A record to the load balancer public IP address, but I need to consult the cloud provider console in order to find it.
Describe the solution you'd like
I would like to be able to give the load balancer a name via a command-line flag or configuration file.
Describe alternatives you've considered
I haven't tried any alternatives. From browsing the code here, I can't tell if it's possible.
A possible alternative is to tell krateo to use an existing load balancer that I've already created.
Additional context
This is being done in the context of a small personal demo using Terraform:
# LB created by krateo.
data "digitalocean_loadbalancer" "krateo" {
depends_on = [null_resource.k_install]
# id = "d72d4916-9023-4616-b292-33032dda4799" # <- obtained from the console
name = "a377b25f30a4149538465e330ca32e50" # <- obtained from the console.
}
resource "cloudflare_record" "k" {
zone_id = data.cloudflare_zone.k.id
type = "A"
name = var.krateo_endpoint
value = data.digitalocean_loadbalancer.krateo.ip
}
Is your feature request related to a problem? Please describe.
I am installing Krateo on a digital ocean managed kubernetes environment. Installation goes fine, happy days, the load balancer is created.
Now I want to assign an
A
record to the load balancer public IP address, but I need to consult the cloud provider console in order to find it.Describe the solution you'd like
I would like to be able to give the load balancer a name via a command-line flag or configuration file.
Describe alternatives you've considered
I haven't tried any alternatives. From browsing the code here, I can't tell if it's possible.
A possible alternative is to tell krateo to use an existing load balancer that I've already created.
Additional context
This is being done in the context of a small personal demo using Terraform: