Align with kubernetes api naming conventions
This updates the api to use names consistent with the k8s api naming conventions: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#naming-conventions https://github.com/kubernetes/community/blob/master/wg-naming/recommendations/001-master-control-plane.md Signed-off-by: Sean Eagan <seaneagan1@gmail.com> Change-Id: I46feda94ee5d22d724f5943dde32ffe0d06d7073 Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
This commit is contained in:
@@ -125,7 +125,7 @@ func (lb loadBalancer) generateSecret() (*corev1.Secret, error) {
|
||||
Backends: make([]backend, 0),
|
||||
}
|
||||
for _, machine := range lb.machines.Machines {
|
||||
if machine.VMRole == airshipv1.VMMaster {
|
||||
if machine.VMRole == airshipv1.VMControlPlane {
|
||||
name := machine.BMH.Name
|
||||
namespace := machine.BMH.Namespace
|
||||
ip, exists := machine.Data.IPOnInterface[lb.config.NodeInterface]
|
||||
|
||||
Reference in New Issue
Block a user