Skip to content

Unknown field "spec.template.spec.containers[0].securityContext.fsGroup" #419

@chaich-pcs

Description

@chaich-pcs

While deploying Tyk Control Plane using a Helm Chart 3.0, I get a warning:

Unknown field "spec.template.spec.containers[0].securityContext.fsGroup"

I am deploying on Kubenetes version 1.32.8, which is a tested version
https://tyk.io/docs/developer-support/release-notes/helm-chart/

Checking the schema of Deployment object, it does not contain a field called "fsGroup" in "securityContext"

kubectl explain deployment.spec.template.spec.containers.securityContext

As I did not change any security context configuration regarding fsGroup, I looked at the values in the charts, it seems to have come from the configuration for Tyk Pump

    # containerSecurityContext values for bootstrap containers
    containerSecurityContext:
      runAsNonRoot: true
      runAsUser: 1000
      fsGroup: 1000
      allowPrivilegeEscalation: false
      privileged: false
      readOnlyRootFilesystem: true
      seccompProfile:
        type: RuntimeDefault
      capabilities:
        drop:
          - ALL
 

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