diff --git a/bundle/manifests/kuadrant-dns-operator.clusterserviceversion.yaml b/bundle/manifests/kuadrant-dns-operator.clusterserviceversion.yaml index 224f272c..2c4f94f0 100644 --- a/bundle/manifests/kuadrant-dns-operator.clusterserviceversion.yaml +++ b/bundle/manifests/kuadrant-dns-operator.clusterserviceversion.yaml @@ -32,7 +32,22 @@ metadata: }, "name": "dnsrecord-sample" }, - "spec": null + "spec": { + "endpoints": [ + { + "dnsName": "dnsrecord-simple.example.com", + "recordTTL": 60, + "recordType": "A", + "targets": [ + "52.215.108.61", + "52.30.101.221" + ] + } + ], + "managedZone": { + "name": "managedzone-sample" + } + } }, { "apiVersion": "kuadrant.io/v1alpha1", @@ -47,11 +62,14 @@ metadata: }, "name": "managedzone-sample" }, - "spec": null + "spec": { + "description": "My managed domain", + "domainName": "example.com" + } } ] capabilities: Basic Install - createdAt: "2024-02-01T15:06:38Z" + createdAt: "2024-02-02T21:32:57Z" operators.operatorframework.io/builder: operator-sdk-v1.33.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v4 name: kuadrant-dns-operator.v0.0.1 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