|
1 | 1 | package annotations
|
2 | 2 |
|
3 | 3 | const (
|
| 4 | + // AnnotationCheckPoint is the annotation used to store a checkpoint for resources. |
| 5 | + // It contains an opaque value that represents the last known reconciled state. |
| 6 | + AnnotationCheckPoint = "elbv2.k8s.aws/checkpoint" |
| 7 | + |
| 8 | + // AnnotationCheckPointTimestamp is the annotation used to store the last checkpointed time. The value is stored in seconds. |
| 9 | + AnnotationCheckPointTimestamp = AnnotationCheckPoint + "-timestamp" |
| 10 | + |
4 | 11 | // IngressClass
|
5 | 12 | IngressClass = "kubernetes.io/ingress.class"
|
6 | 13 |
|
7 | 14 | AnnotationPrefixIngress = "alb.ingress.kubernetes.io"
|
8 | 15 | // Ingress annotation suffixes
|
9 |
| - IngressSuffixLoadBalancerName = "load-balancer-name" |
10 |
| - IngressSuffixGroupName = "group.name" |
11 |
| - IngressSuffixGroupOrder = "group.order" |
12 |
| - IngressSuffixTags = "tags" |
13 |
| - IngressSuffixIPAddressType = "ip-address-type" |
14 |
| - IngressSuffixScheme = "scheme" |
15 |
| - IngressSuffixSubnets = "subnets" |
16 |
| - IngressSuffixCustomerOwnedIPv4Pool = "customer-owned-ipv4-pool" |
17 |
| - IngressSuffixLoadBalancerAttributes = "load-balancer-attributes" |
18 |
| - IngressSuffixWAFv2ACLARN = "wafv2-acl-arn" |
19 |
| - IngressSuffixWAFACLID = "waf-acl-id" |
20 |
| - IngressSuffixWebACLID = "web-acl-id" // deprecated, use "waf-acl-id" instead. |
21 |
| - IngressSuffixShieldAdvancedProtection = "shield-advanced-protection" |
22 |
| - IngressSuffixSecurityGroups = "security-groups" |
23 |
| - IngressSuffixListenPorts = "listen-ports" |
24 |
| - IngressSuffixSSLRedirect = "ssl-redirect" |
25 |
| - IngressSuffixInboundCIDRs = "inbound-cidrs" |
26 |
| - IngressSuffixCertificateARN = "certificate-arn" |
27 |
| - IngressSuffixSSLPolicy = "ssl-policy" |
28 |
| - IngressSuffixTargetType = "target-type" |
29 |
| - IngressSuffixBackendProtocol = "backend-protocol" |
30 |
| - IngressSuffixBackendProtocolVersion = "backend-protocol-version" |
31 |
| - IngressSuffixTargetGroupAttributes = "target-group-attributes" |
32 |
| - IngressSuffixHealthCheckPort = "healthcheck-port" |
33 |
| - IngressSuffixHealthCheckProtocol = "healthcheck-protocol" |
34 |
| - IngressSuffixHealthCheckPath = "healthcheck-path" |
35 |
| - IngressSuffixHealthCheckIntervalSeconds = "healthcheck-interval-seconds" |
36 |
| - IngressSuffixHealthCheckTimeoutSeconds = "healthcheck-timeout-seconds" |
37 |
| - IngressSuffixHealthyThresholdCount = "healthy-threshold-count" |
38 |
| - IngressSuffixUnhealthyThresholdCount = "unhealthy-threshold-count" |
39 |
| - IngressSuffixSuccessCodes = "success-codes" |
40 |
| - IngressSuffixAuthType = "auth-type" |
41 |
| - IngressSuffixAuthIDPCognito = "auth-idp-cognito" |
42 |
| - IngressSuffixAuthIDPOIDC = "auth-idp-oidc" |
43 |
| - IngressSuffixAuthOnUnauthenticatedRequest = "auth-on-unauthenticated-request" |
44 |
| - IngressSuffixAuthScope = "auth-scope" |
45 |
| - IngressSuffixAuthSessionCookie = "auth-session-cookie" |
46 |
| - IngressSuffixAuthSessionTimeout = "auth-session-timeout" |
47 |
| - IngressSuffixTargetNodeLabels = "target-node-labels" |
48 |
| - IngressSuffixManageSecurityGroupRules = "manage-backend-security-group-rules" |
49 |
| - IngressSuffixMutualAuthentication = "mutual-authentication" |
50 |
| - IngressSuffixSecurityGroupPrefixLists = "security-group-prefix-lists" |
| 16 | + IngressSuffixLoadBalancerName = "load-balancer-name" |
| 17 | + IngressSuffixGroupName = "group.name" |
| 18 | + IngressSuffixGroupOrder = "group.order" |
| 19 | + IngressSuffixTags = "tags" |
| 20 | + IngressSuffixIPAddressType = "ip-address-type" |
| 21 | + IngressSuffixScheme = "scheme" |
| 22 | + IngressSuffixSubnets = "subnets" |
| 23 | + IngressSuffixCustomerOwnedIPv4Pool = "customer-owned-ipv4-pool" |
| 24 | + IngressSuffixLoadBalancerAttributes = "load-balancer-attributes" |
| 25 | + IngressSuffixWAFv2ACLARN = "wafv2-acl-arn" |
| 26 | + IngressSuffixWAFACLID = "waf-acl-id" |
| 27 | + IngressSuffixWebACLID = "web-acl-id" // deprecated, use "waf-acl-id" instead. |
| 28 | + IngressSuffixShieldAdvancedProtection = "shield-advanced-protection" |
| 29 | + IngressSuffixSecurityGroups = "security-groups" |
| 30 | + IngressSuffixListenPorts = "listen-ports" |
| 31 | + IngressSuffixSSLRedirect = "ssl-redirect" |
| 32 | + IngressSuffixInboundCIDRs = "inbound-cidrs" |
| 33 | + IngressSuffixCertificateARN = "certificate-arn" |
| 34 | + IngressSuffixSSLPolicy = "ssl-policy" |
| 35 | + IngressSuffixTargetType = "target-type" |
| 36 | + IngressSuffixBackendProtocol = "backend-protocol" |
| 37 | + IngressSuffixBackendProtocolVersion = "backend-protocol-version" |
| 38 | + IngressSuffixTargetGroupAttributes = "target-group-attributes" |
| 39 | + IngressSuffixHealthCheckPort = "healthcheck-port" |
| 40 | + IngressSuffixHealthCheckProtocol = "healthcheck-protocol" |
| 41 | + IngressSuffixHealthCheckPath = "healthcheck-path" |
| 42 | + IngressSuffixHealthCheckIntervalSeconds = "healthcheck-interval-seconds" |
| 43 | + IngressSuffixHealthCheckTimeoutSeconds = "healthcheck-timeout-seconds" |
| 44 | + IngressSuffixHealthyThresholdCount = "healthy-threshold-count" |
| 45 | + IngressSuffixUnhealthyThresholdCount = "unhealthy-threshold-count" |
| 46 | + IngressSuffixSuccessCodes = "success-codes" |
| 47 | + IngressSuffixAuthType = "auth-type" |
| 48 | + IngressSuffixAuthIDPCognito = "auth-idp-cognito" |
| 49 | + IngressSuffixAuthIDPOIDC = "auth-idp-oidc" |
| 50 | + IngressSuffixAuthOnUnauthenticatedRequest = "auth-on-unauthenticated-request" |
| 51 | + IngressSuffixAuthScope = "auth-scope" |
| 52 | + IngressSuffixAuthSessionCookie = "auth-session-cookie" |
| 53 | + IngressSuffixAuthSessionTimeout = "auth-session-timeout" |
| 54 | + IngressSuffixTargetNodeLabels = "target-node-labels" |
| 55 | + IngressSuffixManageSecurityGroupRules = "manage-backend-security-group-rules" |
| 56 | + IngressSuffixMutualAuthentication = "mutual-authentication" |
| 57 | + IngressSuffixSecurityGroupPrefixLists = "security-group-prefix-lists" |
| 58 | + IngressSuffixlsAttsAnnotationPrefix = "listener-attributes" |
| 59 | + IngressLBSuffixMultiClusterTargetGroup = "multi-cluster-target-group" |
| 60 | + IngressSuffixLoadBalancerCapacityReservation = "minimum-load-balancer-capacity" |
| 61 | + IngressSuffixInboundSecurityGroups = "inbound-security-groups" |
51 | 62 |
|
52 | 63 | // NLB annotation suffixes
|
53 | 64 | // prefixes service.beta.kubernetes.io, service.kubernetes.io
|
@@ -88,4 +99,9 @@ const (
|
88 | 99 | SvcLBSuffixManageSGRules = "aws-load-balancer-manage-backend-security-group-rules"
|
89 | 100 | SvcLBSuffixEnforceSGInboundRulesOnPrivateLinkTraffic = "aws-load-balancer-inbound-sg-rules-on-private-link-traffic"
|
90 | 101 | SvcLBSuffixSecurityGroupPrefixLists = "aws-load-balancer-security-group-prefix-lists"
|
| 102 | + SvcLBSuffixlsAttsAnnotationPrefix = "aws-load-balancer-listener-attributes" |
| 103 | + SvcLBSuffixMultiClusterTargetGroup = "aws-load-balancer-multi-cluster-target-group" |
| 104 | + ScvLBSuffixEnablePrefixForIpv6SourceNat = "aws-load-balancer-enable-prefix-for-ipv6-source-nat" |
| 105 | + ScvLBSuffixSourceNatIpv6Prefixes = "aws-load-balancer-source-nat-ipv6-prefixes" |
| 106 | + SvcLBSuffixLoadBalancerCapacityReservation = "aws-load-balancer-minimum-load-balancer-capacity" |
91 | 107 | )
|
0 commit comments