Skip to content

release: Added healthPort for Image-Scanner #289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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