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

Blue Green Deployment : id_bg doesnt update the app id to latest version #442

Open
dipumonharidask opened this issue Jan 11, 2023 · 3 comments

Comments

@dipumonharidask
Copy link

dipumonharidask commented Jan 11, 2023

Found an issue while deploying using blue green strategy using 0.50.4 version of the terraform provider

id_bg gives the app id value for the old app, it doesn't update the value to the updated version of the app.

This leads to issues for network_policy creation as policies are not created as old application is deleted after upgrade.

Found this issue in version 0.50.4 of the provider.

@psycofdj
Copy link
Member

Same issue here
As an ugly workaround, I had to completely delete then redeploy the app for the terraform deployment to converge

@dipumonharidask dipumonharidask changed the title Blue Green Deployment : id_bg doesn Blue Green Deployment : id_bg doesnt update the app id to latest version Jan 11, 2023
@Thanhphan1147
Copy link
Contributor

I was unable to reproduce the issue locally, can you please share with me the steps to reproduce as well as your configuration?

@dipumonharidask
Copy link
Author

We faced the issue in below scenario:

  • Deploy two applications.
  • Get bg_id of one app as output and pass it is as an input to another app.
  • Create network policy between both the apps.
  • Network policy will be created using app I'd of older version app id of first app, not the updated version's app id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants