Conversation
|
|
||
| .PHONY: deploy_addons | ||
| deploy_addons: deploy_addons_load-balancer-controller deploy_addons_fluxcd deploy_addons_external-dns ## Deploy the default addons | ||
| deploy_addons: deploy_addons_load-balancer-controller deploy_addons_fluxcd deploy_addons_external-dns #deploy_addons_route53-controller## Deploy the default addons |
There was a problem hiding this comment.
let's uncomment route53-controller if it is ready to test
| demo_02-mtls: demo_01-deploy-application demo_02-mtls ## Lunch the mTLS demo | ||
| demo_03-zero-trust: demo_01-deploy-application demo_03-zero-trust ## Lunch the Zero Trust demo | ||
| demo_04-publish-service: demo_01-deploy-application demo_04-publish-service ## Lunch the Service Publishing demo | ||
| #demo_04-r53-publish-service: demo_01-deploy-application demo_04-r53-publish-service ## Lunch the Service Publishing demo |
There was a problem hiding this comment.
let's uncomment route53-controller if it is ready to test
|
|
||
| .PHONY: destroy_addons | ||
| destroy_addons: destroy_addons_external-dns ## Destroy the infra-integrated addons | ||
| destroy_addons: destroy_addons_external-dns destroy_addons_load-balancer-controller## Destroy the infra-integrated addons |
There was a problem hiding this comment.
need to be added to destroy
| oidc_provider_arn = data.terraform_remote_state.infra.outputs.oidc_provider_arn | ||
| cluster_oidc_issuer_url = data.terraform_remote_state.infra.outputs.cluster_oidc_issuer_url | ||
| vpc_id = data.terraform_remote_state.infra.outputs.vpc_id | ||
| cluster_oidc_id = trimprefix (data.terraform_remote_state.infra.outputs.cluster_oidc_issuer_url, "https://") |
There was a problem hiding this comment.
external-dns have to be removed in favour to route53 controller...
| - name: bookinfo | ||
| port: 80 | ||
| hostname: bookinfo.tse.tetratelabs.io | ||
| hostname: bookinfo.$cluster_name.aws-ce.sandbox.tetrate.io |
There was a problem hiding this comment.
$cluster_name.$external_dns_aws_dns_zone or similar to it
There was a problem hiding this comment.
what about annotations do we need to use any https://docs.tetrate.io/service-express/integrations/route53#annotations-supported-by-the-route53-controller ?
| cd "../../.." | ||
| fi | ||
|
|
||
| if [[ ${ACTION} = "destroy_load-balancer-controller" ]]; then |
There was a problem hiding this comment.
it should go as a separate PR anyway, the focus is route53 controller
| variable "external_dns_annotation_filter" { | ||
| default = "" | ||
| } | ||
| # variable "external_dns_annotation_filter" { |
There was a problem hiding this comment.
is this cleanup activity? should be another PR for cleanup or if its required for changes should be deleted.
| provisioner "local-exec" { | ||
| when = destroy | ||
| command = "sh ${self.triggers.output_path}/${self.triggers.name_prefix}-external-dns-aws-cleanup.sh" | ||
| command = "sh ${self.triggers.output_path}/${self.triggers.cluster_name}-external-dns-aws-cleanup.sh" |
There was a problem hiding this comment.
external-dns dependencies should be fitted into route53 controller module, technically we should remove external-dns and commit a new route53 controller module so it be correlated easier...
|
|
||
| variable "interval" { | ||
| } | ||
| # variable "interval" { |
There was a problem hiding this comment.
whatever is not needed have to be removed
|
in general external-dns module as being fitted for route53-controller module, so let's basically rename the module to route53-controller... do the final touches so we can start testing, the direction looks okay to me. |
|
@smarunich @shamusx comments have been addressed in the latest commit. please review.
|
@AlexeySkvortsov wip