https://github.com/gdatasoftwareag/external-dns-coredns-webhook
https://github.com/gdatasoftwareag/external-dns-coredns-webhook
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gdatasoftwareag/external-dns-coredns-webhook
- Owner: GDATASoftwareAG
- License: apache-2.0
- Created: 2023-02-23T10:07:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T06:18:18.000Z (over 1 year ago)
- Last Synced: 2024-10-23T08:47:09.082Z (over 1 year ago)
- Language: Go
- Size: 79.1 KB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ExternalDNS Plugin CoreDNS Webhook
## Commandline
```
usage: external-dns-coredns-webhook []
ExternalDNS CoreDNS webhook
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--version Show application version.
--dry-run When enabled, prints DNS record changes rather than actually performing them (default: disabled)
--log-format=text The format in which log messages are printed (default: text, options: text, json)
--log-level=info Set the level of logging. (default: info, options: panic, debug, info, warning, error, fatal
--webhook-provider-read-timeout=5s
The read timeout for the webhook provider in duration format (default: 5s)
--webhook-provider-write-timeout=5s
The write timeout for the webhook provider in duration format (default: 5s)
--webhook-provider-port="0.0.0.0:8888"
Webhook provider port (default: 0.0.0.0:8888)
--prefix="/skydns/" Specify the prefix name
--txt-owner-id="default" When using the TXT registry, a name that identifies this instance of ExternalDNS (default: default)
--pre-filter-external-owned-records
Services are pre filter based on the txt-owner-id (default: false)
```
## ENVs for Etcd
| Name | Description | Default |
|----------------------|------------------------------------------------------------------------------------|-------------------------|
| ETCD_URLS | Optionally, can be used to configure the urls to connect to etcd, comma seperated. | "http://localhost:2379" |
| ETCD_USERNAME | Optionally, can be used to configure for authenticating to etcd. | "" |
| ETCD_PASSWORD | Optionally, can be used to configure for authenticating to etcd. | "" |
| ETCD_CA_FILE | Optionally, can be used to configure TLS settings for etcd. | "" |
| ETCD_CERT_FILE | Optionally, can be used to configure TLS settings for etcd. | "" |
| ETCD_KEY_FILE | Optionally, can be used to configure TLS settings for etcd. | "" |
| ETCD_TLS_SERVER_NAME | Optionally, can be used to configure TLS settings for etcd. | "" |
| ETCD_TLS_INSECURE | Optionally, To insecure handle connection use "true", default is false. | "" |
## Pre-filtering CoreDNS services based on ownerIDs
If you are running external-dns in multi cluster, you can use `--coredns-pre-filter-external-owned-records` and
`--txt-owner-id` to ignore external created services, for example from a different external-dns.
## Custom attributes
Coredns offers currently a single custom attribute:
* [Grouped](https://github.com/skynetservices/skydns#groups)
records: `external-dns.alpha.kubernetes.io/webhook-coredns-group`