feat: convert jenkins to Helm chart (helm/jenkins/) #6
28
helm/jenkins/argocd-application.yaml
Normal file
28
helm/jenkins/argocd-application.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: jenkins
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: http://gitea-http.gitea.svc.cluster.local:3000/admin/k3s-gitops
|
||||||
|
path: helm/jenkins # Helm chart directory
|
||||||
|
targetRevision: HEAD
|
||||||
|
helm:
|
||||||
|
valueFiles:
|
||||||
|
- values.yaml # default values
|
||||||
|
# To override per-environment add values here:
|
||||||
|
# values: |
|
||||||
|
# replicaCount: 2
|
||||||
|
# persistence:
|
||||||
|
# size: 50Gi
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: jenkins
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
Reference in New Issue
Block a user