mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
feat(ql3): persist cluster secret transition receipts
This commit is contained in:
1 parent
c877147d0f
commit
5f93e0b5d2
26 files changed
+1127
-66
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { createHash } from 'node:crypto';
|
||||
import { isDeepStrictEqual } from 'node:util';
|
||||
|
||||
import { normalizePluginPackageResourceGeneration } from '../pluginPackageResourceGeneration';
|
||||
import {
|
||||
@@ -466,7 +467,7 @@ export function normalizePluginPackageSecretBindingTransitionPlan(
|
||||
nextBindingPlan,
|
||||
);
|
||||
if (
|
||||
JSON.stringify(plan.changes) !== JSON.stringify(unsigned.changes) ||
|
||||
!isDeepStrictEqual(plan.changes, unsigned.changes) ||
|
||||
plan.kind !== unsigned.kind
|
||||
) {
|
||||
return invalid('derived transition classification does not match content');
|
||||
|
||||
Reference in new issue
Block a user