-
Notifications
You must be signed in to change notification settings - Fork 110
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
fix: added node security group additional rule to allow all traffic i… #359
base: terragrunt
Are you sure you want to change the base?
Conversation
…t version for external secrets
Quality Gate passedIssues Measures |
@mglotov during the tests I get next error when I deployed k8s-addons:
I added |
@@ -154,4 +154,5 @@ resource "helm_release" "external_secrets" { | |||
local.external_secrets_values | |||
] | |||
|
|||
depends_on = [helm_release.aws_loadbalancer_controller] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because during terragrunt apply
I get next error:
│ Error: 1 error occurred:
│ * Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: Post "https://aws-load-balancer-controller-webhook-service.aws-load-balancer-controller.svc:443/mutate-v1-service?timeout=10s": no endpoints available for service "aws-load-balancer-controller-webhook-service"
│
│
│
│ with helm_release.external_secrets[0],
│ on eks-external-secrets.tf line 143, in resource "helm_release" "external_secrets":
│ 143: resource "helm_release" "external_secrets" {
│
╵
╷
│ Error: 3 errors occurred:
│ * Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: Post "https://aws-load-balancer-controller-webhook-service.aws-load-balancer-controller.svc:443/mutate-v1-service?timeout=10s": no endpoints available for service "aws-load-balancer-controller-webhook-service"
│ * Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: Post "https://aws-load-balancer-controller-webhook-service.aws-load-balancer-controller.svc:443/mutate-v1-service?timeout=10s": no endpoints available for service "aws-load-balancer-controller-webhook-service"
│ * Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: Post "https://aws-load-balancer-controller-webhook-service.aws-load-balancer-controller.svc:443/mutate-v1-service?timeout=10s": no endpoints available for service "aws-load-balancer-controller-webhook-service"
│
│
│
│ with helm_release.ingress_nginx[0],
│ on eks-ingress-nginx-controller.tf line 202, in resource "helm_release" "ingress_nginx":
│ 202: resource "helm_release" "ingress_nginx" {
│
╵
╷
│ Error: 4 errors occurred:
│ * Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: Post "https://aws-load-balancer-controller-webhook-service.aws-load-balancer-controller.svc:443/mutate-v1-service?timeout=10s": no endpoints available for service "aws-load-balancer-controller-webhook-service"
│ * Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: Post "https://aws-load-balancer-controller-webhook-service.aws-load-balancer-controller.svc:443/mutate-v1-service?timeout=10s": no endpoints available for service "aws-load-balancer-controller-webhook-service"
│ * Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: Post "https://aws-load-balancer-controller-webhook-service.aws-load-balancer-controller.svc:443/mutate-v1-service?timeout=10s": no endpoints available for service "aws-load-balancer-controller-webhook-service"
│ * Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: Post "https://aws-load-balancer-controller-webhook-service.aws-load-balancer-controller.svc:443/mutate-v1-service?timeout=10s": no endpoints available for service "aws-load-balancer-controller-webhook-service"
│
│
│
│ with helm_release.loki_stack[0],
│ on eks-loki-stack.tf line 169, in resource "helm_release" "loki_stack":
│ 169: resource "helm_release" "loki_stack" {
│
After added these depends_on error has vanished. I deploy k8s-addons with these depens_on twice, and everything was okay (without errors).
depends_on = [kubectl_manifest.kube_prometheus_stack_operator_crds] | ||
depends_on = [ | ||
kubectl_manifest.kube_prometheus_stack_operator_crds, | ||
helm_release.aws_loadbalancer_controller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same answer, as in the comment above.
Added node security group additional rule to allow all traffic inside the group
PR Description
Please explain the changes you made here and link to any relevant issues.
Fixes # (issue)
Type of change
Delete options that are not relevant.
Checklist