Skip to content

DNSRecords that don't contain domain suffix aren't reconciled properly #18

@diamonwiggins

Description

@diamonwiggins

Example:

apiVersion: crds.kubeflare.io/v1alpha1
kind: DNSRecord
metadata:
  name: diamon-codeserver-test.repldev.com
spec:
  zone: repldev.com
  record:
    type: "A"
    name: "diamon-codeserver-test"
    content: "34.94.103.105"
    proxied: true
    ttl: 3600

The above is created, but never will never be updated properly due to:

https://github.com/replicatedhq/kubeflare/blob/master/pkg/controller/dnsrecord/dns_records.go#L37-L40

desiredRecord.Name never matches existingRecord.Name because of the missing domain suffix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions