diff --git a/control-plane/roles/gardener/templates/shoot-dns-service/controller-deployment.yaml b/control-plane/roles/gardener/templates/shoot-dns-service/controller-deployment.yaml index cf1c6ea0..63f7a1cd 100644 --- a/control-plane/roles/gardener/templates/shoot-dns-service/controller-deployment.yaml +++ b/control-plane/roles/gardener/templates/shoot-dns-service/controller-deployment.yaml @@ -3,9 +3,8 @@ apiVersion: core.gardener.cloud/v1beta1 kind: ControllerDeployment metadata: name: extension-shoot-dns-service -type: helm -providerConfig: - chart: "{{ (lookup('url', 'https://raw.githubusercontent.com/' + gardener_shoot_dns_service_repo_ref + '/example/controller-registration.yaml', split_lines=False) | from_yaml_all | list)[0].providerConfig.chart }}" +helm: + rawChart: "{{ (lookup('url', 'https://raw.githubusercontent.com/' + gardener_shoot_dns_service_repo_ref + '/example/controller-registration.yaml', split_lines=False) | from_yaml_all | list)[0].helm.rawChart }}" values: image: repository: "{{ gardener_shoot_dns_service_image_name }}" diff --git a/control-plane/roles/gardener/test/dns_extension_template_test.py b/control-plane/roles/gardener/test/dns_extension_template_test.py index 72d10fed..86915633 100644 --- a/control-plane/roles/gardener/test/dns_extension_template_test.py +++ b/control-plane/roles/gardener/test/dns_extension_template_test.py @@ -17,9 +17,8 @@ def test_shoot_dns_extension_controller_deployment_template(self, mock_urlopen): kind: ControllerDeployment metadata: name: extension-shoot-dns-service -type: helm -providerConfig: - chart: a-chart +helm: + rawChart: a-chart values: image: tag: v1.48.0 @@ -54,9 +53,8 @@ def test_shoot_dns_extension_controller_deployment_template(self, mock_urlopen): kind: ControllerDeployment metadata: name: extension-shoot-dns-service -type: helm -providerConfig: - chart: "a-chart" +helm: + rawChart: "a-chart" values: image: repository: "extension-image"