Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Use of gavinbunney/kubectl is error prone #166

Closed
1 task done
askulkarni2 opened this issue Feb 1, 2024 · 2 comments
Closed
1 task done

[Bug]: Use of gavinbunney/kubectl is error prone #166

askulkarni2 opened this issue Feb 1, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@askulkarni2
Copy link
Contributor

Welcome to AWS Blueprints for Crossplane!

  • Yes, I've searched similar issues on GitHub and didn't find any.

AWS Blueprints for Crossplane Release version

v0.1.0

What is your environment, configuration and the example used?

https://github.com/awslabs/crossplane-on-eks/tree/main/bootstrap/terraform

What did you do and What did you see instead?

The gavinbunney/kubectl provider is no longer actively maintained and is known to be very unstable and unusable at this point. I did a minor change in main.tf and reapplied and saw these errors which are typical symptoms of the unstable state of the provider. Across EKS Blueprints we are discontinuing the use of the kubectl_manifest and recommending folks to use the Hashicorp terraform-provider-kubernetes or package up the yaml files as inline helm charts.

Error: cluster failed to fetch resource from kubernetes: the server could not find the requested resource
│ 
│   with kubectl_manifest.environmentconfig,
│   on main.tf line 196, in resource "kubectl_manifest" "environmentconfig":
│  196: resource "kubectl_manifest" "environmentconfig" {
│ 
╵
╷
│ Error: upbound-aws-controller-config failed to fetch resource from kubernetes: the server could not find the requested resource
│ 
│   with kubectl_manifest.upbound_aws_controller_config[0],
│   on main.tf line 289, in resource "kubectl_manifest" "upbound_aws_controller_config":
│  289: resource "kubectl_manifest" "upbound_aws_controller_config" {
│ 
╵
╷
│ Error: kubernetes-controller-config failed to fetch resource from kubernetes: the server could not find the requested resource
│ 
│   with kubectl_manifest.kubernetes_controller_config[0],
│   on main.tf line 418, in resource "kubectl_manifest" "kubernetes_controller_config":
│  418: resource "kubectl_manifest" "kubernetes_controller_config" {
│ 
╵
╷
│ Error: helm-controller-config failed to fetch resource from kubernetes: the server could not find the requested resource
│ 
│   with kubectl_manifest.helm_controller_config[0],
│   on main.tf line 482, in resource "kubectl_manifest" "helm_controller_config":
│  482: resource "kubectl_manifest" "helm_controller_config" {

Additional Information

No response

@edgarsilva948
Copy link
Collaborator

@candonov the PR #193 fixes this.

@candonov
Copy link
Contributor

Thank you for fixing that @edgarsilva948 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants