Skip to content

Update the template to support extraVolumes & extraVolumeMounts field for AdmissionWebhooks Job Manifest #13031

Open
@Pravin-Kumar-GitHub

Description

@Pravin-Kumar-GitHub

We were trying to disable the AutoMountServiceAccountToken for the Admissions Webhook Create Secret and Patch Webhook jobs. However, when we set AMT to False, the job fails unless we set the ExtraVol and ExtraVolMounts. However, it seems that the two attributes are not included within the templates.

Current Kubernetes version which we're using is 1.30.9

https://github.com/kubernetes/ingress-nginx/blob/main/charts/ingress-nginx/templates/admission-webhooks/job-patch/job-createSecret.yaml

https://github.com/kubernetes/ingress-nginx/blob/main/charts/ingress-nginx/templates/admission-webhooks/job-patch/job-patchWebhook.yaml

Is there a way to include extraVolume & extraVolumeMounts in the template for future helm versions? Is there an alternative method to resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions