Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: subpath for files #52

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading