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 0652047
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 8 deletions.
24 changes: 21 additions & 3 deletions bundle/manifests/kuadrant-dns-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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
Expand Down
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 0652047

Please sign in to comment.