forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
syncutil.go
16 lines (14 loc) · 853 Bytes
/
syncutil.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package ldaputil
// These constants contain values for annotations and labels affixed to Groups by the LDAP sync job
const (
// LDAPHostLabel is the Label value that stores the host of the LDAP server
// TODO: we don't store port here because labels don't allow for colons. We might want to add this back
// with a different separator
LDAPHostLabel string = "openshift.io/ldap.host"
// LDAPURLAnnotation is the Annotation value that stores the host:port of the LDAP server
LDAPURLAnnotation string = "openshift.io/ldap.url"
// LDAPUIDAnnotation is the Annotation value that stores the corresponding LDAP group UID for the Group
LDAPUIDAnnotation string = "openshift.io/ldap.uid"
// LDAPSyncTime is the Annotation value that stores the last time this Group was synced with LDAP
LDAPSyncTimeAnnotation string = "openshift.io/ldap.sync-time"
)