Skip to content

Commit

Permalink
Feature: extraVolumes for ui-component of chart (#580)
Browse files Browse the repository at this point in the history
* automountServiceAccountToken should use value specified in Helm chart

Signed-off-by: Vidar Anima Normann <vidar-anima.normann@soprasteria.com>

* Fix typo in documentation maount->mount

Signed-off-by: Vidar Anima Normann <vidar-anima.normann@soprasteria.com>

* Add automountServiceAccountToken that matches Values in deployments for ui, kyverno-plugin and trivy-plugin

Signed-off-by: Vidar Anima Normann <vidar-anima.normann@soprasteria.com>

* Correct improper reference to automount-attribute for kyverno and trivy plugins

Signed-off-by: Vidar Anima Normann <vidar-anima.normann@soprasteria.com>

* feat(http): Support Proxy ENV values for HTTP Clients (#569)

* feat(http): Support Proxy ENV values for HTTP Clients

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>

* chore(actions): Update Trivy DB repository

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>

---------

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>

* release-3.0.0-rc.9 (#571)

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>

* Add support for extraVolumes for ui in values.yaml

Signed-off-by: Vidar Anima Normann <vidar-anima.normann@soprasteria.com>

* Use extraVolumes values in ui-deployment

Signed-off-by: Vidar Anima Normann <vidar-anima.normann@soprasteria.com>

---------

Signed-off-by: Vidar Anima Normann <vidar-anima.normann@soprasteria.com>
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
Co-authored-by: Vidar Anima Normann <vidar-anima.normann@soprasteria.com>
Co-authored-by: Frank Jogeleit <frank.jogeleit@web.de>
  • Loading branch information
3 people authored Nov 17, 2024
1 parent e63046a commit 66e5767
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
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

0 comments on commit 66e5767

Please sign in to comment.