ingress icon indicating copy to clipboard operation
ingress copied to clipboard

Helm Terraform deploying with error

Open ioricloud opened this issue 2 years ago • 2 comments

Hey guys,

I'm trying to use caddy ingress in my studies in k3d, and when I trying to apply in terraform manifests I got this error.

│ Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "PodDisruptionBudget" in version "policy/v1" │ │ with helm_release.caddyingress, │ on caddy.tf line 1, in resource "helm_release" "caddyingress": │ 1: resource "helm_release" "caddyingress" { │ ╵

PodDisruptionBudget with error in policy/v1

In poddisrution has in apiVersion: policy/v1.

How I treat this?

ioricloud avatar Apr 25 '22 01:04 ioricloud

Hi 👋, Seems you are running K8S < 1.21 which added the PodDisruptionBudget v1.

We could go back to v1beta1 which will be available until 1.25 but I do not have a timeframe for this change. If you feel like it, you can open a PR with it

Embraser01 avatar Apr 28 '22 11:04 Embraser01

Ok, I'll try to use this configs.

I'll report.

Best Regards.

Em qui., 28 de abr. de 2022 às 08:58, Marc-Antoine @.***> escreveu:

Hi 👋, Seems you are running K8S < 1.21 which added the PodDisruptionBudget v1.

We could go back to v1beta1 which will be available until 1.25 but I do not have a timeframe for this change. If you feel like it, you can open a PR with it

— Reply to this email directly, view it on GitHub https://github.com/caddyserver/ingress/issues/89#issuecomment-1112116223, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABEX6S6ZZFZDAVKZ6HUIX3VHJ4PXANCNFSM5UHBLE6Q . You are receiving this because you authored the thread.Message ID: @.***>

--

Henrique Oliveira DevOps Engineer. Network Computer Graduated - FIC Estacio. Site: elementar.me Blog: ioricloud.gitlab.io/hugo-blog/

ioricloud avatar Apr 28 '22 13:04 ioricloud