Skip to content

Commit

Permalink
wip: add todo about zones
Browse files Browse the repository at this point in the history
Signed-off-by: Karuppiah Natarajan <[email protected]>
  • Loading branch information
karuppiah7890 committed Oct 2, 2021
1 parent 5ce2b93 commit 0fdaabc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azure/services/publicips/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (s PublicIPSpec) Parameters(existing interface{}) (interface{}, error) {
}

return network.PublicIPAddress{
// TODO(karuppiah7890): Add Tags with Cluster Name and other input
// TODO(karuppiah7890): Add Tags with Cluster Name and AdditionalTags and other input
// Tags: converters.TagsToMap(infrav1.Build(infrav1.BuildParams{
// ClusterName: s.Scope.ClusterName(),
// Lifecycle: infrav1.ResourceLifecycleOwned,
Expand All @@ -87,5 +87,6 @@ func (s PublicIPSpec) Parameters(existing interface{}) (interface{}, error) {
PublicIPAllocationMethod: network.IPAllocationMethodStatic,
DNSSettings: dnsSettings,
},
// Zones: s.Zones()
}, nil
}
3 changes: 3 additions & 0 deletions azure/services/publicips/spec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func TestParameters(t *testing.T) {
Fqdn: to.StringPtr("fakedns.mydomain.io"),
},
},
// Zones: to.StringSlicePtr([]string{"1,2,3"}),
},
},
{
Expand All @@ -74,6 +75,7 @@ func TestParameters(t *testing.T) {
PublicIPAddressVersion: network.IPVersionIPv4,
PublicIPAllocationMethod: network.IPAllocationMethodStatic,
},
// Zones: to.StringSlicePtr([]string{"1,2,3"}),
},
},
{
Expand All @@ -100,6 +102,7 @@ func TestParameters(t *testing.T) {
Fqdn: to.StringPtr("fakename.mydomain.io"),
},
},
// Zones: to.StringSlicePtr([]string{"1,2,3"}),
},
},
}
Expand Down

0 comments on commit 0fdaabc

Please sign in to comment.