Argo Workflows · Schema
io.k8s.api.core.v1.FileKeySelector
FileKeySelector selects a key of the env file.
CNCFContainersData ProcessingKubernetesMachine-LearningOpen-SourceWorkflow Engine
Properties
| Name | Type | Description |
|---|---|---|
| key | string | The key within the env file. An invalid key will prevent the pod from starting. The keys defined within a source may consist of any printable ASCII characters except '='. During Alpha stage of the Env |
| optional | boolean | Specify whether the file or its key must be defined. If the file or key does not exist, then the env var is not published. If optional is set to true and the specified key does not exist, the environm |
| path | string | The path within the volume from which to select the file. Must be relative and may not contain the '..' path or start with '..'. |
| volumeName | string | The name of the volume mount containing the env file. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-schema/argo-workflows-io-k8s-api-core-v1-file-key-selector-schema.json",
"title": "io.k8s.api.core.v1.FileKeySelector",
"description": "FileKeySelector selects a key of the env file.",
"type": "object",
"properties": {
"key": {
"description": "The key within the env file. An invalid key will prevent the pod from starting. The keys defined within a source may consist of any printable ASCII characters except '='. During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.",
"type": "string"
},
"optional": {
"description": "Specify whether the file or its key must be defined. If the file or key does not exist, then the env var is not published. If optional is set to true and the specified key does not exist, the environment variable will not be set in the Pod's containers.\n\nIf optional is set to false and the specified key does not exist, an error will be returned during Pod creation.",
"type": "boolean"
},
"path": {
"description": "The path within the volume from which to select the file. Must be relative and may not contain the '..' path or start with '..'.",
"type": "string"
},
"volumeName": {
"description": "The name of the volume mount containing the env file.",
"type": "string"
}
},
"required": [
"volumeName",
"path",
"key"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/argo-workflows-io-k8s-api-core-v1-file-key-selector"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.