Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 760 for Warningf (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/dispatcher.go

    		key := h.Name + "/" + k
    		if err := attr.Attributes.AddAnnotation(key, v); err != nil {
    			klog.Warningf("Failed to set admission audit annotation %s to %s for validating webhook %s: %v", key, v, h.Name, err)
    		}
    	}
    	for _, w := range result.Warnings {
    		warning.AddWarning(ctx, "", w)
    	}
    	if result.Allowed {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 20:24:12 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    	for k, v := range result.AuditAnnotations {
    		key := h.Name + "/" + k
    		if err := attr.Attributes.AddAnnotation(key, v); err != nil {
    			klog.Warningf("Failed to set admission audit annotation %s to %s for mutating webhook %s: %v", key, v, h.Name, err)
    		}
    	}
    	for _, w := range result.Warnings {
    		warning.AddWarning(ctx, "", w)
    	}
    
    	if !result.Allowed {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/secure_serving.go

    		insecureCiphers := flag.InsecureTLSCiphers()
    		for i := 0; i < len(s.CipherSuites); i++ {
    			for cipherName, cipherID := range insecureCiphers {
    				if s.CipherSuites[i] == cipherID {
    					klog.Warningf("Use of insecure cipher '%s' detected.", cipherName)
    				}
    			}
    		}
    	}
    
    	if s.ClientCA != nil {
    		// Populate PeerCertificates in requests, but don't reject connections without certificates
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/authentication.go

    			if err != nil {
    				if s.TolerateInClusterLookupFailure {
    					klog.Warningf("Error looking up in-cluster authentication configuration: %v", err)
    					klog.Warning("Continuing without authentication configuration. This may treat all requests as anonymous.")
    					klog.Warning("To require authentication configuration lookup to succeed, set --authentication-tolerate-lookup-failure=false")
    				} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 21 14:51:22 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  5. pkg/volume/util/volumepathhandler/volume_path_handler.go

    		// TODO: Need to check if this device file is actually the expected bind mount
    		if file.Mode()&os.ModeDevice == os.ModeDevice {
    			klog.Warningf("Warning: Map skipped because bind mount already exist on the path: %v", linkPath)
    			return nil
    		}
    
    		klog.Warningf("Warning: file %s is already exist but not mounted, skip creating file", linkPath)
    	}
    
    	// Bind mount file
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/upgrade/compute.go

    		return ""
    	}
    	etcdVersion, warning, err := kubeadmconstants.EtcdSupportedVersion(kubeadmconstants.SupportedEtcdVersion, kubernetesVersion)
    	if err != nil {
    		klog.Warningf("[upgrade/versions] could not retrieve an etcd version for the target Kubernetes version: %v", err)
    		return "N/A"
    	}
    	if warning != nil {
    		klog.V(1).Infof("[upgrade/versions] WARNING: %v", warning)
    	}
    	return etcdVersion.String()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. pkg/registry/rbac/rest/storage_rbac.go

    			result, err := opts.Run()
    			if err != nil {
    				return err
    			}
    			switch {
    			case result.Protected && result.Operation != reconciliation.ReconcileNone:
    				klog.Warningf("skipped reconcile-protected clusterrole.%s/%s with missing permissions: %v", rbac.GroupName, clusterRole.Name, result.MissingRules)
    			case result.Operation == reconciliation.ReconcileUpdate:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go

    		Policy:            binding.Spec.PolicyName,
    	}})
    	if err != nil {
    		klog.Warningf("Failed to set admission audit annotation %s for ValidatingAdmissionPolicy %s and ValidatingAdmissionPolicyBinding %s: %v", key, binding.Spec.PolicyName, binding.Name, err)
    	}
    	value := string(valueJSON)
    	if err := attributes.AddAnnotation(key, value); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. pkg/volume/emptydir/empty_dir.go

    			// In this case, delete ready file and print a warning for it.
    			klog.Warningf("volume ready file dir %s exist, but volume dir %s does not. Remove ready dir", readyDir, dir)
    			if err := os.RemoveAll(readyDir); err != nil && !os.IsNotExist(err) {
    				klog.Warningf("failed to remove ready dir [%s]: %v", readyDir, err)
    			}
    		}
    	}
    
    	switch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. pkg/controlplane/apiserver/options/options.go

    			}
    			if completed.Authentication.ServiceAccounts.ExtendExpiration {
    				if completed.Authentication.ServiceAccounts.MaxExpiration < serviceaccount.WarnOnlyBoundTokenExpirationSeconds*time.Second {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top