feat: add admin secret
This commit is contained in:
@@ -4,6 +4,14 @@ kind: Namespace
|
|||||||
metadata:
|
metadata:
|
||||||
name: gitea
|
name: gitea
|
||||||
---
|
---
|
||||||
|
apiVersion: onepassword.com/v1
|
||||||
|
kind: OnePasswordItem
|
||||||
|
metadata:
|
||||||
|
name: gitea-admin-password
|
||||||
|
namespace: gitea
|
||||||
|
spec:
|
||||||
|
itemPath: "vaults/cluster/items/gitea-admin-password"
|
||||||
|
---
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
metadata:
|
metadata:
|
||||||
@@ -75,6 +83,8 @@ spec:
|
|||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
gitea:
|
gitea:
|
||||||
|
admin:
|
||||||
|
existingSecret: gitea-admin-password
|
||||||
config:
|
config:
|
||||||
database:
|
database:
|
||||||
DB_TYPE: postgres
|
DB_TYPE: postgres
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- ../base/podinfo.yaml
|
- ../base/podinfo.yaml
|
||||||
- ../base/harbor.yaml
|
- ../base/harbor.yaml
|
||||||
# - ../base/gitea.yaml
|
- ../base/gitea.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user