Skip to content

Commit

Permalink
Merge branch 'master' into chore-admission-controller-update-v3.9.35
Browse files Browse the repository at this point in the history
  • Loading branch information
tembleking authored Nov 6, 2023
2 parents 2bcadda + 6126c1d commit a9333f4
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 6 deletions.
3 changes: 3 additions & 0 deletions charts/registry-scanner/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Manual edits are supported only below '## Change Log' and should be used
exclusively to fix incorrect entries and not to add new ones.

## Change Log
# v1.1.17
### New Features
* **registry-scanner** [022c547f](https://github.com/sysdiglabs/charts/commit/022c547f0a871a22e2e7035745765189edc5697f): Add flag to enable mem profile dumps on a PVC ([#1455](https://github.com/sysdiglabs/charts/issues/1455))
# v1.1.16
### Chores
* **registry-scanner** [8c684a6c](https://github.com/sysdiglabs/charts/commit/8c684a6ce2188f73bc99b70c583961f5b4936b39): Update to v0.2.54 ([#1433](https://github.com/sysdiglabs/charts/issues/1433))
Expand Down
4 changes: 2 additions & 2 deletions charts/registry-scanner/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: Sysdig Registry Scanner
type: application
home: https://sysdiglabs.github.io/registry-scanner/
icon: https://478h5m1yrfsa3bbe262u7muv-wpengine.netdna-ssl.com/wp-content/uploads/2019/02/Shovel_600px.png
version: 1.1.16
appVersion: 0.2.54
version: 1.1.17
appVersion: 0.2.56
maintainers:
- name: giuse-sysdig
email: [email protected]
Expand Down
3 changes: 2 additions & 1 deletion charts/registry-scanner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ The following table lists the configurable parameters of the Sysdig Registry Sca
| scanOnStart.jobName | The name of the job created for the post-install scanner job | <code>"registry-scanner-start-test"</code> |
| scanOnStart.asPostInstallHook | Specify whether to launch the job as a post-install helm hook. <br/>Used for testing purpose. | <code>false</code> |
| extraEnvVars | The additional environment variables to be set. | <code>[]</code> |
| memProfileToPersistentVolumeClaim | Write memory profile dumps to Persistent Volume Claim (provide PVC name) | <code>""</code> |

## On-Prem Deployment

Expand All @@ -126,7 +127,7 @@ Use the following command to deploy:
helm upgrade --install registry-scanner \
--namespace sysdig-agent \
--create-namespace \
--version=1.1.16 \
--version=1.1.17 \
--set config.secureBaseURL=<SYSDIG_SECURE_URL> \
--set config.secureAPIToken=<SYSDIG_SECURE_API_TOKEN> \
--set config.secureSkipTLS=true \
Expand Down
6 changes: 3 additions & 3 deletions charts/registry-scanner/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# What's Changed

### Chores
- **registry-scanner** [8c684a6c](https://github.com/sysdiglabs/charts/commit/8c684a6ce2188f73bc99b70c583961f5b4936b39): Update to v0.2.54 ([#1433](https://github.com/sysdiglabs/charts/issues/1433))
#### Full diff: https://github.com/sysdiglabs/charts/compare/registry-scanner-1.1.15...registry-scanner-1.1.16
### New Features
- **registry-scanner** [022c547f](https://github.com/sysdiglabs/charts/commit/022c547f0a871a22e2e7035745765189edc5697f): Add flag to enable mem profile dumps on a PVC ([#1455](https://github.com/sysdiglabs/charts/issues/1455))
#### Full diff: https://github.com/sysdiglabs/charts/compare/registry-scanner-1.1.16...registry-scanner-1.1.17
13 changes: 13 additions & 0 deletions charts/registry-scanner/templates/_job.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
- name: report-storage
mountPath: "/output"
{{- end }}
{{- if .Values.memProfileToPersistentVolumeClaim }}
- name: profile-storage
mountPath: "/profiling"
{{- end }}
{{- if .Values.ssl.ca.certs }}
- name: ca-certs
mountPath: "/ca-certs"
Expand Down Expand Up @@ -120,6 +124,10 @@
- name: GROUP_LIMIT
value: "{{ .Values.config.parallelGoRoutines }}"
{{- end }}
{{- if .Values.memProfileToPersistentVolumeClaim }}
- name: PROFILING_ENABLED
value: /profiling
{{- end }}
{{- if .Values.extraEnvVars }}
{{- toYaml .Values.extraEnvVars | nindent 10 }}
{{- end }}
Expand Down Expand Up @@ -154,4 +162,9 @@
persistentVolumeClaim:
claimName: {{ .Values.reportToPersistentVolumeClaim }}
{{- end }}
{{- if .Values.memProfileToPersistentVolumeClaim }}
- name: profile-storage
persistentVolumeClaim:
claimName: {{ .Values.memProfileToPersistentVolumeClaim }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/registry-scanner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,6 @@ scanOnStart:
extraEnvVars: []
# - name: FOO
# value: bar

# Write memory profile dumps to Persistent Volume Claim (provide PVC name)
memProfileToPersistentVolumeClaim: ""

0 comments on commit a9333f4

Please sign in to comment.