From a2377b59fe318b0cebdbbb20c0db8a7fcdf8e28e Mon Sep 17 00:00:00 2001 From: Shyam Radhakrishnan Date: Wed, 23 Aug 2023 08:46:58 +0530 Subject: [PATCH] Add support for dns label --- api/v1beta1/types.go | 2 ++ api/v1beta2/types.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/api/v1beta1/types.go b/api/v1beta1/types.go index ef0eea58..1f3cdf4f 100644 --- a/api/v1beta1/types.go +++ b/api/v1beta1/types.go @@ -860,6 +860,7 @@ type Subnet struct { // DnsLabel DNS label for the subnet, used in conjunction with the VNIC's hostname and // VCN's DNS label to form a fully qualified domain name (FQDN) for each VNIC // within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`). + // +optional DnsLabel *string `json:"dnsLabel,omitempty"` } @@ -929,6 +930,7 @@ type VCN struct { // DnsLabel specifies a DNS label for the VCN, used in conjunction with the VNIC's hostname and // subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC // within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`). + // +optional DnsLabel *string `json:"dnsLabel,omitempty"` } diff --git a/api/v1beta2/types.go b/api/v1beta2/types.go index a895c867..7a77856e 100644 --- a/api/v1beta2/types.go +++ b/api/v1beta2/types.go @@ -853,6 +853,7 @@ type Subnet struct { // DnsLabel DNS label for the subnet, used in conjunction with the VNIC's hostname and // VCN's DNS label to form a fully qualified domain name (FQDN) for each VNIC // within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`). + // +optional DnsLabel *string `json:"dnsLabel,omitempty"` } @@ -916,6 +917,7 @@ type VCN struct { // DnsLabel specifies a DNS label for the VCN, used in conjunction with the VNIC's hostname and // subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC // within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`). + // +optional DnsLabel *string `json:"dnsLabel,omitempty"` }