diff --git a/rflood/Chart.yaml b/rflood/Chart.yaml index 83d2317..8db6ad9 100644 --- a/rflood/Chart.yaml +++ b/rflood/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: rflood description: rTorrent + Flood (hotio/rflood) Helm chart type: application -version: 0.1.2 +version: 0.1.3 appVersion: "release-0.16.9" annotations: version-source: ghcr-tags:hotio/rflood:^release-[0-9]+\.[0-9]+\.[0-9]+$ diff --git a/rflood/templates/deployment.yaml b/rflood/templates/deployment.yaml index 5d9e5ec..94be967 100644 --- a/rflood/templates/deployment.yaml +++ b/rflood/templates/deployment.yaml @@ -21,6 +21,18 @@ spec: labels: app: {{ .Release.Name }} spec: + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}" diff --git a/rflood/values.yaml b/rflood/values.yaml index ceb163c..2d5161b 100644 --- a/rflood/values.yaml +++ b/rflood/values.yaml @@ -33,6 +33,10 @@ volumes: data: hostPath: "" +nodeSelector: {} +tolerations: [] +affinity: {} + ingresses: {} # https: # host: rflood.example.com