You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
I believe resource should be recreated if manifest.metadata.name changed or at least I should be able to set this behaviour somehow. There are some custom CRDs which should be recreated. I am trying to provision AWS ALB TargetGroupBinding CRD. The problem that this resource can only be deleted first and then recreated if I change associated target group. My idea was to give new manifest.metadata.name by adding hash value from AWS ALB TargetGroup ARN. Expected behaviour that Terraform will offer RECREATE of resource instead of modification, because it is impossible to modify this in K8S. Object names are immutable in Kubernetes.
The text was updated successfully, but these errors were encountered:
ivanzolotuhin
changed the title
Allow recreate resource if manifest.metadata.name changes
Recreate resource if manifest.metadata.name changes
Aug 9, 2021
ivanzolotuhin
changed the title
Recreate resource if manifest.metadata.name changes
Recreate resource if manifest.metadata.name changed
Aug 9, 2021
Description
I believe resource should be recreated if manifest.metadata.name changed or at least I should be able to set this behaviour somehow. There are some custom CRDs which should be recreated. I am trying to provision AWS ALB TargetGroupBinding CRD. The problem that this resource can only be deleted first and then recreated if I change associated target group. My idea was to give new manifest.metadata.name by adding hash value from AWS ALB TargetGroup ARN. Expected behaviour that Terraform will offer RECREATE of resource instead of modification, because it is impossible to modify this in K8S.
Object names are immutable in Kubernetes.
The text was updated successfully, but these errors were encountered: