@soft-stech/spicedb
v0.1.0
Published
SpiceDB models
Downloads
3
Readme
@kubernetes-models/spicedb
SpiceDB models.
Installation
Install with npm.
npm install @kubernetes-models/spicedb
Usage
import { SpiceDBCluster } from '@kubernetes-models/spicedb/authzed.com/v1alpha1/SpiceDBCluster';
// create the spiceDB cluster
const cluster = new SpiceDBCluster({
metadata: {
name: "dev"
},
spec: {
channel: 'stable',
version: 'v1.14.0',
config: {
datastoreEngine: 'memory',
},
secretName: 'dev-spicedb-secret',
},
});
// Validate against JSON schema
cluster.validate();
License
MIT