Skip to content

Error: Post "http://localhost/api/v1/namespaces/cloudflared/secrets": dial tcp [::1]:80: connect: connection refused #166

@Agilitytime

Description

@Agilitytime

Describe the bug

Cloudflare is not Working

To reproduce

Steps to reproduce the behavior:

I Create the Cluster with Make, also after an Redeploy i have this error.
Can somebody help me?

Thanks!

Expected behavior

module.cloudflare.kubernetes_secret.cert_manager_token: Creating...

│ Error: Post "http://localhost/api/v1/namespaces/cloudflared/secrets": dial tcp [::1]:80: connect: connection refused

│ with module.cloudflare.kubernetes_secret.cloudflared_credentials,
│ on modules/cloudflare/main.tf line 28, in resource "kubernetes_secret" "cloudflared_credentials":
│ 28: resource "kubernetes_secret" "cloudflared_credentials" {



│ Error: Post "http://localhost/api/v1/namespaces/external-dns/secrets": dial tcp [::1]:80: connect: connection refused

│ with module.cloudflare.kubernetes_secret.external_dns_token,
│ on modules/cloudflare/main.tf line 62, in resource "kubernetes_secret" "external_dns_token":
│ 62: resource "kubernetes_secret" "external_dns_token" {



│ Error: Post "http://localhost/api/v1/namespaces/cert-manager/secrets": dial tcp [::1]:80: connect: connection refused

│ with module.cloudflare.kubernetes_secret.cert_manager_token,
│ on modules/cloudflare/main.tf line 91, in resource "kubernetes_secret" "cert_manager_token":
│ 91: resource "kubernetes_secret" "cert_manager_token" {



│ Error: Post "http://localhost/api/v1/namespaces/global-secrets/secrets": dial tcp [::1]:80: connect: connection refused

│ with module.extra_secrets.kubernetes_secret.external,
│ on modules/extra-secrets/main.tf line 1, in resource "kubernetes_secret" "external":
│ 1: resource "kubernetes_secret" "external" {



│ Error: Post "http://localhost/api/v1/namespaces/monitoring-system/secrets": dial tcp [::1]:80: connect: connection refused

│ with module.ntfy.kubernetes_secret.ntfy_auth,
│ on modules/ntfy/main.tf line 1, in resource "kubernetes_secret" "ntfy_auth":
│ 1: resource "kubernetes_secret" "ntfy_auth" {


Operation failed: failed running terraform apply (exit 1)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions