Git Product home page Git Product logo

Comments (4)

alexellis avatar alexellis commented on June 14, 2024

Example production Issuer for Google Cloud DNS:

apiVersion: certmanager.k8s.io/v1alpha1
kind: Issuer
metadata:
  name: letsencrypt-prod
  namespace: openfaas
spec:
  acme:
    server: https://acme-v02.api.letsencrypt.org/directory
    email: <email@domain>
    privateKeySecretRef:
      name: letsencrypt-prod
    dns01:
      providers:
      - name: prod-dns
        clouddns:
          serviceAccountSecretRef:
            name: clouddns-service-account
            key: <service-account.json>
          project: <project-id-goes-here>

We should create Staging and Production, but have it use Staging in the certificate (a template flag defaulting to staging)

from ofc-bootstrap.

alexellis avatar alexellis commented on June 14, 2024

Issuer for OpenFaaS Cloud mini:

---
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
  name: mini.o6s.io
  namespace: openfaas
spec:
  secretName: o6s-mini-com-tls
  issuerRef:
    name: letsencrypt-prod
    kind: Issuer
  commonName: '*.mini.o6s.io'
  dnsNames:
  - '*.mini.o6s.io'
  acme:
    config:
    - dns01:
        ingressClass: nginx
        provider: prod-dns
      domains:
      - '*.mini.o6s.io'

from ofc-bootstrap.

alexellis avatar alexellis commented on June 14, 2024

For the separate auth domain cert:


---
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
  name: auth.system.mini.o6s.io
  namespace: openfaas
spec:
  secretName: auth-system-mini-o6s-com-tls
  issuerRef:
    name: letsencrypt-prod
    kind: Issuer
  commonName: 'auth.system.mini.o6s.io'
  dnsNames:
  - 'auth.system.mini.o6s.io'
  acme:
    config:
    - dns01:
        ingressClass: nginx
        provider: prod-dns
      domains:
      - auth.system.mini.o6s.io

from ofc-bootstrap.

ivanayov avatar ivanayov commented on June 14, 2024

Derek assign: me

from ofc-bootstrap.

Related Issues (20)

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.