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: Issue with installing via Helm #114

Closed
AnchorArray opened this issue Sep 17, 2021 · 1 comment
Closed

Bug: Issue with installing via Helm #114

AnchorArray opened this issue Sep 17, 2021 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@AnchorArray
Copy link

I am attempting to install via Helm I get the following error:

release kube-fledged failed, and has been uninstalled due to atomic being set: Internal error occurred: failed calling webhook "validate-image-cache.kubefledged.io": Post "https://kube-fledged-kubefledged-webhook-server.management.svc:3443/validate-image-cache?timeout=1s": no endpoints available for service "kube-fledged-kubefledged-webhook-server"

I am using a Terraform resource that looks as follows:

resource "helm_release" "kube_fledged" {
  name        = "kube-fledged"
  chart       = "./charts/kube-fledged-${local.kube_fledged_chart_version}/kube-fledged"
  namespace   = "management"
  atomic      = true
  max_history = 5
  timeout     = 1800

  values = [
    templatefile(
      "${path.module}/templates/kube-fledged.yaml.tpl",
      {
        validating_webhook_ca_bundle = file("${path.module}/data/validating-webhook-ca-bundle.txt"),
        images                       = local.images_to_cache
      }
    )
  ]
}

If I turn off atomic both of the pods (controller and webhook-server) report as running but the helm release still fails and is marked as such with helm list -n management.

I've also tried installing this manually via the Helm commands in the README.md.

@senthilrch
Copy link
Owner

@andersdberg : Which version of kube-fledged are you using? I request you to retry using v0.8.2

@senthilrch senthilrch self-assigned this Dec 27, 2021
@senthilrch senthilrch added the bug Something isn't working label Dec 27, 2021
@senthilrch senthilrch added this to the v0.9.0 milestone Dec 27, 2021
@senthilrch senthilrch changed the title Issue with installing via Helm Bug: Issue with installing via Helm Dec 27, 2021
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

2 participants