-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.
Description
Add volumeMounts and volumes for createSecretJob and patchWebhookJob
In the job-createSecret.yaml and job-patchWebhook.yaml, there's an option to set the automountServiceAccountToken
pointing to .Values.controller.admissionWebhooks.patch.serviceAccount.automountServiceAccountToken
in the values.yaml
file.
However, if we set the automountServiceAccountToken
to false
, the jobs will start to fail. By default it's true. Adding volumes
and volumeMounts
should help resolve this. In some cases, setting automountServiceAccountToken
to false
is required to fix some violations in Microsoft Azure Defender for cloud.
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.
Type
Projects
Status
No status