mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-20 16:07:11 +08:00
feat(ql3): validate cluster credential key rotation
This commit is contained in:
@@ -760,7 +760,11 @@ async function main() {
|
||||
);
|
||||
}
|
||||
applySecret('ql3-cluster-control-runtime', 'Opaque', {
|
||||
'api-credential-pepper': randomSecret(),
|
||||
'api-credential-pepper-keyring.json': `${JSON.stringify({
|
||||
schemaVersion: 1,
|
||||
activePepperKeyId: 'legacy-v1',
|
||||
keys: [{ pepperKeyId: 'legacy-v1', pepper: randomSecret() }],
|
||||
})}\n`,
|
||||
});
|
||||
const workerIngressTls = createWorkerIngressTls(tempDirectory);
|
||||
applySecret('ql3-cluster-worker-ingress', 'Opaque', {
|
||||
|
||||
Reference in New Issue
Block a user