Skip to content

Commit

Permalink
[#39] Add support for obligatory --server-path-prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Nov 12, 2021
1 parent 5a25a98 commit 7db3570
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions k8s/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ spec:
image: {{ .Values.deployment.image }}:v{{ .Chart.AppVersion }}-x86_64
ports:
- containerPort: 8000
command: ["--server-path-prefix", "{{ .Values.settings.secret_code }}", "--log-level", "{{ .Values.settings.log_level }}"]
volumeMounts:
- name: scripts
mountPath: /data/checks
Expand Down
2 changes: 2 additions & 0 deletions k8s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ settings:
refresh_time: "300" # interval between refreshing all checks
wait_time: "0" # time in seconds between two checks are running
check_timeout: "120" # timeout on every check
secret_code: "change-me-please"
log_level: "info"

ingress:
enabled: true
Expand Down

0 comments on commit 7db3570

Please sign in to comment.