---
name: containers-ts-pod-security-reset
title: Why do I get an error that my PodSecurityConfiguration is not valid?
description: When you use the `ibmcloud ks cluster master pod-security set` command with the `--config-file` option, you see an error similar to the following example.
last-updated: 2026-05-06
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/containers?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Why do I get an error that my PodSecurityConfiguration is not valid?
{: #ts-pod-security-reset}
{: support}


When you use the `ibmcloud ks cluster master pod-security set` command with the `--config-file` option, you see an error similar to the following example.
{: tsSymptoms}

```sh
The 'configuration' field is not a valid Kubernetes PodSecurityConfiguration setting. See 'http://ibm.biz/iks-psa-config' for more information.
```
{: screen}


There is a problem with the pod security configuration file. The content of this file is described in [Pod Security Admission plug-in configuration](https://cloud.ibm.com/docs/containers?topic=containers-pod-security-admission&format=markdown).
{: tsCauses}

Types of errors can include:
- YAML formatting errors such as indentation or using tab characters instead of spaces for indentation.
- The `apiVersion` or `kind` fields are missing or have incorrect values.
- A field name is not spelled correctly.
- A field has an incorrect value.

Check the configuration file for these kinds of errors. Correct any errors you find and try the command again.
{: tsResolve}