Skip to content

create kuadrant plugin command: dns get-zone-records #204

@philbrookes

Description

@philbrookes

kubectl kuadrant dns get-zone-records:

  • by host (e.g. app.pb.hcpapps.net)
    • e.g. --type=hostname --name=<hostname> --providerRef=<namespace>/<name>
  • by DNS Record
    • e.g --type=DNSRecord --name=<name> --namespace=<namespace>

Pull directly from provider API using a provided secret (or the providerRef in the specified DNSRecord).

When listing the resulting records, we should output them in the same format as dig, but with an added owners array, i.e.:

HOST                        TTL    CLASS       TYPE   VALUE        OWNERS
app.test.pb.hcpapps.net.    300		IN	        A	  1.2.3.4     [ownerID1, ownerID2, ...]

Follow on: #335 is this possible in the same sprint?

Metadata

Metadata

Assignees

Labels

CLIdns-operator cli

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions