-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix kubernetes manifest #3
Conversation
|
||
metadata = { | ||
name = "${lower(each.value.name)}-runner-deployment" | ||
namespace = var.chart_namespace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we stick with this and change this to
namespace = helm_release.namespace
?
Then there will be an implicit dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea it should work let me test it, Thanks
The dependency is not fixed, it's a known limitation CRD must exist before CR creation, detailed discussion:
|
depends_on
not working withkubernetes_manifest
its an open issueas a workaround we can use
kubectl_manifest
https://medium.com/@danieljimgarcia/dont-use-the-terraform-kubernetes-manifest-resource-6c7ff4fe629a