Skip to content

BUG REPORT (helm-converter) : bad securityContext results #2391

Description

@ccaillet1974

Hi,

Issue: securityConext section on result's manifest of helm-converter is not equal to the one defined in helm values file

The securityContext in helm:

# -- Security context to be added to pod's containers
securityContext:
  enabled: true
  allowPrivilegeEscalation: false
  seccompProfile:
    type: RuntimeDefault
  capabilities:
    drop:
      - ALL
  readOnlyRootFilesystem: true
  runAsNonRoot: true
  runAsUser: 1000

The securityConext porduced by jhelm-converter:

securityContext:
  allowPrivilegeEscalation: false
  capabilities:
    drop:
    - ALL
  fsGroup: 2000
  readOnlyRootFilesystem: true

Metadata

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