mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Before this patch, the projected volume in kubectl describe command looks like:
... Volumes: kube-api-access-jp24b: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 0xc00071bee0 ... After this patch, it looks like: ... Volumes: kube-api-access-jp24b: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3600 ...
This commit is contained in:
parent
9b9f5f949d
commit
a8639e5b93
@ -881,8 +881,8 @@ func printProjectedVolumeSource(projected *corev1.ProjectedVolumeSource, w Prefi
|
||||
" ConfigMapOptional:\t%v\n",
|
||||
source.ConfigMap.Name, source.ConfigMap.Optional)
|
||||
} else if source.ServiceAccountToken != nil {
|
||||
w.Write(LEVEL_2, "TokenExpirationSeconds:\t%v\n",
|
||||
source.ServiceAccountToken.ExpirationSeconds)
|
||||
w.Write(LEVEL_2, "TokenExpirationSeconds:\t%d\n",
|
||||
*source.ServiceAccountToken.ExpirationSeconds)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user