Coder Social home page Coder Social logo

Comments (6)

cheers1999 avatar cheers1999 commented on August 28, 2024 1

from homelab.

khuedoan avatar khuedoan commented on August 28, 2024

Is it accessible via LAN? Most services are only accessible via LAN by default, you must explicitly allow internet access.

Could you please provide the following additional information:

  1. Are you accessing Hajimari via LAN or internet?
  2. Your homelab repository
  3. Cloudflare tunnel logs (available from the cloudflared namespace)
  4. Ingress addresses (./scripts/get-dns-config)
  5. DNS config on Cloudflare dashboard (this should be updated automatically, just double checking)

from homelab.

cheers1999 avatar cheers1999 commented on August 28, 2024

Thanks for the quick reply. Yes, I enabled by following those instructions.

  1. Accessing it via LAN.
  2. https://gitlab.com/rijndael128/homelab
  3. Looks like terraform apply failed , and the cloudflare namespace was not created.
│ Error: Get "http://localhost/api/v1/namespaces/cloudflared/secrets/cloudflared-credentials": dial tcp 127.0.0.1:80: connect: connection refused
│
│   with module.cloudflare.kubernetes_secret.cloudflared_credentials,
│   on modules/cloudflare/main.tf line 43, in resource "kubernetes_secret" "cloudflared_credentials":
│   43: resource "kubernetes_secret" "cloudflared_credentials" {
│
╵
╷
│ Error: Get "http://localhost/api/v1/namespaces/external-dns/secrets/cloudflare-api-token": dial tcp 127.0.0.1:80: connect: connection refused
│
│   with module.cloudflare.kubernetes_secret.external_dns_token,
│   on modules/cloudflare/main.tf line 79, in resource "kubernetes_secret" "external_dns_token":
│   79: resource "kubernetes_secret" "external_dns_token" {
│
╵
╷
│ Error: Get "http://localhost/api/v1/namespaces/cert-manager/secrets/cloudflare-api-token": dial tcp 127.0.0.1:80: connect: connection refused
│
│   with module.cloudflare.kubernetes_secret.cert_manager_token,
│   on modules/cloudflare/main.tf line 110, in resource "kubernetes_secret" "cert_manager_token":
│  110: resource "kubernetes_secret" "cert_manager_token" {
10.10.69.224   argocd.weyland.io
10.10.69.224   dex.weyland.io
10.10.69.224   git.weyland.io
10.10.69.224   home.weyland.io
10.10.69.224   jellyfin.weyland.io
10.10.69.224   chat.weyland.io
10.10.69.224   matrix.weyland.io
10.10.69.224   grafana.weyland.io
10.10.69.224   paperless.weyland.io
10.10.69.224   seafile.weyland.io
10.10.69.224   tekton.weyland.io
10.10.69.224   registry.weyland.io
10.10.69.224   vault.weyland.io

image

Also, the tunnel was created but it shows as inactive on the cloudflare dashboard.

from homelab.

khuedoan avatar khuedoan commented on August 28, 2024

Are you building the external layer using cd external && make or running make external/make all from the root directory of the project?

Due to the change in this commit dc7d125, can you try again by running make external from the root directory of the project (I'll need to update the documentation or revert the change).

Btw please keep the copy right notice or add an acknowledgement to your repo in case you forgot 😉

from homelab.

cheers1999 avatar cheers1999 commented on August 28, 2024

Alright, looks like that was it. More user error than a bug. Dex is having trouble with secret "dex-secrets" not found, but I can go ahead and troubleshoot that. Thanks for the help!!

from homelab.

khuedoan avatar khuedoan commented on August 28, 2024

Nice!

Some secrets (Dex, Renovate...) require manual token creation and put into Vault, I haven't automate this process yet, it should be completed in the next version (before the first beta release).

You can see this section to see where to put those secrets in Vault:

# TODO create tokens and put to Vault automatically
# - gitea/renovate:
# - id
# - token
# - gitea/dex:
# - client_id
# - client_secret

from homelab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.