adssl-issuer

command module
v0.0.0-...-c1d64a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2020 License: BSD-2-Clause Imports: 11 Imported by: 0

README

adssl-issuer

adssl-issuer is a kubernetes operator that provides a cert-manager Issuer for Active Directory SSL certificates. Certificates are requested from AD via the adssl library

Install

make docker-build docker-push IMG=adssl-operator:v0.1.0
make deploy IMG=adssl-operator:v0.1.0

Usage

Create a secret for the Active Directory password

kubectl create secret generic adsslissuer-secret \
  --from-literal=password=t0p-s3cret

Configure AdsslIssuer

---
apiVersion: certmanager.tomdoherty.io/v1alpha2
kind: AdsslIssuer
metadata:
  name: adsslissuer-sample
spec:
  url: https://adssl.example.com
  user: tom
  passwordRef:
    name: adsslissuer-secret
    key: password

Request a Certificate as normal

apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
  name: kafka-tls
spec:
  # The secret name to store the signed certificate
  secretName: kafka-tls-secret
  # Common Name
  commonName: kafka
  # DNS SAN
  dnsNames:
    - kafka-0
  # IP Address SAN
  ipAddresses:
    - "127.0.0.1"
  # Duration of the certificate
  duration: 24h
  # Renew 8 hours before the certificate expiration
  renewBefore: 8h
  # The reference to the AdsslIssuer issuer
  issuerRef:
    group: certmanager.tomdoherty.io
    kind: CertificateRequest
    name: adsslissuer-sample

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha2
Package v1alpha2 contains API Schema definitions for the certmanager v1alpha2 API group +kubebuilder:object:generate=true +groupName=certmanager.tomdoherty.io
Package v1alpha2 contains API Schema definitions for the certmanager v1alpha2 API group +kubebuilder:object:generate=true +groupName=certmanager.tomdoherty.io

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL