fix: enable D518 secret-plane smoke
This commit is contained in:
@@ -5566,7 +5566,7 @@ function gitopsRootNodeId(gitopsRoot) {
|
||||
function runtimeSecretPlaneManifest({ config, namespace, labels, annotations }) {
|
||||
const store = config?.store;
|
||||
assert.ok(store && typeof store === "object" && !Array.isArray(store), "secretPlane.store must be an object");
|
||||
assert.equal(store.kind, "ClusterSecretStore", "secretPlane.store.kind must be ClusterSecretStore for D601/v0.3");
|
||||
assert.equal(store.kind, "ClusterSecretStore", "secretPlane.store.kind must be ClusterSecretStore for node-scoped v0.3");
|
||||
assert.ok(typeof store.name === "string" && store.name.trim(), "secretPlane.store.name must be set");
|
||||
const secrets = Array.isArray(config.secrets) ? config.secrets : [];
|
||||
assert.ok(secrets.length > 0, "secretPlane.secrets must not be empty");
|
||||
|
||||
Reference in New Issue
Block a user