Browse Source

Allow specifying git user in the configuration

Brendan Abolivier 7 years ago
parent
commit
06b2b3f5d0
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      config.example.yaml

+ 3
- 0
config.example.yaml View File

12
     # SSH URL to the repository. The user part (usually "git@" at the beginning
12
     # SSH URL to the repository. The user part (usually "git@" at the beginning
13
     # of the URL) must be excluded.
13
     # of the URL) must be excluded.
14
     url: "git.company.tld:it/grafana-dashboards.git"
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
     # Path to the private key used to authenticate on Git. It is recommended to
18
     # Path to the private key used to authenticate on Git. It is recommended to
16
     # use a passphraseless key.
19
     # use a passphraseless key.
17
     private_key: /etc/grafana-dashboard-manager/id_rsa_nopasswd
20
     private_key: /etc/grafana-dashboard-manager/id_rsa_nopasswd