You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/annotations/annotations.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,12 @@ The following table documents which sources support which annotations:
29
29
[^4]: For Gateway API sources, annotation placement differs by type. See [Gateway API Annotation Placement](#gateway-api-annotation-placement) for details.
30
30
[^5]: The annotation must be on the listener's `VirtualService`.
31
31
32
+
Annotation prefixes can be configured with the `--annotation-prefix` flag, the default prefixes are `external-dns.kubernetes.io/` and `external-dns.alpha.kubernetes.io/` (for backward compatibility).
33
+
34
+
!!!note "Annotation prefix deprecation"
35
+
The `external-dns.alpha.kubernetes.io/` prefix is deprecated and will eventually be removed. It is recommended to use the `external-dns.kubernetes.io/` prefix for all annotations.
36
+
For example, `external-dns.alpha.kubernetes.io/hostname` should be updated to `external-dns.kubernetes.io/hostname`.
37
+
32
38
## external-dns.kubernetes.io/access
33
39
34
40
Specifies which set of node IP addresses to use for a `Service` of type `NodePort`.
Copy file name to clipboardExpand all lines: docs/flags.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ tags:
20
20
|`--skipper-routegroup-groupversion="zalando.org/v1"`| The resource version for skipper routegroup |
21
21
|`--[no-]always-publish-not-ready-addresses`| Always publish also not ready addresses for headless services (optional) |
22
22
|`--annotation-filter=""`| Filter resources queried for endpoints by annotation, using label selector semantics |
23
-
|`--annotation-prefix="external-dns.kubernetes.io/"`| Annotation prefix for external-dns annotations (default: external-dns.kubernetes.io/) |
23
+
|`--annotation-prefix=external-dns.kubernetes.io/...`| Annotation prefix for external-dns annotations (default: external-dns.kubernetes.io/, ); specify multiple times to support additional prefixes|
24
24
|`--compatibility=`| Process annotation semantics from legacy implementations (optional, options: mate, molecule, kops-dns-controller) |
25
25
|`--connector-source-server="localhost:8080"`| The server to connect for connector source, valid only when using connector source |
26
26
|`--crd-source-apiversion="externaldns.k8s.io/v1alpha1"`| API version of the CRD for crd source, e.g. `externaldns.k8s.io/v1alpha1`, valid only when using crd source |
b.BoolVar("always-publish-not-ready-addresses", "Always publish also not ready addresses for headless services (optional)", false, &cfg.AlwaysPublishNotReadyAddresses)
542
542
b.StringVar("annotation-filter", "Filter resources queried for endpoints by annotation, using label selector semantics", defaultConfig.AnnotationFilter, &cfg.AnnotationFilter)
543
-
b.StringVar("annotation-prefix", "Annotation prefix for external-dns annotations (default: external-dns.kubernetes.io/)", defaultConfig.AnnotationPrefix, &cfg.AnnotationPrefix)
543
+
b.StringsVar("annotation-prefix", "Annotation prefix for external-dns annotations (default: external-dns.kubernetes.io/, ); specify multiple times to support additional prefixes", defaultConfig.AnnotationPrefixes, &cfg.AnnotationPrefixes)
b.StringVar("connector-source-server", "The server to connect for connector source, valid only when using connector source", defaultConfig.ConnectorSourceServer, &cfg.ConnectorSourceServer)
546
546
b.StringVar("crd-source-apiversion", "API version of the CRD for crd source, e.g. `externaldns.k8s.io/v1alpha1`, valid only when using crd source", defaultConfig.CRDSourceAPIVersion, &cfg.CRDSourceAPIVersion)
0 commit comments