When using default netview, dnsview should not be prepended by default.
nickperry opened this issue · 1 comments
When trying to test schiff ipam in our environment, with default netview, we see the following in the logs when the controller tries to allocate an IP:
"error": "WAPI request error: 404('404 Not Found')\nContents:\n{ \"Error\": \"AdmConDataNotFoundError: View default.default not found\", \n \"code\": \"Client.Ibap.Data.NotFound\", \n \"text\": \"View default.default not found\"\n}\n"}
This is my configuration:
kind: Secret metadata: name: schiff-operator-config namespace: engine-system type: Opaque stringData: IPAM_INFOBLOX_WAPI_VERSION: 2.6.1
and my VSphereMachine has annotation
ipam.schiff.telekom.de/InfobloxNetworkView: default
This is where "default." is statically prepended - https://github.com/telekom/das-schiff/blob/ipam/ipam/pkg/ipam/infoblox/operations.go#L109
I believe when the netview is "default", the dns view should also be just "default".