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

Feature: extraVolumes for ui-component of chart #580

Merged
merged 9 commits into from
Nov 17, 2024
6 changes: 6 additions & 0 deletions charts/policy-reporter/templates/ui/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ spec:
readOnly: true
- name: tmp
mountPath: /tmp
{{- with .Values.ui.extraVolumes.volumeMounts }}
{{ toYaml . | nindent 10 | trim }}
{{- end }}
env:
- name: POD_NAMESPACE
valueFrom:
Expand All @@ -98,6 +101,9 @@ spec:
optional: true
- name: tmp
emptyDir: {}
{{- with .Values.ui.extraVolumes.volumes }}
{{ toYaml . | nindent 6 | trim }}
{{- end }}
{{- with .Values.ui.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
7 changes: 7 additions & 0 deletions charts/policy-reporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,13 @@ ui:
# -- Affinity constraints.
affinity: {}

extraVolumes:
# -- Deployment volumeMounts
volumeMounts: []

# -- Deployment values
volumes: []

plugin:
kyverno:
# -- (bool) Enable Kyverno Plugin
Expand Down
Loading