Go to file
jetstack-ci-bot 362735f8f1
Merge pull request #312 from Mikulas/pr/cert-crd-alias
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add default shortNames to certificates CRD

Defaults to `[cert, certs]` and is configurable with `certificateCRDShortNames` parameter.

**What this PR does / why we need it**:

Simplifies manual certificate management with kubectl.

Fixes #311

<div name="review-notes" />

**Special notes for your reviewer**:

Instead of a boolean switch do/dont include the shortNames, the value defines the aliases. This may be handy if anybody prefers `[crt, crts]` instead.

I'm not too keen on the `certificateCRDShortNames` variable name. It might be better to use `Resource` instead of `CRD` to be consistent with the `createCustomResource` var.

Other CRDs are probably ok without an alias, but other people workflows may differ. Should these also be configurable? In that case, the variables could be `shortNames: {certificates: [], …}`.

**Release note**:

```release-note
Add Certificate CRD shortnames `cert` and `certs`. This is configurable in the Helm Chart with `certificateResourceShortNames`.
```
2018-02-21 20:48:17 +00:00
.github Create ISSUE_TEMPLATE.md 2017-10-23 21:15:01 +01:00
cmd Merge pull request #327 from ocadotechnology/wip-293 2018-02-21 18:22:27 +00:00
contrib/charts Merge pull request #312 from Mikulas/pr/cert-crd-alias 2018-02-21 20:48:17 +00:00
docs Merge pull request #312 from Mikulas/pr/cert-crd-alias 2018-02-21 20:48:17 +00:00
hack Update helm chart to align with k/charts review 2018-02-05 19:10:10 +00:00
pkg Merge pull request #321 from twz123/fix-log-warning 2018-02-21 13:39:28 +00:00
test Ensure certificate is valid for given domains during e2e tests 2018-02-09 20:52:31 +00:00
vendor Add azure-sdk-for-go dependency 2018-01-16 11:00:39 +01:00
.gitignore Update .gitignore 2018-01-18 22:24:19 +00:00
.gitlab-ci.yml Update .gitlab-ci.yml 2018-02-21 17:00:32 +00:00
.travis.yml Setup minikube on travis, don't install docker-compose 2018-01-13 15:43:59 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-10-23 00:16:10 +01:00
Gopkg.lock Add azure-sdk-for-go dependency 2018-01-16 11:00:39 +01:00
Gopkg.toml Add azure-sdk-for-go dependency 2018-01-16 11:00:39 +01:00
labels.yaml Move to github.com/jetstack/cert-manager repo 2017-11-03 16:41:39 +00:00
LICENSE add apache 2.0 license 2017-07-22 12:04:24 +01:00
Makefile Run verify-deploy-gen as part of make verify 2018-01-25 16:28:19 +00:00
OWNERS Update OWNERS 2018-02-08 15:21:36 +00:00
README.md Add links to new documentation content 2018-01-18 17:44:05 +00:00

cert-manager

cert-manager is a Kubernetes add-on to automate the management and issuance of TLS certificates from various issuing sources.

It will ensure certificates are valid and up to date periodically, and attempt to renew certificates at an appropriate time before expiry.

It is loosely based upon the work of kube-lego and has borrowed some wisdom from other similar projects e.g. kube-cert-manager.

cert-manager high level overview diagram

Current status

This project is not yet ready to be a component in a critical production stack, however it is at a point where it offers comparable features to other projects in the space. If you have a non-critical piece of infrastructure, or are feeling brave, please do try cert-manager and report your experience here in the issue section.

NOTE: currently we provide no guarantees on our API stability. This means there may be breaking changes that will require changes to all Issuer/Certificate resources you have already created. We aim to provide a stable API after a 1.0 release.

Quickstart

Prebuilt images for cert-manager are made available on Dockerhub.

Pre-requisites

  • Kubernetes cluster with CustomResourceDefinition or ThirdPartyResource support

Deploying cert-manager

The easiest way to deploy cert-manager into your cluster is to use the Helm chart. For information on how to do this see the Deploying cert-manager using Helm user guide.

Creating your first Issuer and Certificate

An Issuer in cert-manager describes a source of X.509 certificates. A Certificate in cert-manager defines a desired X.509 certificate. Below is a list of user guides that can be used to get started with both resources:

Further documentation

For further documentation, please check the /docs directory in this repository.

Troubleshooting

If you encounter any issues whilst using cert-manager, and your issue is not documented, please file an issue.

Contributing

We welcome pull requests with open arms! There's a lot of work to do here, and we're especially concerned with ensuring the longevity and reliability of the project.

Please take a look at our issue tracker if you are unsure where to start with getting involved!

We also use the #kube-lego channel on kubernetes.slack.com for chat relating to the project.

Developer documentation should be available soon at docs/devel.

Changelog

The list of releases is the best place to look for information on changes between releases.