Skip to content

Commit

Permalink
argo-cd: update dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
krankkkk committed Jul 25, 2024
1 parent 4587abd commit 2973d65
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
1 change: 0 additions & 1 deletion charts/argocd/templates/kyverno/policy-exception.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ spec:
namespaces:
- {{ $.Release.Namespace }}
names:

- argocd-repo-server*
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/argocd/templates/projects/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ spec:
destinations:
- namespace: '*'
server: 'https://kubernetes.default.svc'
syncWindows:
{{- range $syncWindow := default $.Values.global.syncWindow $project.syncWindow }}
- {{ (tpl (toYaml $syncWindow) $) | nindent 6 -}}
{{ end }}
clusterResourceWhitelist:
- group: '*'
kind: '*'
Expand Down
19 changes: 17 additions & 2 deletions charts/argocd/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
global:
syncWindow:
- kind: allow
schedule: '* * * * *'
manualSync: true
duration: 24h

argo-cd:
fullnameOverride: "argocd"

Expand Down Expand Up @@ -108,9 +115,9 @@ argo-cd:

# -- List of projects which you want to bootstrap
projects:
## bootstraps infrastructure related charts like traefik, elastic-stack...
# # bootstraps infrastructure related charts like traefik, elastic-stack...
# infrastructure-charts:
## values which are handed over to the infrastructure-charts project like this you can for example give over information from terraform to argocd
# # values which are handed over to the infrastructure-charts project like this you can for example give over information from terraform to argocd
# projectValues:
# # Set this to enable stage values.yaml
# stage:
Expand Down Expand Up @@ -140,6 +147,14 @@ projects:
#
# # defaults to *
# allowedUrls:
#
# syncWindow:
# - kind: deny
# schedule: '0 0 * * *'
# duration: 23h
# - kind: allow
# schedule: '0 23 * * *'
# duration: 1h

# Kyverno Policy Exception
policyException:
Expand Down

0 comments on commit 2973d65

Please sign in to comment.