Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for serviceAccountTokenSecret (0.16 sec)

  1. plugin/pkg/admission/serviceaccount/admission.go

    				}
    			}
    		}
    	}
    	return nil
    }
    
    func (s *Plugin) mountServiceAccountToken(serviceAccount *corev1.ServiceAccount, pod *api.Pod) {
    	// Find the volume and volume name for the ServiceAccountTokenSecret if it already exists
    	tokenVolumeName := ""
    	hasTokenVolume := false
    	allVolumeNames := sets.NewString()
    	for _, volume := range pod.Spec.Volumes {
    		allVolumeNames.Insert(volume.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top