71 lines
1.5 KiB
YAML
71 lines
1.5 KiB
YAML
|
---
|
||
|
apiVersion: argoproj.io/v1alpha1
|
||
|
kind: Application
|
||
|
metadata:
|
||
|
name: k8s-deployments-self
|
||
|
namespace: argocd
|
||
|
spec:
|
||
|
project: default
|
||
|
source:
|
||
|
repoURL: https://git.ar21.de/aaron/k8s-deployments.git
|
||
|
targetRevision: HEAD
|
||
|
path: "app-files"
|
||
|
destination:
|
||
|
server: https://kubernetes.default.svc
|
||
|
namespace: argocd
|
||
|
syncPolicy:
|
||
|
automated:
|
||
|
prune: false
|
||
|
---
|
||
|
apiVersion: argoproj.io/v1alpha1
|
||
|
kind: Application
|
||
|
metadata:
|
||
|
name: argocd-ingress
|
||
|
namespace: argocd
|
||
|
spec:
|
||
|
project: default
|
||
|
source:
|
||
|
repoURL: https://git.ar21.de/aaron/k8s-deployments.git
|
||
|
targetRevision: HEAD
|
||
|
path: argocd
|
||
|
destination:
|
||
|
server: https://kubernetes.default.svc
|
||
|
namespace: argocd
|
||
|
syncPolicy:
|
||
|
syncOptions:
|
||
|
- CreateNamespace=true
|
||
|
automated:
|
||
|
prune: true
|
||
|
---
|
||
|
apiVersion: argoproj.io/v1alpha1
|
||
|
kind: Application
|
||
|
metadata:
|
||
|
name: drone-runner
|
||
|
namespace: argocd
|
||
|
spec:
|
||
|
project: default
|
||
|
source:
|
||
|
- chart: drone/drone-runner-kube
|
||
|
repoURL: https://charts.drone.io
|
||
|
targetRevision: 0.1.10
|
||
|
helm:
|
||
|
releaseName: drone-runner
|
||
|
values: |
|
||
|
extraSecretNamesForEnvFrom:
|
||
|
- drone-secrets
|
||
|
rbac:
|
||
|
buildNamespaces:
|
||
|
- drone
|
||
|
env:
|
||
|
DRONE_RPC_HOST: https://drone.ar21.de
|
||
|
DRONE_RPC_PROTO: https
|
||
|
DRONE_NAMESPACE_DEFAULT: drone
|
||
|
destination:
|
||
|
server: https://kubernetes.default.svc
|
||
|
namespace: drone
|
||
|
syncPolicy:
|
||
|
syncOptions:
|
||
|
- CreateNamespace=true
|
||
|
automated:
|
||
|
prune: false
|