Format repo
This commit is contained in:
parent
3169149045
commit
8160b9da0b
37 changed files with 643 additions and 392 deletions
|
@ -1,9 +1,14 @@
|
|||
{ globals, config, lib, ... }: {
|
||||
{
|
||||
globals,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options.syncthing.enable = lib.mkEnableOption "syncthing";
|
||||
|
||||
config = lib.mkIf config.syncthing.enable {
|
||||
kubernetes.resources = {
|
||||
serviceAccounts.syncthing = { };
|
||||
serviceAccounts.syncthing = {};
|
||||
|
||||
deployments.syncthing.spec = {
|
||||
selector.matchLabels.app = "syncthing";
|
||||
|
@ -71,7 +76,7 @@
|
|||
};
|
||||
|
||||
persistentVolumeClaims.music.spec = {
|
||||
accessModes = [ "ReadWriteMany" ];
|
||||
accessModes = ["ReadWriteMany"];
|
||||
storageClassName = "";
|
||||
resources.requests.storage = "1Mi";
|
||||
volumeName = "music-syncthing";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue