chore: Fix some misspellings found by codespell

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
Mario Trangoni
2023-09-14 11:09:01 +02:00
parent 99e9579de5
commit 06e41bae50
11 changed files with 11 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ Kube-Vip was originally created to provide a HA solution for the Kubernetes cont
- Service LoadBalancer address pools per namespace or global
- Service LoadBalancer address via (existing network DHCP)
- Service LoadBalancer address exposure to gateway via UPNP
- ... manifest generation, vendor API integrations and many nore...
- ... manifest generation, vendor API integrations and many more...
## Why?

View File

@@ -38,7 +38,7 @@ var disableVIP bool
// ConfigMap name within a Kubernetes cluster
var configMap string
// Configure the level of loggin
// Configure the level of logging
var logLevel uint32
// Provider Config

View File

@@ -56,7 +56,7 @@ func startNetworking(c *kubevip.Config) (vip.Network, error) {
// Stop - Will stop the Cluster and release VIP if needed
func (cluster *Cluster) Stop() {
// Close the stop chanel, which will shut down the VIP (if needed)
// Close the stop channel, which will shut down the VIP (if needed)
if cluster.stop != nil {
cluster.once.Do(func() { // Ensure that the close channel can only ever be called once
close(cluster.stop)

View File

@@ -35,7 +35,7 @@ func AttachEIP(c *packngo.Client, k *kubevip.Config, _ string) error {
// Find the device id for our EIP
if ip.Address == vip {
log.Infof("Found EIP ->%s ID -> %s\n", ip.Address, ip.ID)
// If attachements already exist then remove them
// If attachments already exist then remove them
if len(ip.Assignments) != 0 {
hrefID := path.Base(ip.Assignments[0].Href)
_, err := c.DeviceIPs.Unassign(hrefID)

View File

@@ -220,7 +220,7 @@ func ParseEnvironment(c *Config) error {
}
// Find Start As Leader
// TODO - does this need depricating?
// TODO - does this need deprecating?
// Required when the host sets itself as leader before the state change
env = os.Getenv(vipStartLeader)
if env != "" {

View File

@@ -398,7 +398,7 @@ func generatePodSpec(c *Config, imageVersion string, inCluster bool) *corev1.Pod
}
if inCluster {
// If we're running this inCluster then the acccount name will be required
// If we're running this inCluster then the account name will be required
newManifest.Spec.ServiceAccountName = "kube-vip"
} else {
// If this isn't inside a cluster then add the external path mount

View File

@@ -162,7 +162,7 @@ func (sm *Manager) addService(svc *v1.Service) error {
}
func (sm *Manager) deleteService(uid string) error {
// pretect multiple calls
// protect multiple calls
sm.mutex.Lock()
defer sm.mutex.Unlock()

View File

@@ -95,7 +95,7 @@ case "$3" in
esac
if [[ -z "$DEPS" ]]; then
logr "INFO" "Installing specific version of Kubernetes Dependancies"
logr "INFO" "Installing specific version of Kubernetes Dependencies"
install_deps
fi

View File

@@ -97,7 +97,7 @@ case "$3" in
esac
if [[ -z "$DEPS" ]]; then
logr "INFO" "Installing specific version of Kubernetes Dependancies"
logr "INFO" "Installing specific version of Kubernetes Dependencies"
install_deps
fi