Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/argocd-apps/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-apps
description: Chart to deploy WBaaS apps in an "app-of-apps" pattern via ArgoCD
type: application
version: 2.1.0
version: 2.2.0
appVersion: "1.0"
maintainers:
- name: WBstack
Expand Down
26 changes: 26 additions & 0 deletions charts/argocd-apps/templates/trivy-operator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{{ if eq .Values.environment "staging" -}}
Comment thread
ranyardm-wmde marked this conversation as resolved.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: trivy-operator
namespace: argocd
spec:
destination:
namespace: trivy-system
server: {{ .Values.clusterUrl }}
project: {{ .Values.environment }}
source:
repoURL: oci://ghcr.io/aquasecurity/helm-charts/trivy-operator
targetRevision: {{ .Values.chartVersions.trivyOperator }}
chart: trivy-operator
helm:
valuesObject:
operator:
namespace: trivy-system
scanJobTimeout: 60m
syncPolicy:
automated:
# disable self-healing for local env so we can use skaffold
selfHeal: {{- if eq .Values.environment "local" }} false {{ else }} true {{ end }}
prune: false
{{- end }}
1 change: 1 addition & 0 deletions charts/argocd-apps/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ environment: production
chartVersions:
wbaasUi: 0.4.0
wbaasApi: 0.32.1
trivyOperator: 0.32.1
# "inherits" values from argocd-config chart
2 changes: 1 addition & 1 deletion charts/argocd-config/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-config
description: Chart to deploy ArgoCD configuration (including the argocd-apps chart)
type: application
version: 2.1.2
version: 2.1.3
appVersion: "1.0"
maintainers:
- name: WBstack
Expand Down
1 change: 1 addition & 0 deletions charts/argocd-config/templates/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
sourceRepos:
- {{ .Values.repoUrls.deploy }}
- {{ .Values.repoUrls.wbstack }}
{{- .Values.repoUrls.other | toYaml | nindent 2 }}
clusterResourceWhitelist:
- group: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down
2 changes: 2 additions & 0 deletions charts/argocd-config/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ appOfAppsVersion: 2.1.0
repoUrls:
deploy: https://github.com/wmde/wbaas-deploy
wbstack: https://wbstack.github.io/charts
other:
- oci://ghcr.io/aquasecurity/helm-charts/trivy-operator
Loading