You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
customCAPath: "/some/path/ca.crt"# path to a file which contians list of custom Certificate Authorities that can be used to verify SSL certifcates if 'disableTLSVerification' is set to 'false'. Host's default authorities will be used if not specified.
wapiVersion: "2.12"# Web API Version of the Infoblox server
61
62
```
62
63
@@ -74,6 +75,7 @@ spec:
74
75
instance:
75
76
name: "production"# name of the InfobloxInstance
76
77
networkView: "datacenter-network"# Infoblox network view that will be used
78
+
dnsView: "some-dns-view"# DNS view for this pool (optional)
77
79
subnets: # list of the subnets in the network view we want to get IP addresses from
78
80
- cidr: "10.0.0.0/24"# subnet CIDR
79
81
gateway: "10.0.0.1"# gateway that should ba assigned to the IP Address claim
@@ -98,7 +100,14 @@ We've currently only implemented one strategy for identifying the hostname of a
98
100
99
101
Our strategy uses the name of the CAPI `Machine` as the hostname. To determine the Machine name the provider follows the owner chain from the `IPAddressClaim` via the infrastructure provider resources to the `Machine`. This is used by searching through the owner references up to a depth of five.
100
102
101
-
To enable setting DNS entries, set the `spec.dnsZone` parameter on the `InfobloxIPPool` to your desired zone. The resulting DNS entries will then be `<machine name>.<dnsZone>`. The DNS view will be set to `default.<dnsZone>`.
103
+
To enable setting DNS entries, set the `spec.dnsZone` parameter on the `InfobloxIPPool` to your desired zone. The resulting DNS entries will then be `<machine name>.<dnsZone>`.
104
+
105
+
The DNS view is determined in the following priority order:
106
+
1. **Pool.spec.dnsView** - if explicitly set on the pool
107
+
2. **Instance.spec.defaultDNSView** - if not set on pool but set on the instance
108
+
3. **Derived from networkView** - if neither is set, follows the pattern:
109
+
- If `networkView` is `"default"` or empty → DNS view is `"default"`
110
+
- Otherwise → DNS view is `"default.<networkView>"` (e.g., `networkView: "production"` → DNS view `"default.production"`)
// CustomCAPath can be used to point Infoblox client to a file with a list of accepted certificate authorities. Only used if DisableTLSVerification is set to 'false'.
0 commit comments