-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed as not planned
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
What happened (please include outputs or screenshots):
File "ops/deploy-flux.py", line 32, in <module>
main()
File "ops/deploy-flux.py", line 14, in main
utils.create_from_yaml(k8s_client, yaml_file, verbose=True)
File "/usr/local/lib/python3.7/site-packages/kubernetes/utils/create_from_yaml.py", line 162, in create_from_yaml
return create_with(yml_document_all)
File "/usr/local/lib/python3.7/site-packages/kubernetes/utils/create_from_yaml.py", line 148, in create_with
**kwargs)
File "/usr/local/lib/python3.7/site-packages/kubernetes/utils/create_from_yaml.py", line 217, in create_from_dict
k8s_client, data, verbose, namespace=namespace, **kwargs)
File "/usr/local/lib/python3.7/site-packages/kubernetes/utils/create_from_yaml.py", line 242, in create_from_yaml_single_item
k8s_api = getattr(client, fcn_to_call)(k8s_client)
AttributeError: module 'kubernetes.client' has no attribute 'HelmToolkitFluxcdIoV2beta1Api'
What you expected to happen:
It will install the helm Chart, But apiVersion: helm.toolkit.fluxcd.io/v2beta1 is not supported by the python Kubernetes client
How to reproduce it (as minimally and precisely as possible):
Try to install it again.
Anything else we need to know?:
N/A
Environment:
- Kubernetes version (
kubectl version):
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-21T14:51:23Z", GoVersion:"go1.14.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.15-eks-a64ea69", GitCommit:"03450cdabfc4162d4e447e6d8c5037efe6d29742", GitTreeState:"clean", BuildDate:"2022-05-12T18:44:04Z", GoVersion:"go1.15.15", Compiler:"gc", Platform:"linux/amd64"}
- OS (e.g., MacOS 10.13.6):
MacOS 12.4 - Python version (
python --version)
Python 3.7.10 - Python client version (
pip list | grep kubernetes)
kubernetes 23.6.0
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.