Skip to content

Commit

Permalink
Add support for dns label
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamradhakrishnan committed Aug 22, 2023
1 parent f0a0510 commit 1c85c06
Show file tree
Hide file tree
Showing 15 changed files with 118 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ociclusteridentities.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down
27 changes: 25 additions & 2 deletions config/crd/bases/infrastructure.cluster.x-k8s.io_ociclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ociclusters.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down Expand Up @@ -130,6 +129,12 @@ spec:
cidr:
description: VCN CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: VCN OCID.
type: string
Expand Down Expand Up @@ -535,6 +540,12 @@ spec:
cidr:
description: Subnet CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: Subnet OCID.
type: string
Expand Down Expand Up @@ -1279,6 +1290,12 @@ spec:
cidr:
description: VCN CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: VCN OCID.
type: string
Expand Down Expand Up @@ -1737,6 +1754,12 @@ spec:
cidr:
description: Subnet CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: Subnet OCID.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ociclustertemplates.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down Expand Up @@ -143,6 +142,13 @@ spec:
cidr:
description: VCN CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: VCN OCID.
type: string
Expand Down Expand Up @@ -602,6 +608,13 @@ spec:
cidr:
description: Subnet CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: Subnet OCID.
type: string
Expand Down Expand Up @@ -1336,6 +1349,13 @@ spec:
cidr:
description: VCN CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: VCN OCID.
type: string
Expand Down Expand Up @@ -1852,6 +1872,13 @@ spec:
cidr:
description: Subnet CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: Subnet OCID.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ocimachinepoolmachines.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ocimachinepools.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ocimachines.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ocimachinetemplates.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ocimanagedclusters.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down Expand Up @@ -133,6 +132,12 @@ spec:
cidr:
description: VCN CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: VCN OCID.
type: string
Expand Down Expand Up @@ -538,6 +543,12 @@ spec:
cidr:
description: Subnet CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: Subnet OCID.
type: string
Expand Down Expand Up @@ -1285,6 +1296,12 @@ spec:
cidr:
description: VCN CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: VCN OCID.
type: string
Expand Down Expand Up @@ -1743,6 +1760,12 @@ spec:
cidr:
description: Subnet CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: Subnet OCID.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ocimanagedclustertemplates.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down Expand Up @@ -148,6 +147,13 @@ spec:
cidr:
description: VCN CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: VCN OCID.
type: string
Expand Down Expand Up @@ -607,6 +613,13 @@ spec:
cidr:
description: Subnet CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: Subnet OCID.
type: string
Expand Down Expand Up @@ -1346,6 +1359,13 @@ spec:
cidr:
description: VCN CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: VCN OCID.
type: string
Expand Down Expand Up @@ -1862,6 +1882,13 @@ spec:
cidr:
description: Subnet CIDR.
type: string
dnsLabel:
description: 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`).
type: string
id:
description: Subnet OCID.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ocimanagedcontrolplanes.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ocimanagedcontrolplanetemplates.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ocimanagedmachinepools.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ocimanagedmachinepooltemplates.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: ocivirtualmachinepools.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
Expand Down
2 changes: 0 additions & 2 deletions config/webhook/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
creationTimestamp: null
name: mutating-webhook-configuration
webhooks:
- admissionReviewVersions:
Expand Down Expand Up @@ -114,7 +113,6 @@ webhooks:
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
creationTimestamp: null
name: validating-webhook-configuration
webhooks:
- admissionReviewVersions:
Expand Down

0 comments on commit 1c85c06

Please sign in to comment.