mirror of https://github.com/k3s-io/k3s
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 ...pull/564/head
parent
9b9f5f949d
commit
a8639e5b93
|
@ -881,8 +881,8 @@ func printProjectedVolumeSource(projected *corev1.ProjectedVolumeSource, w Prefi
|
||||||
" ConfigMapOptional:\t%v\n",
|
" ConfigMapOptional:\t%v\n",
|
||||||
source.ConfigMap.Name, source.ConfigMap.Optional)
|
source.ConfigMap.Name, source.ConfigMap.Optional)
|
||||||
} else if source.ServiceAccountToken != nil {
|
} else if source.ServiceAccountToken != nil {
|
||||||
w.Write(LEVEL_2, "TokenExpirationSeconds:\t%v\n",
|
w.Write(LEVEL_2, "TokenExpirationSeconds:\t%d\n",
|
||||||
source.ServiceAccountToken.ExpirationSeconds)
|
*source.ServiceAccountToken.ExpirationSeconds)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue