Skip to content
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

Request: option to add custom certificate #95

Closed
michaelsstuff opened this issue Feb 23, 2022 · 7 comments
Closed

Request: option to add custom certificate #95

michaelsstuff opened this issue Feb 23, 2022 · 7 comments

Comments

@michaelsstuff
Copy link
Contributor

The option to add an existing certificates to the hetzner loadbalaner.
In my case I have an cloudflare origin server certificate.

@michaelsstuff
Copy link
Contributor Author

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

@mysticaltech
Copy link
Collaborator

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.

@michaelsstuff
Copy link
Contributor Author

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

@mysticaltech
Copy link
Collaborator

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.

@michaelsstuff
Copy link
Contributor Author

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 :-/

@mysticaltech
Copy link
Collaborator

mysticaltech commented Feb 23, 2022

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.

@phaer
Copy link
Contributor

phaer commented Feb 28, 2022

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants