Compare commits
2 commits
7473a0ced2
...
c10f23da58
Author | SHA1 | Date | |
---|---|---|---|
c10f23da58 | |||
37c7cd4046 |
2 changed files with 21 additions and 0 deletions
|
@ -8,6 +8,7 @@ steps:
|
||||||
- git clone https://git.ar21.de/yolokube/fail2ban-prometheus-exporter.git .
|
- git clone https://git.ar21.de/yolokube/fail2ban-prometheus-exporter.git .
|
||||||
- cd /deployment-repo
|
- cd /deployment-repo
|
||||||
- git clone https://git.ar21.de/yolokube/fail2ban-exporter-deployment.git .
|
- git clone https://git.ar21.de/yolokube/fail2ban-exporter-deployment.git .
|
||||||
|
- rm -r /deployment-repo/deploy/* || true
|
||||||
- cp -rv /source-repo/deploy /deployment-repo/base
|
- cp -rv /source-repo/deploy /deployment-repo/base
|
||||||
- mkdir -p /deployment-repo/deploy
|
- mkdir -p /deployment-repo/deploy
|
||||||
- kustomize build -o /deployment-repo/deploy/fail2ban-exporter.yaml
|
- kustomize build -o /deployment-repo/deploy/fail2ban-exporter.yaml
|
||||||
|
|
20
fail2ban-exporter-argo-application.yaml
Normal file
20
fail2ban-exporter-argo-application.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: fail2ban-prometheus
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://git.ar21.de/yolokube/fail2ban-exporter-deployment.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
path: deploy
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: fail2ban-prometheus
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
automated:
|
||||||
|
selfHeal: false
|
||||||
|
prune: true
|
Reference in a new issue