- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TokenVolumeSource (0.3 sec)
-
plugin/pkg/admission/serviceaccount/admission.go
pod.Spec.Volumes = append(pod.Spec.Volumes, api.Volume{ Name: tokenVolumeName, VolumeSource: api.VolumeSource{ Projected: TokenVolumeSource(), }, }) } } // TokenVolumeSource returns the projected volume source for service account token. func TokenVolumeSource() *api.ProjectedVolumeSource { return &api.ProjectedVolumeSource{ // explicitly set default value, see #104464
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 18.6K bytes - Viewed (0) -
plugin/pkg/admission/serviceaccount/admission_test.go
serviceAccountUID := "12345" tokenName := generatedVolumeName expectedVolume := api.Volume{ Name: tokenName, VolumeSource: api.VolumeSource{ Projected: TokenVolumeSource(), }, } expectedVolumeMount := api.VolumeMount{ Name: tokenName, ReadOnly: true, MountPath: DefaultAPITokenMountPath, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 36.9K bytes - Viewed (0)