Skip to content

Commit

Permalink
fix: subpath for files (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon authored Jan 3, 2024
1 parent aaf6117 commit c36efec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/aergia/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ kubeVersion: ">= 1.23.0-0"

type: application

version: 0.5.2
version: 0.5.3

appVersion: v0.3.2

Expand Down
7 changes: 7 additions & 0 deletions charts/aergia/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,37 +106,44 @@ spec:
{{- if .Values.unidling.ipAllowList}}
- name: {{ include "aergia.fullname" . }}-allowedips
mountPath: "/lists/allowedips"
subPath: "allowedips"
readOnly: true
{{- end}}
{{- if .Values.unidling.ipBlockList}}
- name: {{ include "aergia.fullname" . }}-blockedips
mountPath: "/lists/blockedips"
subPath: "blockedips"
readOnly: true
{{- end}}
{{- if .Values.unidling.agentAllowList}}
- name: {{ include "aergia.fullname" . }}-allowedagents
mountPath: "/lists/allowedagents"
subPath: "allowedagents"
readOnly: true
{{- end}}
{{- if .Values.unidling.agentBlockList}}
- name: {{ include "aergia.fullname" . }}-blockedagents
mountPath: "/lists/blockedagents"
subPath: "blockedagents"
readOnly: true
{{- end}}
{{- if .Values.templates.enabled}}
{{- if .Values.templates.error}}
- name: {{ include "aergia.fullname" . }}-error
mountPath: "/templates/error.html"
subPath: "error.html"
readOnly: true
{{- end}}
{{- if .Values.templates.forced}}
- name: {{ include "aergia.fullname" . }}-forced
mountPath: "/templates/forced.html"
subPath: "forced.html"
readOnly: true
{{- end}}
{{- if .Values.templates.unidle}}
- name: {{ include "aergia.fullname" . }}-unidle
mountPath: "/templates/unidle.html"
subPath: "unidle.html"
readOnly: true
{{- end}}
{{- end}}
Expand Down

0 comments on commit c36efec

Please sign in to comment.