Skip to content

Commit

Permalink
Upgrade logzio-trivy chart to v0.3.5 (#545)
Browse files Browse the repository at this point in the history
- Added `affinity` ,`nodeSelector` and `tolerations` to the deployment.
  • Loading branch information
ralongit authored Oct 15, 2024
1 parent f2f9a4b commit 609c345
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/logzio-trivy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords:
- logging
- trivy
- security
version: 0.3.4
version: 0.3.5
appVersion: 0.2.3
sources:
- https://github.com/logzio/logzio-helm
Expand Down
2 changes: 2 additions & 0 deletions charts/logzio-trivy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ In these cases we can use the following `--set` command to use an alternative im


## Changelog
- **0.3.5**
- Added `affinity` ,`nodeSelector` and `tolerations` to the deployment.
- **0.3.4**
- Bump Trivy-Operator version to `0.24.1`.
- **0.3.3**:
Expand Down
14 changes: 13 additions & 1 deletion charts/logzio-trivy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,16 @@ spec:
value: {{ .Values.schedule }}
- name: LOG_LEVEL
value: {{ .Values.scriptLogLevel }}
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 2 }}
{{- end }}
6 changes: 5 additions & 1 deletion charts/logzio-trivy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,8 @@ secrets:
logzioListener: ""

# Log level of the script that sends security risk to Logz.io. Can be one of: DEBUG, INFO, WARNING, ERROR, CRITICAL.
scriptLogLevel: INFO
scriptLogLevel: INFO

affinity: {}
toleations: {}
nodeSelector: {}

0 comments on commit 609c345

Please sign in to comment.