1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-14 11:57:32 +00:00

Feature: extraVolumes for ui-component of chart (#580)

* 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>
This commit is contained in:
Vidar Normann 2024-11-17 10:25:24 +01:00 committed by GitHub
parent e63046a1d2
commit 66e5767ee2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View file

@ -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:
@ -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 }}

View file

@ -1121,6 +1121,13 @@ ui:
# -- Affinity constraints.
affinity: {}
extraVolumes:
# -- Deployment volumeMounts
volumeMounts: []
# -- Deployment values
volumes: []
plugin:
kyverno:
# -- (bool) Enable Kyverno Plugin