mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Fix spelling
This commit is contained in:
@@ -516,7 +516,7 @@ func (kl *Kubelet) getServiceEnvVarMap(ns string, enableServiceLinks bool) (map[
|
|||||||
|
|
||||||
// We always want to add environment variabled for master services
|
// We always want to add environment variabled for master services
|
||||||
// from the master service namespace, even if enableServiceLinks is false.
|
// from the master service namespace, even if enableServiceLinks is false.
|
||||||
// We also add enviroment variables for other services in the same
|
// We also add environment variables for other services in the same
|
||||||
// namespace, if enableServiceLinks is true.
|
// namespace, if enableServiceLinks is true.
|
||||||
if service.Namespace == kl.masterServiceNamespace && masterServices.Has(serviceName) {
|
if service.Namespace == kl.masterServiceNamespace && masterServices.Has(serviceName) {
|
||||||
if _, exists := serviceMap[serviceName]; !exists {
|
if _, exists := serviceMap[serviceName]; !exists {
|
||||||
|
Reference in New Issue
Block a user