Argo Workflows · JSON Structure

Argo Workflows Io K8S Api Core V1 File Key Selector Structure

FileKeySelector selects a key of the env file.

Type: object Properties: 4 Required: 3
CNCFContainersData ProcessingKubernetesMachine-LearningOpen-SourceWorkflow Engine

io.k8s.api.core.v1.FileKeySelector is a JSON Structure definition published by Argo Workflows, describing 4 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

key optional path volumeName

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-structure/argo-workflows-io-k8s-api-core-v1-file-key-selector-structure.json",
  "name": "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 Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/argo-workflows-io-k8s-api-core-v1-file-key-selector-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.