Skip to content

Commit

Permalink
Merge pull request #141 from akash4sh/main
Browse files Browse the repository at this point in the history
config:Added scheduling-interval ENV
  • Loading branch information
jebinjeb authored Aug 3, 2023
2 parents 5553a7e + 760a850 commit f2a8d9a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.6
version: 0.2.7

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ spec:
value: {{ .Values.nats.auth.token }}
- name: NATS_ADDRESS
value: {{ .Values.nats.host }}
- name: SCHEDULING_INTERVAL
value: {{ .Values.schedulingInterval }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.git_bridge.enabled }}
Expand Down
2 changes: 2 additions & 0 deletions charts/agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ tolerations: []

affinity: {}

schedulingInterval: "24h"

clusterName: "kubviz"
nats:
host: kubviz-client-nats
Expand Down

0 comments on commit f2a8d9a

Please sign in to comment.