Ver código fonte

Allow specifying git user in the configuration

Brendan Abolivier 6 anos atrás
pai
commit
06b2b3f5d0
Assinado por: Brendan Abolivier <contact@brendanabolivier.com> ID da chave GPG: 8EF1500759F70623
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3
    0
      config.example.yaml

+ 3
- 0
config.example.yaml Ver arquivo

@@ -12,6 +12,9 @@ git:
12 12
     # SSH URL to the repository. The user part (usually "git@" at the beginning
13 13
     # of the URL) must be excluded.
14 14
     url: "git.company.tld:it/grafana-dashboards.git"
15
+    # SSH user that can pull and push from and to the git repository. Usually
16
+    # it's just "git".
17
+    user: git
15 18
     # Path to the private key used to authenticate on Git. It is recommended to
16 19
     # use a passphraseless key.
17 20
     private_key: /etc/grafana-dashboard-manager/id_rsa_nopasswd