Skip to content

Commit

Permalink
Merge pull request #200 from badal773/argo-cert-alert
Browse files Browse the repository at this point in the history
feat: Argo cert alert updated
  • Loading branch information
pawan-59 authored Oct 23, 2023
2 parents 52716ba + 43ad4ef commit 893b2fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion charts/argocd-certificate-refresh/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ apiVersion: v1
maintainers:
- email: [email protected]
name: Ajay

Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ spec:
- name: argocd-alert-container
image: {{ $.Values.alert.image }}
imagePullPolicy: IfNotPresent
command: ["./alert.sh"]
command: ["/bin/sh", "-c", "chmod +x alert.sh && ./alert.sh"]
env:
- name: discord_url
value: {{$.Values.alert.discord_url }}
value: {{$.Values.alert.discord_url | quote }}
- name: alert_before
value: {{$.Values.alert.alert_before }}
value: {{$.Values.alert.alert_before | quote}}
{{- if $.Values.containerSecurityContext }}
securityContext:
{{ toYaml $.Values.containerSecurityContext | indent 14 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/argocd-certificate-refresh/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cronjob:

#set up this If you need alert for argocd cert expire
alert:
enabled: true
enabled: false
image: quay.io/devtron/k8s-utils:3f8c7b04-489-16490
discord_url: " "
schedule: "59 23 * */6 *"
Expand Down

0 comments on commit 893b2fd

Please sign in to comment.