Giter Site home page Giter Site logo

auto-kubernetes-lets-encrypt's Introduction

Auto Kuberentes Lets's Encrypt

Generate TSL/SSL certs through your kubernetes cluter automatically with Let's Encrypt

How To Use

1. Generate The Kubernetes Resources

./generate-resources $DOMAIN $EMAIL

2. Apply Part 1 To Cluster

kubectl apply -f ./kubernetes-resources-part-1.yml

3. Update DNS

watch "kubectl get svc auto-kubernetes-lets-encrypt"

Take the IP address from the service and update your DNS settings.

4. Apply Part 2 and Wait for Job and Get Certificates

kubectl apply -f ./kubernetes-resources-part-1.yml
watch "kubectl get job auto-kubernetes-lets-encrypt"
kubectl describe secret auto-kubernetes-lets-encrypt

You're Done!

You will now find the certificates for the domain in your auto-kubernetes-lets-encrypt secret:

$ kubectl describe secret auto-kubernetes-lets-encrypt
Name:		auto-kubernetes-lets-encrypt
Namespace:	default
Labels:		<none>
Annotations:
Type:		Opaque

Data
====
$DOMAIN.issuer.crt:	1647 bytes
$DOMAIN.json:		228 bytes
$DOMAIN.key:		1679 bytes
$DOMAIN.pem:		3480 bytes
private_key:			1675 bytes
registration:			668 bytes
$DOMAIN.crt:		1801 bytes

screenshot.png

auto-kubernetes-lets-encrypt's People

Contributors

thejsj avatar trizko avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

trizko

auto-kubernetes-lets-encrypt's Issues

Suggestion: config map

I think it might be better to change all optional values to is a config map. That way people can use the same deployment and only have to change the config file (config map for params, secret for the secret key)

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.