- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IsDefaultAnnotation (0.15 sec)
-
pkg/volume/util/storageclass.go
} return defaultClasses[0], nil } // IsDefaultAnnotation returns a boolean if the default storage class // 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: Mon Apr 03 09:27:59 UTC 2023 - 2.7K bytes - Viewed (0) -
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)