[backend] Cannot inject environment variables and volumes into components with the KFP CLI #9924
Labels
area/backend
kind/bug
lifecycle/stale
The issue / pull request is stale, any activities remove this label.
Environment
How did you deploy Kubeflow Pipelines (KFP)?
Full Kubeflow Deployment
KFP version: 1.7.0 (we are using Kubeflow 1.7.0)
KFP SDK version: 2.0.1
Steps to reproduce
The injection of environment variables and secrets into components is not working correctly with kfpv2. Please look below for the python code and the generated yaml.
We could use volumes and environment variables in KFPv1 but when updating to kfpv2 and Kubeflow 1.7 the (updated) code does not work anymore. The Pipeline yaml looks fine from our perspective but in Kubernetes the pipeline component pod does not get the required configurations. (volume mount, env)
Expected result
The Kubernetes Pod has access to the volumes and environment variables and we can use them inside a Kubeflow pipeline component.
Materials and Reference
We are using this to add the secret in the kfp cli.
Generated Pipeline YAML:
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered: