volumes: generate systemd mount files based on mount type

This commit is contained in:
Girish Ramakrishnan
2021-05-12 18:00:43 -07:00
parent 4c938b5e77
commit 50407eba0b
14 changed files with 281 additions and 41 deletions

View File

@@ -257,6 +257,8 @@ CREATE TABLE IF NOT EXISTS volumes(
name VARCHAR(256) NOT NULL UNIQUE,
hostPath VARCHAR(1024) NOT NULL UNIQUE,
creationTime TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
mountType VARCHAR(16) DEFAULT "noop",
mountOptionsJson TEXT,
PRIMARY KEY (id)
);