homelab/argocd/apps/gitea.yaml

49 lines
1.1 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gitea
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "0"
spec:
project: default
ignoreDifferences:
- group: ""
kind: PersistentVolumeClaim
name: gitea-shared-storage
jsonPointers:
- /spec/storageClassName
- /spec/volumeName
- /spec/resources
- /spec/volumeMode
- /metadata/labels
- group: apps
kind: StatefulSet
name: gitea-postgresql
jsonPointers:
- /spec/volumeClaimTemplates
- group: ""
kind: Secret
name: gitea-postgresql
jsonPointers:
- /data
sources:
- repoURL: https://dl.gitea.com/charts/
chart: gitea
targetRevision: 12.5.0
helm:
valueFiles:
- $values/values/gitea.yaml
- repoURL: https://gitea.nik4nao.com/nik/homelab.git
targetRevision: main
ref: values
destination:
server: https://kubernetes.default.svc
namespace: gitea
syncPolicy:
automated:
prune: false
selfHeal: true
syncOptions:
- CreateNamespace=true
- RespectIgnoreDifferences=true