cert-manager-webhook-nifcloud

command module
v0.0.0-...-5c6b1af Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: MIT Imports: 13 Imported by: 0

README

ACME webhook for NIFCLOUD

Installing
$ kubectl apply -f 
Download and update example issuer and cert files

Apply updated yaml files to create a clusterissuer and a test certificate:

kubectl apply -f issuer_certificate.yaml

An example manifest:

apiVersion: v1
kind: Secret
metadata:
  name: nifcloud-api-key
  namespace: cert-manager
type: Opaque
data:
  accesskey-id: <base64 encoded accessKeyId>
  accesskey-secret: <base64 encoded accessKeySecret>
---
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
  name: cluster-issuer-letsencrypt-wildcard-staging
spec:
  acme:
    email: tester@example.com
    server: https://acme-staging-v02.api.letsencrypt.org/directory
    privateKeySecretRef:
      name: letsencrypt-staging-account-key
    solvers:
    - dns01:
        webhook:
          groupName: acme.example.com
          solverName: nifcloud
---
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
  name: wildcard-certificate-test
  namespace: default
spec:
  secretName: test-example-com-tls
  commonName: test.example.com
  dnsNames:
  - '*.test.example.com'
  issuerRef:
    name: cluster-issuer-letsencrypt-wildcard-staging
    kind: ClusterIssuer
  acme:
    config:
      - dns01:
          provider: dns
        domains:
          - '*.test.example.com'

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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