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
4 changes: 2 additions & 2 deletions charts/security/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ maintainers:
email: [email protected]
sources:
- https://github.com/devtron-labs/charts
version: 0.1.9
appVersion: "0.1.1"
version: 0.2.0
appVersion: "0.2.0"
dependencies:
- name: clair
version: "0.x.x"
Expand Down
20 changes: 20 additions & 0 deletions charts/security/templates/image-scanner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,26 @@ spec:
- name: app
containerPort: 8080
protocol: TCP
livenessProbe:
failureThreshold: 3
httpGet:
path: /health
port: {{ $.Values.imageScanner.healthPort }}
scheme: HTTP
initialDelaySeconds: 20
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
readinessProbe:
failureThreshold: 3
httpGet:
path: /health
port: {{ $.Values.imageScanner.healthPort }}
scheme: HTTP
initialDelaySeconds: 20
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
env:
- name: DEVTRON_APP_NAME
value: image-scanner
Expand Down
1 change: 1 addition & 0 deletions charts/security/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ global:
# imagePullSecrets:
# - name: yoursecret
imageScanner:
healthPort: 8080
configs:
CLAIR_ADDR: clair.devtroncd:6060
CLIENT_ID: client-2
Expand Down
Loading