Skip to content

[FIX] Various fixes and improvements#133

Open
Arakos wants to merge 1 commit intotelekom:mainfrom
Arakos:fix/various-issues
Open

[FIX] Various fixes and improvements#133
Arakos wants to merge 1 commit intotelekom:mainfrom
Arakos:fix/various-issues

Conversation

@Arakos
Copy link

@Arakos Arakos commented Feb 17, 2026

  • improve API type validation to actually do as intended (fixes Controller is not able to patch InfobloxIPPool status conditions #132) + update it to support SSA patches for objects
  • fix the known issue with infoblox not returning some fields for hostrecords by using the correct request method
  • add basic infoblox error message parsing (falls back to raw error if not possible)
  • automatically assert that a hostname for a claim has the DNSZone suffix if a dns zone is set on the referenced IPPool but the hostname does not have the exact zone as suffix
  • fix makefile to generate any mocks on make generate
  • fix setup (readme, make release) to correctly reflect latest clusterctl init requirements
  • fixed controller params to correctly pass cert-key and name params to the related options struct
  • adapt testcases to any changes

* improve API type validation to actually do as intended + update it to support SSA patches for objects
* fix the known issue with infoblox not returning some fields for hostrecords by using the correct request method
* add basic infoblox error message parsing (falls back to raw error if not possible)
* automatically assert that a hostname for a claim has the DNSZone suffix if a dns zone is set on the referenced IPPool but the hostname does not have the exact zone as suffix
* fix makefile to generate any mocks on make generate
* fix setup (readme, make release) to correctly reflect latest clusterctl init requirements
* fixed controller params to correctly pass cert-key and name params to the related options struct
* adapt testcases to any changes
Comment on lines +24 to +27
// if DNS is enabled but the hostname does not have the zone as suffix automatically assume it
if !strings.HasSuffix(hostname, dnsZone) {
hostname = fmt.Sprintf("%s.%s", hostname, dnsZone)
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This new behavior is also up for debate.

Is that a good idea, or should we instead validate that (if a dnsZone is configured) the hostname values must have the correct suffix?

If not, we should return an error, because if we don't, Infoblox will return one with a cryptic message.

(Same as #131 (comment))

@Arakos Arakos marked this pull request as ready for review February 17, 2026 07:55
@Arakos Arakos requested a review from schrej as a code owner February 17, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Controller is not able to patch InfobloxIPPool status conditions

1 participant