• Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

trust-manager is an operator for distributing trust bundles across a Kubernetes cluster.

cert-manager project logo

cert-manager/trust-manager godoc Go Report Card Artifact Hub

trust-manager

trust-manager is the easiest way to manage trust bundles in Kubernetes and OpenShift clusters.

It orchestrates bundles of trusted X.509 certificates which are primarily used for validating certificates during a TLS handshake but can be used in other situations, too.

⚠️ trust-manager is still an early stage project and may undergo changes as it's developed!

We encourage you to run it and test it and we truly believe it's useful! The caveat is that while we'll strive to avoid any breaking changes we reserve the right to break things if we must.


Please follow the documentation on cert-manager.io to install trust-manager.

There's also full API reference documentation available.

Demo

If you've got Docker installed and you just want to play with trust-manager as soon as possible, we provide a demo command to get a Kind cluster set up with minimal fuss.

First, clone the repo then run make demo:

git clone --single-branch https://github.com/cert-manager/trust-manager trust-manager
cd trust-manager
make demo
# kubeconfig is in ./bin/kubeconfig.yaml
# kind cluster is called "trust"

The demo installation uses Helm, and roughly matches what you'd get by installing trust-manager into your own cluster using Helm - although it uses locally-built images rather than the ones we publish publicly.

Example Bundle

The simplest useful Bundle to start with is likely to be one using default CAs, which are available from trust-manager 0.4.0+.

This default CA package is based on Debian's ca-certificates package, and so matches what you'd expect to see in a Debian container or VM.

apiVersion: trust.cert-manager.io/v1alpha1
kind: Bundle
metadata:
  name: trust-manager-bundle
spec:
  sources:
  - useDefaultCAs: true
  target:
    configMap:
      key: "bundle.pem"

This Bundle will lead to a ConfigMap called trust-manager-bundle containing the default CAs being created in all namespaces, ready to be mounted and used by your applications.

Your ConfigMap will automatically be updated if you change your bundle, too - so to update it, simply update your Bundle!

For more details see the trust-manager documentation.

More Repositories

1

cert-manager

Automatically provision and manage TLS certificates in Kubernetes
Go
11,580
star
2

aws-privateca-issuer

Addon for cert-manager that issues certificates using AWS ACM PCA.
Go
174
star
3

csi-driver

A Kubernetes CSI plugin to automatically mount signed certificates to Pods using ephemeral volumes
Go
163
star
4

istio-csr

istio-csr is an agent that allows for Istio workload and control plane components to be secured using cert-manager.
Go
131
star
5

webhook-example

A cert-manager sample repository for creating an ACME DNS01 solver webhook
Go
78
star
6

csi-driver-spiffe

A Kubernetes CSI plugin to automatically mount SPIFFE certificates to Pods using ephemeral volumes
Go
53
star
7

website

Source code for the cert-manager.io website, including project documentation
JavaScript
53
star
8

approver-policy

approver-policy is a cert-manager approver that allows users to define policies that restrict what certificates can be requested.
Go
52
star
9

openshift-routes

OpenShift Route support for cert-manager
Go
28
star
10

sample-external-issuer

A sample external Issuer for cert-manager
Go
24
star
11

signer-ca

Experimental 'local CA' based signer for Kubernetes 1.18 CSR API
Go
19
star
12

cert-manager-olm

Definitions for the cert-manager operator published via Red Hat's Operator Lifecycle Manager (OLM)
Makefile
14
star
13

csi-lib

A library for building CSI drivers that request certificates from cert-manager
Go
13
star
14

print-your-cert

Get your certificate printed at the cert-manager booth at KubeCon EU 2024 in Paris!
Go
5
star
15

release

Releasing tooling for the cert-manager project
Go
4
star
16

signer-venafi

Experimental Venafi based signer for Kubernetes 1.18 CSR API https://github.com/kubernetes/enhancements/blob/master/keps/sig-auth/20190607-certificates-api.md#signers
Go
4
star
17

testing

Repository containing cert-manager testing infrastructure configuration
Go
4
star
18

trust-manager-csi-driver

Experiment: CSI driver for mounting trust bundles into a pod from trust-manager
Makefile
3
star
19

webhook-lib

Experimental: a Golang library for creating conversion & admission webhooks
Go
3
star
20

infrastructure

cert-manager infrastructure
HCL
3
star
21

testing-addons

Tooling to deploy cert-manager with external dependencies for local testing
HCL
3
star
22

boilersuite

Boilerplate checker entirely in Go
Go
2
star
23

helm-tool

helm-tool is an internal cert-manager utility (can be broken or removed) which generates Helm docs, schema files and performs linting.
Go
2
star
24

example-approver-policy-plugin

Example approver policy plugin https://cert-manager.io/docs/projects/approver-policy/#plugins
Go
2
star
25

issuer-lib

issuer-lib is the Go library for building cert-manager issuers.
Go
1
star