Sfoglia il codice sorgente

Allow specifying git user in the configuration

Brendan Abolivier 6 anni fa
parent
commit
06b2b3f5d0
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      config.example.yaml

+ 3
- 0
config.example.yaml Vedi File

@@ -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