瀏覽代碼

Introduces admin in gitea

Simon Kaiser 3 年之前
父節點
當前提交
881ca28ac9
共有 1 個檔案被更改,包括 7 行新增4 行删除
  1. 7
    4
      gitops-kaisers-info/templates/gitea.yaml

+ 7
- 4
gitops-kaisers-info/templates/gitea.yaml 查看文件

@@ -43,7 +43,10 @@ spec:
43 43
             port: 22
44 44
             clusterIP:
45 45
         
46
-        admin:
47
-          username: "simonkaiser"
48
-          password: "test"
49
-          email: "gi@tea.com"
46
+        gitea:
47
+          oauth:
48
+          - name: 'MyAwesomeGiteaOAuth'
49
+            provider: 'openidConnect'
50
+            key: 'hello'
51
+            secret: 'world'
52
+            autoDiscoverUrl: 'https://gitea.example.com/.well-known/openid-configuration'