Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 1.85 KB

File metadata and controls

66 lines (47 loc) · 1.85 KB

Setup External DNS Ionos Webhook

NOTE: Extracted from https://github.com/DOME-Marketplace/dome-gitops/tree/main/doc/external-dns-ionos-webhook

0. Prerequisite - Zone registration

NOTE: Setup of External DNS Ionos Webhook, according to the README.md at URL: https://github.com/ionos-cloud/external-dns-ionos-webhook

0.1. Create subdomains

0.2. Token generation

Generate token using Ionos DCD System credentials via endpoint https://api.ionos.com/auth/v1/tokens/generate;

curl --location 'https://api.ionos.com/auth/v1/tokens/generate' \
--header 'Authorization: Basic DCD_BASIC_CREDENTIALS'

0.3. Create Zone

Create Zone for the domain(s) to be used in Ionos DNS API via:

curl --location --request POST 'https://dns.de-fra.ionos.com/zones' \
--header 'Authorization: Bearer tokenValue' \
--header 'Content-Type: application/json' \
--data-raw '{
"properties":{
"description": "desc",
"enabled": true,
"zoneName": "example-dome-marketplace.org"
}
}'

1. Add Chart

Add bitnami helm chart:

helm repo add bitnami https://charts.bitnami.com/bitnami

2. Prepare Secret

Prepare Secret named ionos-credentials based on the token generated via endpoint https://api.ionos.com/auth/v1/tokens/generate:

kubectl create secret generic ionos-credentials --from-literal=api-key='tokenWithoutBearer'

3. Install Chart

helm install external-dns-ionos bitnami/external-dns -f values.yaml