Sanitizing Kubernetes resources into stringsSee original GitHub issue
Some Kubernetes resources such as
V1EnvVar for container environment variables only accept string, so we need to let the SDK to sanitize these variables into proper strings before dumping it to Tekton YAML.
The Kubernetes API docs defines what types are supported under the pod spec. https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/
Additional information: [Miscellaneous information that will assist in solving the issue.]
- Created 3 years ago
- Comments:11 (9 by maintainers)
Top GitHub Comments
Yes. For your initial PR, you can put your helper functions/modules under this file. https://github.com/kubeflow/kfp-tekton/blob/master/sdk/python/kfp_tekton/compiler/_k8s_helper.py
For #342, I want to offload some functions from big data passing since it’s growing too big, and hence you are seeing some issues popping up for artifact passing. You can address this in a follow-up PR if you’re interested.