ソースを参照

Longhorn config for gitea

Simon Kaiser 3 年 前
コミット
2feebf1c80
共有2 個のファイルを変更した6 個の追加0 個の削除を含む
  1. 3
    0
      gitops-kaisers-info/templates/gitea.yaml
  2. 3
    0
      longhorn-kaisers-info/templates/longhorn.yaml

+ 3
- 0
gitops-kaisers-info/templates/gitea.yaml ファイルの表示

@@ -38,6 +38,9 @@ spec:
38 38
               hosts:
39 39
                 - "newgit.kaisers.info"
40 40
 
41
+        persistence:
42
+          storageClass: longhorn
43
+
41 44
         service:
42 45
           http:
43 46
             type: "ClusterIP"

+ 3
- 0
longhorn-kaisers-info/templates/longhorn.yaml ファイルの表示

@@ -21,6 +21,9 @@ spec:
21 21
     helm:
22 22
       releaseName: "longhorn"
23 23
       values: |
24
+        defaultSettings:
25
+          defaultSettings.defaultDataPath: /opt/longhorn
26
+          
24 27
         ingress:
25 28
           ## Set to true to enable ingress record generation
26 29
           enabled: true