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
Issue
We have a customer report where two separate teams were running deck gateway syncs (from separate files) with --select-tag and a certificate object. Somehow, they crossed wires and the ID became the same for both files (but different tags)
The console output for both indicates it is "creating" the object, however, it was actually overwriting/updating the original object.
How to recreate?
Have two files for sync
On deck file A - Select tag was "TestA" and the ID of certificate was "XYZ"
On deck file B - Select tag was "TestB" and the ID of certificate was "XYZ"
Now, run deck gateway sync --select-tag {tag} {file} for each file one after the other
This would be the response for both
creating certificate XYZ
Summary:
Created: 1
Updated: 0
Deleted: 0
Now, run deck gateway dump and check the output - the first certificate is replaced.
Indication that the certificate is being replaced is missing.
Expected behaviour
When a resource is being updated / replaced, we should indicate on the console.
Ideally, selected tags should match even when ID is provided
The text was updated successfully, but these errors were encountered:
Issue
We have a customer report where two separate teams were running deck gateway syncs (from separate files) with
--select-tag
and a certificate object. Somehow, they crossed wires and the ID became the same for both files (but different tags)The console output for both indicates it is "creating" the object, however, it was actually overwriting/updating the original object.
How to recreate?
Have two files for sync
On deck file A - Select tag was "TestA" and the ID of certificate was "XYZ"
On deck file B - Select tag was "TestB" and the ID of certificate was "XYZ"
Now, run
deck gateway sync --select-tag {tag} {file}
for each file one after the otherThis would be the response for both
creating certificate XYZ
Summary:
Created: 1
Updated: 0
Deleted: 0
Now, run
deck gateway dump
and check the output - the first certificate is replaced.Indication that the certificate is being replaced is missing.
Expected behaviour
When a resource is being updated / replaced, we should indicate on the console.
Ideally, selected tags should match even when ID is provided
The text was updated successfully, but these errors were encountered: