change
This commit is contained in:
@@ -13,7 +13,7 @@ data:
|
|||||||
context: |
|
context: |
|
||||||
argocdUrl: https://argocd-dev.allarddcs.nl
|
argocdUrl: https://argocd-dev.allarddcs.nl
|
||||||
|
|
||||||
service.email.smtp: |
|
service.email: |
|
||||||
host: mail.allarddcs.nl
|
host: mail.allarddcs.nl
|
||||||
port: 587
|
port: 587
|
||||||
from: argocd@allarddcs.nl
|
from: argocd@allarddcs.nl
|
||||||
@@ -36,5 +36,6 @@ data:
|
|||||||
|
|
||||||
subscriptions: |
|
subscriptions: |
|
||||||
- recipients:
|
- recipients:
|
||||||
- admin@allarddcs.nl
|
- email:admin@allarddcs.nl
|
||||||
triggers:
|
triggers:
|
||||||
|
- on-sync-failed
|
||||||
|
|||||||
31
dev/argocd/pvc.yaml
Normal file
31
dev/argocd/pvc.yaml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: argo-cd-pv
|
||||||
|
labels:
|
||||||
|
type: local
|
||||||
|
spec:
|
||||||
|
storageClassName: ""
|
||||||
|
capacity:
|
||||||
|
storage: 1Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
nfs:
|
||||||
|
server: 192.168.2.110
|
||||||
|
path: /mnt/nfs_share/argo-cd/dev
|
||||||
|
readOnly: false
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: argo-cd-pvc
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
storageClassName: ""
|
||||||
|
volumeName: argo-cd-pv
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
volumeMode: Filesystem
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
@@ -27,10 +27,18 @@ ingress:
|
|||||||
jsonPointers:
|
jsonPointers:
|
||||||
- /metadata/annotations/argocd.argoproj.io~1tracking-id
|
- /metadata/annotations/argocd.argoproj.io~1tracking-id
|
||||||
|
|
||||||
|
applicationController:
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
existingClaim: argocd-pvc
|
||||||
|
|
||||||
server:
|
server:
|
||||||
tls:
|
tls:
|
||||||
enabled: true
|
enabled: true
|
||||||
secretName: argocd-tls-cert
|
secretName: argocd-tls-cert
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
existingClaim: argocd-pvc
|
||||||
|
|
||||||
repoServer:
|
repoServer:
|
||||||
extraArgs:
|
extraArgs:
|
||||||
@@ -48,26 +56,14 @@ repoServer:
|
|||||||
timeoutSeconds: 2
|
timeoutSeconds: 2
|
||||||
failureThreshold: 10
|
failureThreshold: 10
|
||||||
|
|
||||||
notifications:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
name: notifications-controller
|
existingClaim: argocd-pvc
|
||||||
# Context available in templates
|
|
||||||
context:
|
|
||||||
argocdUrl: "https://argocd-dev.allarddcs.nl"
|
|
||||||
|
|
||||||
# Secret for SMTP credentials
|
notifications:
|
||||||
secret:
|
|
||||||
create: true
|
|
||||||
name: argocd-notifications-secret
|
|
||||||
items:
|
|
||||||
email-username: "argocd@allarddcs.nl"
|
|
||||||
email-password: "Argocd01@"
|
|
||||||
|
|
||||||
# ConfigMap used by notifications-controller
|
notifiers:
|
||||||
cm:
|
service.email: |
|
||||||
create: false
|
|
||||||
extra:
|
|
||||||
service.email.smtp: |
|
|
||||||
host: mail.allarddcs.nl
|
host: mail.allarddcs.nl
|
||||||
port: 587
|
port: 587
|
||||||
from: argocd@allarddcs.nl
|
from: argocd@allarddcs.nl
|
||||||
@@ -75,7 +71,6 @@ notifications:
|
|||||||
password: Argocd01@
|
password: Argocd01@
|
||||||
starttls: true
|
starttls: true
|
||||||
|
|
||||||
# Templates
|
|
||||||
templates:
|
templates:
|
||||||
app-sync-failed: |
|
app-sync-failed: |
|
||||||
email:
|
email:
|
||||||
@@ -85,16 +80,18 @@ notifications:
|
|||||||
Error: {{.app.status.operationState.message}}
|
Error: {{.app.status.operationState.message}}
|
||||||
More details: {{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true
|
More details: {{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true
|
||||||
|
|
||||||
# Triggers
|
|
||||||
triggers:
|
triggers:
|
||||||
on-sync-failed: |
|
trigger.on-sync-failed: |
|
||||||
- description: Application syncing has failed
|
- description: Application syncing has failed
|
||||||
send: [app-sync-failed]
|
send:
|
||||||
|
- app-sync-failed
|
||||||
when: app.status.operationState != nil and app.status.operationState.phase in ['Error','Failed']
|
when: app.status.operationState != nil and app.status.operationState.phase in ['Error','Failed']
|
||||||
|
|
||||||
# Subscriptions
|
|
||||||
subscriptions:
|
subscriptions:
|
||||||
- recipients:
|
- recipients:
|
||||||
- admin@allarddcs.nl
|
- email:admin@allarddcs.nl
|
||||||
triggers:
|
triggers:
|
||||||
- on-sync-failed
|
- on-sync-failed
|
||||||
|
|
||||||
|
context:
|
||||||
|
argocdUrl: https://argocd-dev.allarddcs.nl
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ spec:
|
|||||||
- name: POSTGRES_PASSWORD
|
- name: POSTGRES_PASSWORD
|
||||||
value: defectdojo
|
value: defectdojo
|
||||||
- name: PGOPTIONS
|
- name: PGOPTIONS
|
||||||
value: "-c max_connections=200"
|
value: "-c max_connections=1000"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/lib/postgresql/data
|
- mountPath: /var/lib/postgresql/data
|
||||||
name: postgres
|
name: postgres
|
||||||
|
|||||||
Reference in New Issue
Block a user