Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller no longer respecting CloudMapDNS.ttl value when creating cloudmap services #659

Open
seanr-cardless opened this issue Dec 1, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@seanr-cardless
Copy link

Describe the bug

cloudMapDNS.ttl is no longer correctly taken into account when creating cloudmap services.

Since this commit the helm template expects an int64 cloudMapDNS.ttl value instead of a float64.

This is probably related to known helm issues, where int values are being parsed and represented in float64 through scientific notation

Newly created cloudmap services are being created with the default ttl of 300, rather than a specified cloudMapDNS.ttl.

Steps to reproduce

  • Deploy a new cloudmap service with a specified cloudMapDNS.ttl with a sample value (e.g. 5)

OR

  1. Locally remove the output redirection to /dev/null in helm-lint.sh
  2. Specify a cloudMap.ttl value of 5 in the test.yaml values file
  3. Run ./test/helm/helm-lint.sh | grep "cloudmap" to see the helm output
  4. Chane the int64 back to float64 in the deployment.yaml
  5. Re-run ./test/helm/helm-lint.sh | grep "cloudmap"
    • You should now see --cloudmap-dns-ttl=5 in the output

Expected outcome
A concise description of what you expected to happen.

The appmesh controller deployment should use the cloudMapDNS.ttl specified in the values file

Environment

  • App Mesh controller version 1.9.0
  • Envoy version - 1.22.2
  • Are you using any integrations? X-ray, Jaeger etc. If so versions? N/A
  • Kubernetes version - 1.23
  • Using EKS (yes/no), if so version? -Yes, 1.23

Additional Context:

N/A

@seanr-cardless seanr-cardless added the bug Something isn't working label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant