diff --git a/config/samples/_v1alpha1_dnshealthcheckprobe.yaml b/config/samples/kuadrant.io_v1alpha1_dnshealthcheckprobe.yaml similarity index 100% rename from config/samples/_v1alpha1_dnshealthcheckprobe.yaml rename to config/samples/kuadrant.io_v1alpha1_dnshealthcheckprobe.yaml diff --git a/config/samples/_v1alpha1_dnsrecord.yaml b/config/samples/kuadrant.io_v1alpha1_dnsrecord.yaml similarity index 62% rename from config/samples/_v1alpha1_dnsrecord.yaml rename to config/samples/kuadrant.io_v1alpha1_dnsrecord.yaml index 279d324d..58cc196a 100644 --- a/config/samples/_v1alpha1_dnsrecord.yaml +++ b/config/samples/kuadrant.io_v1alpha1_dnsrecord.yaml @@ -9,4 +9,12 @@ metadata: app.kubernetes.io/created-by: kuadrant-dns-operator name: dnsrecord-sample spec: - # TODO(user): Add fields here + managedZone: + name: managedzone-sample + endpoints: + - dnsName: dnsrecord-simple.example.com + recordTTL: 60 + recordType: A + targets: + - 52.215.108.61 + - 52.30.101.221 diff --git a/config/samples/_v1alpha1_managedzone.yaml b/config/samples/kuadrant.io_v1alpha1_managedzone.yaml similarity index 85% rename from config/samples/_v1alpha1_managedzone.yaml rename to config/samples/kuadrant.io_v1alpha1_managedzone.yaml index daaaed05..7f9a4a7f 100644 --- a/config/samples/_v1alpha1_managedzone.yaml +++ b/config/samples/kuadrant.io_v1alpha1_managedzone.yaml @@ -9,4 +9,5 @@ metadata: app.kubernetes.io/created-by: kuadrant-dns-operator name: managedzone-sample spec: - # TODO(user): Add fields here + domainName: example.com + description: "My managed domain" diff --git a/config/samples/kustomization.yaml b/config/samples/kustomization.yaml index 4ec569e9..02b1dc67 100644 --- a/config/samples/kustomization.yaml +++ b/config/samples/kustomization.yaml @@ -1,6 +1,6 @@ ## Append samples of your project ## resources: -- _v1alpha1_managedzone.yaml -- _v1alpha1_dnsrecord.yaml -- _v1alpha1_dnshealthcheckprobe.yaml +- kuadrant.io_v1alpha1_managedzone.yaml +- kuadrant.io_v1alpha1_dnsrecord.yaml +- kuadrant.io_v1alpha1_dnshealthcheckprobe.yaml #+kubebuilder:scaffold:manifestskustomizesamples