Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CR samples #6

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading