A resource template lets an Argo Workflows workflow submit a Kubernetes resource during execution. Its manifest specifies the resource kind, metadata, data, and action, such as creating a ConfigMap. section 8.4.1
Use the template to connect workflow execution with Kubernetes-native objects:
- Submit the workflow to the cluster, then inspect workflow status and the resulting Kubernetes objects or logs. section 8.4.1
Creating a ConfigMap
A workflow resource template uses action: create and embeds a v1 ConfigMap manifest named cm-example with the key-value pair some: value. Argo submits this object to Kubernetes as part of the workflow.
