- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsDefaultAnnotation (0.31 sec)
-
pkg/apis/storage/util/helpers.go
const AlphaIsDefaultVolumeAttributesClassAnnotation = "volumeattributesclass.alpha.kubernetes.io/is-default-class" // IsDefaultAnnotation returns a boolean if // the annotation is set // TODO: remove Beta when no longer needed func IsDefaultAnnotation(obj metav1.ObjectMeta) bool { if obj.Annotations[IsDefaultStorageClassAnnotation] == "true" { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 1.9K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
row := metav1.TableRow{ Object: runtime.RawExtension{Object: obj}, } name := obj.Name if storageutil.IsDefaultAnnotation(obj.ObjectMeta) { name += " (default)" } provtype := obj.Provisioner reclaimPolicy := string(api.PersistentVolumeReclaimDelete) if obj.ReclaimPolicy != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0)