瀏覽代碼

Allow specifying git user in the configuration

Brendan Abolivier 6 年之前
父節點
當前提交
06b2b3f5d0
簽署人: Brendan Abolivier <contact@brendanabolivier.com> GPG 金鑰 ID: 8EF1500759F70623
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      config.example.yaml

+ 3
- 0
config.example.yaml 查看文件

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