Skip to content

Commit

Permalink
Allow shoot owners to bring their own DNS providers. (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 authored Dec 10, 2024
1 parent 640e107 commit 7f1de4c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions control-plane/roles/gardener/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ This includes the metal-stack extension provider called [gardener-extension-prov
| gardener_shoot_dns_service_image_vector_overwrite | | Allows overriding the image vector for the shoot-dns-service extension |
| gardener_shoot_dns_service_dns_controller_manager_image_name | | Setting an explicit image name for the dns-controller-manager |
| gardener_shoot_dns_service_dns_controller_manager_image_tag | | Setting an explicit image tag for the dns-controller-manager |
| gardener_shoot_dns_service_dns_provider_replication | | Enable provider replication feature for the shoot-service-dns extension |
| gardener_extension_backup_s3_image_name | | Setting an explicit image name for the gardener-extension-backup-s3 |
| gardener_extension_backup_s3_image_tag | | Setting an explicit image tag for the gardener-extension-backup-s3 |
| gardener_extension_dns_powerdns_image_name | | Setting an explicit image name for the gardener-extension-dns-powerdns |
Expand Down
2 changes: 2 additions & 0 deletions control-plane/roles/gardener/defaults/main/extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,5 @@ gardener_shoot_dns_service_image_vector_overwrite: []
# tag: "0.7.1"
gardener_shoot_dns_service_dns_controller_manager_image_name:
gardener_shoot_dns_service_dns_controller_manager_image_tag:

gardener_shoot_dns_service_dns_provider_replication: false
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ helm:
{% endif %}
dnsProviderManagement:
enabled: true
dnsProviderReplication:
enabled: {{ gardener_shoot_dns_service_dns_provider_replication | lower }}

dnsControllerManager:
deploy: true
{% if gardener_shoot_dns_service_dns_controller_manager_image_name or gardener_shoot_dns_service_dns_controller_manager_image_tag %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def test_shoot_dns_extension_controller_deployment_template(self, mock_urlopen):
"tag": "0.7.1",
},
],
"gardener_shoot_dns_service_dns_provider_replication": True,
"gardener_shoot_dns_service_dns_controller_manager_image_name": "dns-controller-image",
"gardener_shoot_dns_service_dns_controller_manager_image_tag": "dns-controller-tag",
})
Expand All @@ -65,8 +66,12 @@ def test_shoot_dns_extension_controller_deployment_template(self, mock_urlopen):
repository: europe-docker.pkg.dev/gardener-project/public/dns-controller-manager
sourceRepository: github.com/gardener/external-dns-management
tag: 0.7.1
dnsProviderManagement:
enabled: true
dnsProviderReplication:
enabled: true
dnsControllerManager:
deploy: true
image:
Expand Down

0 comments on commit 7f1de4c

Please sign in to comment.