Commit f1916dfb authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #50131 from m1093782566/SubResource

Automatic merge from submit-queue (batch tested with PRs 51229, 50131, 51074, 51167, 51213) Fix typos in kubefed **What this PR does / why we need it**: Fix some typos in kubefed. **Which issue this PR fixes** : fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
parents 18b84758 33fa1537
......@@ -284,7 +284,7 @@ func (i *initFederation) Run(cmdOut io.Writer, config util.AdminConfig) error {
return err
}
// If the error is type NoRBACAPIError, We continue to create the rest of
// the resources, without the SA and roles (in the abscense of RBAC support).
// the resources, without the SA and roles (in the absence of RBAC support).
rbacAvailable = false
}
......
......@@ -262,7 +262,7 @@ func buildConfigFromSecret(secret *api.Secret, serverAddress string) (*restclien
// GetVersionedClientForRBACOrFail discovers the versioned rbac APIs and gets the versioned
// clientset for either the preferred version or the first listed version (if no preference listed)
// TODO: We need to evaluate the usage of RESTMapper interface to achieve te same functionality
// TODO: We need to evaluate the usage of RESTMapper interface to achieve the same functionality
func GetVersionedClientForRBACOrFail(hostFactory cmdutil.Factory) (client.Interface, error) {
discoveryclient, err := hostFactory.DiscoveryClient()
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment