Skip to content

Commit

Permalink
Fix CR samples
Browse files Browse the repository at this point in the history
Fix CR sample names and add contents.
  • Loading branch information
mikenairn committed Feb 2, 2024
1 parent 3780242 commit 7a3b6aa
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 3 additions & 3 deletions config/samples/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7a3b6aa

Please sign in to comment.