-
Notifications
You must be signed in to change notification settings - Fork 525
/
Copy pathannotations.go
34 lines (27 loc) · 1.76 KB
/
annotations.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package annotations
// annotation keys
// NEVER ADD TO THIS LIST. Annotations need to be owned in the API groups they are associated with, so these constants end
// up nested in an API group, not top level in the OpenShift namespace. The items located here are examples of annotations
// claiming a global namespace key that have never achieved global reach. In the future, names should be based on the
// consuming component.
const (
// OpenShiftDisplayName is a common, optional annotation that stores the name displayed by a UI when referencing a resource.
OpenShiftDisplayName = "openshift.io/display-name"
// OpenShiftProviderDisplayNameAnnotation is the name of a provider of a resource, e.g.
// "Red Hat, Inc."
OpenShiftProviderDisplayNameAnnotation = "openshift.io/provider-display-name"
// OpenShiftDocumentationURLAnnotation is the url where documentation associated with
// a resource can be found.
OpenShiftDocumentationURLAnnotation = "openshift.io/documentation-url"
// OpenShiftSupportURLAnnotation is the url where support for a template can be found.
OpenShiftSupportURLAnnotation = "openshift.io/support-url"
// OpenShiftDescription is a common, optional annotation that stores the description for a resource.
OpenShiftDescription = "openshift.io/description"
// OpenShiftLongDescriptionAnnotation is a resource's long description
OpenShiftLongDescriptionAnnotation = "openshift.io/long-description"
// OpenShiftComponent is a common, optional annotation that stores the owning component for a resource.
// The component is for whatever bug tracker we're using. That used to be bugzilla, now it is
// a jira component and subcomponent in OCPBUGS.
// For example, "Etcd" or "Networking / ovn-kubernetes"
OpenShiftComponent = "openshift.io/owning-component"
)