Giter VIP home page Giter VIP logo

Comments (7)

mysticaltech avatar mysticaltech commented on May 25, 2024 1

Hey @michaelsstuff, I use Cloudflare's origin certificates myself. They work wonderfully with Traefik too, here's a tutorial I previously made to use them #18.

from terraform-hcloud-kube-hetzner.

michaelsstuff avatar michaelsstuff commented on May 25, 2024 1

:-D Thanks, exactly how I did it now.

from terraform-hcloud-kube-hetzner.

michaelsstuff avatar michaelsstuff commented on May 25, 2024

actually nevermind. I think that is better served with a proper ingres deployment.

from terraform-hcloud-kube-hetzner.

mysticaltech avatar mysticaltech commented on May 25, 2024

Now if you add external-dns, it becomes magic hehe! Let me know if you haven't set it up already, will share a quick example.

from terraform-hcloud-kube-hetzner.

michaelsstuff avatar michaelsstuff commented on May 25, 2024

Already got it with external dns running :-D (also cloudflare)

But is there a way to add a terraform provider without overwriting the versions.tf? This is the only downside, as it probably will create merge conficts in the future.

The idea is to clone this project, then add 2 files (cloudflare.tf and terraform.tfvars) and your would be good to go.
But i do have to edit the versions.tf and add cloudflare/cloudflare :-/

from terraform-hcloud-kube-hetzner.

mysticaltech avatar mysticaltech commented on May 25, 2024

In the future, we will offer this project a terraform module, but we're not there yet. Hopefully soon. For now, you could maintain a fork, and Github makes it easy to stay in sync with upstream.

from terraform-hcloud-kube-hetzner.

phaer avatar phaer commented on May 25, 2024

@michaelsstuff Only saw this just now. But while not "officially supported" yet, it already is possible to use this project as a terraform module. Just clone it and use it as normal

module "kube-hetzner" {
  source = "./kube-hetzner"

  # Same as terraform.tfvars.example
  hcloud_token = var.hcloud_token
  # [...]
}

I've been using this approach for a few weeks already to add additional resources like cloudflare_records

from terraform-hcloud-kube-hetzner.

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.