Skip to content

Commit

Permalink
add owner ID to DNS Record spec
Browse files Browse the repository at this point in the history
  • Loading branch information
philbrookes committed Mar 15, 2024
1 parent bcd4ba8 commit 6ab7c1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/v1alpha1/dnsrecord_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ import (
// DNSRecordSpec defines the desired state of DNSRecord
type DNSRecordSpec struct {

// OwnerID is a unique string used to identify all endpoints created by this kuadrant
// +optional
OwnerID *string `json:"ownerID,omitempty"`
// rootHost is the single root for all endpoints in a DNSRecord.
//If rootHost is set, it is expected all defined endpoints are children of or equal to this rootHost
// +optional
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/kuadrant.io_dnsrecords.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ spec:
required:
- name
type: object
ownerID:
description: OwnerID is a unique string used to identify all endpoints
created by this kuadrant
type: string
rootHost:
description: "rootHost is the single root for all endpoints in a DNSRecord.
If rootHost is set, it is expected all defined endpoints are children
Expand Down

0 comments on commit 6ab7c1d

Please sign in to comment.