2020-09-16 14:19:51 +00:00
|
|
|
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2020-08-28 15:59:09 +00:00
|
|
|
|
|
|
|
package api
|
|
|
|
|
|
|
|
// Annotation on service.
|
|
|
|
const SecretNameAnnotation = "service.placeholder.io/secret-name"
|
|
|
|
|
|
|
|
// Annotations on secret.
|
|
|
|
const (
|
2020-08-28 16:22:19 +00:00
|
|
|
// ServiceUIDAnnotation is an annotation on a secret that indicates which service created it, by UID.
|
2020-08-28 15:59:09 +00:00
|
|
|
ServiceUIDAnnotation = "service.placeholder.io/service-uid"
|
2020-08-28 16:22:19 +00:00
|
|
|
|
2020-08-28 15:59:09 +00:00
|
|
|
// ServiceNameAnnotation is an annotation on a secret that indicates which service created it, by Name
|
2020-08-28 16:22:19 +00:00
|
|
|
// to allow reverse lookups on services for comparison against UIDs.
|
2020-08-28 15:59:09 +00:00
|
|
|
ServiceNameAnnotation = "service.placeholder.io/service-name"
|
|
|
|
)
|
|
|
|
|
|
|
|
const SecretDataKey = "secret-data"
|