Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Filebeat: failed validation with Helm 2.14 / kubernet 1.14

Closed

Description

Chart version:
7.0.1-alpha1

Kubernetes version:
1.14.1

Kubernetes provider: E.g. GKE (Google Kubernetes Engine)
DigitalOcean

Helm Version:
2.14.0

Helm rejects the install with:

Error: validation failed: error validating "": error validating data: 
ValidationError(DaemonSet.spec.template.spec.containers[0].securityContext):
unknown field "fsGroup" in io.k8s.api.core.v1.SecurityContext

My understanding is that the podSecurityContext should be only set in spec.securityContext, not in spec.containers[].securityContext like it is here:
https://github.com/elastic/helm-charts/blob/master/filebeat/templates/daemonset.yaml#L108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions