-
Notifications
You must be signed in to change notification settings - Fork 67
/
const.go
32 lines (27 loc) · 1.17 KB
/
const.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
// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors
//
// SPDX-License-Identifier: Apache-2.0
package dns
const (
CONTROLLER_GROUP_DNS_CONTROLLERS = "dnscontrollers"
CONTROLLER_GROUP_DNS_SOURCES = "dnssources"
CONTROLLER_GROUP_REPLICATION = "replication"
)
const (
DEFAULT_CLASS = "gardendns"
ANNOTATION_GROUP = "dns.gardener.cloud"
CLASS_ANNOTATION = ANNOTATION_GROUP + "/class"
REALM_ANNOTATION = ANNOTATION_GROUP + "/realms"
NOT_RATE_LIMITED_ANNOTATION = ANNOTATION_GROUP + "/not-rate-limited"
DNS_ANNOTATION = ANNOTATION_GROUP + "/dnsnames"
)
const OPT_SETUP = "setup"
const (
// AnnotationIPStack is an optional annotation for DNSEntries to specify the IP stack.
// Values are 'ipv4', 'dual-stack', and 'ipv6'. If not specified, 'ipv4' is assumed.
// This annotation is currently only relevant for AWS-Route53 to generate alias target A and/or AAAA records.
AnnotationIPStack = ANNOTATION_GROUP + "/ip-stack"
AnnotationValueIPStackIPv4 = "ipv4"
AnnotationValueIPStackIPDualStack = "dual-stack"
AnnotationValueIPStackIPv6 = "ipv6"
)