Skip to content

Commit

Permalink
feat: add reloader
Browse files Browse the repository at this point in the history
  • Loading branch information
naviat committed Apr 19, 2024
1 parent 247fd22 commit 4578eb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/iptoolkits/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "iptoolkits.fullname" . }}
labels:
{{- include "iptoolkits.labels" . | nindent 4 }}
{{- if .Values.reloader.enabled }}
annotations:
reloader.stakater.com/auto: "true"
{{- end }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
Expand Down
3 changes: 3 additions & 0 deletions apps/iptoolkits/values/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,6 @@ config:
KUBERNETES: "true"
PORT: "3000"
#MONGO_URI: "mongodb://mongodb:27017/iptoolkits?authSource=admin"

reloader:
enabled: true

0 comments on commit 4578eb8

Please sign in to comment.