Skip to content

Commit

Permalink
[registry-scanner] feat: Enable scan support for Artifactory registri…
Browse files Browse the repository at this point in the history
  • Loading branch information
mmdiago authored May 19, 2021
1 parent ccaba8a commit 04182ac
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions charts/registry-scanner/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
This file documents all notable changes to Sysdig Registry Scanner. The release
numbering uses [semantic versioning](http://semver.org).

## v0.0.8

### Minor changes

* New option `config.registryApiUrl` to define the Artifactory docker API as it is exposed at a different endpoint

## v0.0.7

### Minor changes
Expand Down
2 changes: 1 addition & 1 deletion charts/registry-scanner/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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: 0.0.7
version: 0.0.8
appVersion: 0.0.1
maintainers:
- name: airadier
Expand Down
1 change: 1 addition & 0 deletions charts/registry-scanner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The following table lists the configurable parameters of the Sysdig Registry Sca
| `cronjob.successfulJobsHistoryLimit` | Number of successful job history to keep on the cluster | `2` |
| `cronjob.restartPolicy` | Restart policy for a failed registry-scan execution | `Never` |
| `config.registryURL` | URL of the registry to scan | `http://my-docker-registry.com` |
| `config.registryApiUrl` | API URL of the registry to scan. This is required if your registry type is Artifactory | |
| `config.registryUser` | Username for registry authentication | ` ` |
| `config.registryPassword` | Password for registry authentication | ` ` |
| `config.registrySkipTLS` | Ignore registry TLS certificate errors (self-signed, etc.) | `false` |
Expand Down
3 changes: 3 additions & 0 deletions charts/registry-scanner/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ data:
user: from-secret
pass: from-secret
skipTLS: {{ .Values.config.registrySkipTLS }}
{{- if .Values.config.registryApiUrl }}
api: {{ .Values.config.registryApiUrl }}
{{- end }}
secure:
baseUrl: {{ default "https://secure.sysdig.com" .Values.config.secureBaseURL }}
Expand Down
1 change: 1 addition & 0 deletions charts/registry-scanner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ cronjob:

config:
registryURL: http://my-docker-registry.com
registryApiUrl:
registryUser:
registryPassword:
registrySkipTLS: false
Expand Down

0 comments on commit 04182ac

Please sign in to comment.