Changeset - 723ad82340d1
[Not reviewed]
default
1 2 1
drewp@bigasterisk.com - 22 months ago 2022-12-13 07:19:28
drewp@bigasterisk.com
code versions
3 files changed with 7 insertions and 9 deletions:
0 comments (0 inline, 0 general)
00-defs/49-cert-manager-crd.yaml
Show inline comments
 
# Source: cert-manager/templates/crd-templates.yaml
 
apiVersion: apiextensions.k8s.io/v1
 
kind: CustomResourceDefinition
 
metadata:
 
  name: certificaterequests.cert-manager.io
 
  labels:
 
    app: 'cert-manager'
 
    app.kubernetes.io/name: 'cert-manager'
 
    app.kubernetes.io/instance: 'cert-manager'
 
    # Generated labels
 
    app.kubernetes.io/version: "v1.9.1"
 
spec:
 
  group: cert-manager.io
 
  names:
 
    kind: CertificateRequest
 
    listKind: CertificateRequestList
 
    plural: certificaterequests
 
    shortNames:
 
      - cr
 
      - crs
 
    singular: certificaterequest
 
    categories:
 
      - cert-manager
 
  scope: Namespaced
 
  versions:
 
    - name: v1
 
      subresources:
 
        status: {}
 
      additionalPrinterColumns:
 
        - jsonPath: .status.conditions[?(@.type=="Approved")].status
 
          name: Approved
 
          type: string
 
        - jsonPath: .status.conditions[?(@.type=="Denied")].status
 
          name: Denied
 
          type: string
 
        - jsonPath: .status.conditions[?(@.type=="Ready")].status
 
          name: Ready
 
          type: string
 
        - jsonPath: .spec.issuerRef.name
 
          name: Issuer
 
          type: string
 
        - jsonPath: .spec.username
 
          name: Requestor
 
          type: string
 
        - jsonPath: .status.conditions[?(@.type=="Ready")].message
 
          name: Status
 
          priority: 1
 
          type: string
 
        - jsonPath: .metadata.creationTimestamp
 
          description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
 
          name: Age
 
          type: date
 
      schema:
 
        openAPIV3Schema:
 
          description: "A CertificateRequest is used to request a signed certificate from one of the configured issuers. \n All fields within the CertificateRequest's `spec` are immutable after creation. A CertificateRequest will either succeed or fail, as denoted by its `status.state` field. \n A CertificateRequest is a one-shot resource, meaning it represents a single point in time request for a certificate and cannot be re-used."
 
          type: object
 
          required:
 
            - spec
 
          properties:
 
            apiVersion:
 
              description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
 
              type: string
 
            kind:
 
              description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
 
              type: string
 
            metadata:
 
              type: object
 
            spec:
 
              description: Desired state of the CertificateRequest resource.
 
              type: object
 
              required:
 
                - issuerRef
 
                - request
 
              properties:
 
                duration:
 
                  description: The requested 'duration' (i.e. lifetime) of the Certificate. This option may be ignored/overridden by some issuer types.
 
                  type: string
 
                extra:
 
                  description: Extra contains extra attributes of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.
 
                  type: object
 
                  additionalProperties:
 
                    type: array
 
                    items:
 
                      type: string
 
                groups:
 
                  description: Groups contains group membership of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.
 
                  type: array
 
                  items:
 
                    type: string
 
                  x-kubernetes-list-type: atomic
 
                isCA:
 
                  description: IsCA will request to mark the certificate as valid for certificate signing when submitting to the issuer. This will automatically add the `cert sign` usage to the list of `usages`.
 
                  type: boolean
 
                issuerRef:
 
                  description: IssuerRef is a reference to the issuer for this CertificateRequest.  If the `kind` field is not set, or set to `Issuer`, an Issuer resource with the given name in the same namespace as the CertificateRequest will be used.  If the `kind` field is set to `ClusterIssuer`, a ClusterIssuer with the provided name will be used. The `name` field in this stanza is required at all times. The group field refers to the API group of the issuer which defaults to `cert-manager.io` if empty.
 
                  type: object
 
                  required:
 
                    - name
 
                  properties:
 
                    group:
 
                      description: Group of the resource being referred to.
 
                      type: string
 
                    kind:
 
                      description: Kind of the resource being referred to.
 
                      type: string
 
                    name:
 
                      description: Name of the resource being referred to.
 
@@ -115,193 +113,193 @@ spec:
 
                  type: string
 
                usages:
 
                  description: Usages is the set of x509 usages that are requested for the certificate. If usages are set they SHOULD be encoded inside the CSR spec Defaults to `digital signature` and `key encipherment` if not specified.
 
                  type: array
 
                  items:
 
                    description: 'KeyUsage specifies valid usage contexts for keys. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 https://tools.ietf.org/html/rfc5280#section-4.2.1.12 Valid KeyUsage values are as follows: "signing", "digital signature", "content commitment", "key encipherment", "key agreement", "data encipherment", "cert sign", "crl sign", "encipher only", "decipher only", "any", "server auth", "client auth", "code signing", "email protection", "s/mime", "ipsec end system", "ipsec tunnel", "ipsec user", "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"'
 
                    type: string
 
                    enum:
 
                      - signing
 
                      - digital signature
 
                      - content commitment
 
                      - key encipherment
 
                      - key agreement
 
                      - data encipherment
 
                      - cert sign
 
                      - crl sign
 
                      - encipher only
 
                      - decipher only
 
                      - any
 
                      - server auth
 
                      - client auth
 
                      - code signing
 
                      - email protection
 
                      - s/mime
 
                      - ipsec end system
 
                      - ipsec tunnel
 
                      - ipsec user
 
                      - timestamping
 
                      - ocsp signing
 
                      - microsoft sgc
 
                      - netscape sgc
 
                username:
 
                  description: Username contains the name of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.
 
                  type: string
 
            status:
 
              description: Status of the CertificateRequest. This is set and managed automatically.
 
              type: object
 
              properties:
 
                ca:
 
                  description: The PEM encoded x509 certificate of the signer, also known as the CA (Certificate Authority). This is set on a best-effort basis by different issuers. If not set, the CA is assumed to be unknown/not available.
 
                  type: string
 
                  format: byte
 
                certificate:
 
                  description: The PEM encoded x509 certificate resulting from the certificate signing request. If not set, the CertificateRequest has either not been completed or has failed. More information on failure can be found by checking the `conditions` field.
 
                  type: string
 
                  format: byte
 
                conditions:
 
                  description: List of status conditions to indicate the status of a CertificateRequest. Known condition types are `Ready` and `InvalidRequest`.
 
                  type: array
 
                  items:
 
                    description: CertificateRequestCondition contains condition information for a CertificateRequest.
 
                    type: object
 
                    required:
 
                      - status
 
                      - type
 
                    properties:
 
                      lastTransitionTime:
 
                        description: LastTransitionTime is the timestamp corresponding to the last status change of this condition.
 
                        type: string
 
                        format: date-time
 
                      message:
 
                        description: Message is a human readable description of the details of the last transition, complementing reason.
 
                        type: string
 
                      reason:
 
                        description: Reason is a brief machine readable explanation for the condition's last transition.
 
                        type: string
 
                      status:
 
                        description: Status of the condition, one of (`True`, `False`, `Unknown`).
 
                        type: string
 
                        enum:
 
                          - "True"
 
                          - "False"
 
                          - Unknown
 
                      type:
 
                        description: Type of the condition, known values are (`Ready`, `InvalidRequest`, `Approved`, `Denied`).
 
                        type: string
 
                  x-kubernetes-list-map-keys:
 
                    - type
 
                  x-kubernetes-list-type: map
 
                failureTime:
 
                  description: FailureTime stores the time that this CertificateRequest failed. This is used to influence garbage collection and back-off.
 
                  type: string
 
                  format: date-time
 
      served: true
 
      storage: true
 
---
 
# Source: cert-manager/templates/crd-templates.yaml
 
apiVersion: apiextensions.k8s.io/v1
 
kind: CustomResourceDefinition
 
metadata:
 
  name: certificates.cert-manager.io
 
  labels:
 
    app: 'cert-manager'
 
    app.kubernetes.io/name: 'cert-manager'
 
    app.kubernetes.io/instance: 'cert-manager'
 
    # Generated labels
 
    app.kubernetes.io/version: "v1.9.1"
 
    app.kubernetes.io/version: "v1.10.1"
 
spec:
 
  group: cert-manager.io
 
  names:
 
    kind: Certificate
 
    listKind: CertificateList
 
    plural: certificates
 
    shortNames:
 
      - cert
 
      - certs
 
    singular: certificate
 
    categories:
 
      - cert-manager
 
  scope: Namespaced
 
  versions:
 
    - name: v1
 
      subresources:
 
        status: {}
 
      additionalPrinterColumns:
 
        - jsonPath: .status.conditions[?(@.type=="Ready")].status
 
          name: Ready
 
          type: string
 
        - jsonPath: .spec.secretName
 
          name: Secret
 
          type: string
 
        - jsonPath: .spec.issuerRef.name
 
          name: Issuer
 
          priority: 1
 
          type: string
 
        - jsonPath: .status.conditions[?(@.type=="Ready")].message
 
          name: Status
 
          priority: 1
 
          type: string
 
        - jsonPath: .metadata.creationTimestamp
 
          description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
 
          name: Age
 
          type: date
 
      schema:
 
        openAPIV3Schema:
 
          description: "A Certificate resource should be created to ensure an up to date and signed x509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`. \n The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`)."
 
          type: object
 
          required:
 
            - spec
 
          properties:
 
            apiVersion:
 
              description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
 
              type: string
 
            kind:
 
              description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
 
              type: string
 
            metadata:
 
              type: object
 
            spec:
 
              description: Desired state of the Certificate resource.
 
              type: object
 
              required:
 
                - issuerRef
 
                - secretName
 
              properties:
 
                additionalOutputFormats:
 
                  description: AdditionalOutputFormats defines extra output formats of the private key and signed certificate chain to be written to this Certificate's target Secret. This is an Alpha Feature and is only enabled with the `--feature-gates=AdditionalCertificateOutputFormats=true` option on both the controller and webhook components.
 
                  type: array
 
                  items:
 
                    description: CertificateAdditionalOutputFormat defines an additional output format of a Certificate resource. These contain supplementary data formats of the signed certificate chain and paired private key.
 
                    type: object
 
                    required:
 
                      - type
 
                    properties:
 
                      type:
 
                        description: Type is the name of the format type that should be written to the Certificate's target Secret.
 
                        type: string
 
                        enum:
 
                          - DER
 
                          - CombinedPEM
 
                commonName:
 
                  description: 'CommonName is a common name to be used on the Certificate. The CommonName should have a length of 64 characters or fewer to avoid generating invalid CSRs. This value is ignored by TLS clients when any subject alt name is set. This is x509 behaviour: https://tools.ietf.org/html/rfc6125#section-6.4.4'
 
                  type: string
 
                dnsNames:
 
                  description: DNSNames is a list of DNS subjectAltNames to be set on the Certificate.
 
                  type: array
 
                  items:
 
                    type: string
 
                duration:
 
                  description: The requested 'duration' (i.e. lifetime) of the Certificate. This option may be ignored/overridden by some issuer types. If unset this defaults to 90 days. Certificate will be renewed either 2/3 through its duration or `renewBefore` period before its expiry, whichever is later. Minimum accepted duration is 1 hour. Value must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration
 
                  type: string
 
                emailAddresses:
 
                  description: EmailAddresses is a list of email subjectAltNames to be set on the Certificate.
 
                  type: array
 
                  items:
 
                    type: string
 
                encodeUsagesInRequest:
 
                  description: EncodeUsagesInRequest controls whether key usages should be present in the CertificateRequest
 
                  type: boolean
 
                ipAddresses:
 
                  description: IPAddresses is a list of IP address subjectAltNames to be set on the Certificate.
 
                  type: array
 
                  items:
 
@@ -488,193 +486,193 @@ spec:
 
                      - cert sign
 
                      - crl sign
 
                      - encipher only
 
                      - decipher only
 
                      - any
 
                      - server auth
 
                      - client auth
 
                      - code signing
 
                      - email protection
 
                      - s/mime
 
                      - ipsec end system
 
                      - ipsec tunnel
 
                      - ipsec user
 
                      - timestamping
 
                      - ocsp signing
 
                      - microsoft sgc
 
                      - netscape sgc
 
            status:
 
              description: Status of the Certificate. This is set and managed automatically.
 
              type: object
 
              properties:
 
                conditions:
 
                  description: List of status conditions to indicate the status of certificates. Known condition types are `Ready` and `Issuing`.
 
                  type: array
 
                  items:
 
                    description: CertificateCondition contains condition information for an Certificate.
 
                    type: object
 
                    required:
 
                      - status
 
                      - type
 
                    properties:
 
                      lastTransitionTime:
 
                        description: LastTransitionTime is the timestamp corresponding to the last status change of this condition.
 
                        type: string
 
                        format: date-time
 
                      message:
 
                        description: Message is a human readable description of the details of the last transition, complementing reason.
 
                        type: string
 
                      observedGeneration:
 
                        description: If set, this represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date with respect to the current state of the Certificate.
 
                        type: integer
 
                        format: int64
 
                      reason:
 
                        description: Reason is a brief machine readable explanation for the condition's last transition.
 
                        type: string
 
                      status:
 
                        description: Status of the condition, one of (`True`, `False`, `Unknown`).
 
                        type: string
 
                        enum:
 
                          - "True"
 
                          - "False"
 
                          - Unknown
 
                      type:
 
                        description: Type of the condition, known values are (`Ready`, `Issuing`).
 
                        type: string
 
                  x-kubernetes-list-map-keys:
 
                    - type
 
                  x-kubernetes-list-type: map
 
                failedIssuanceAttempts:
 
                  description: The number of continuous failed issuance attempts up till now. This field gets removed (if set) on a successful issuance and gets set to 1 if unset and an issuance has failed. If an issuance has failed, the delay till the next issuance will be calculated using formula time.Hour * 2 ^ (failedIssuanceAttempts - 1).
 
                  type: integer
 
                lastFailureTime:
 
                  description: LastFailureTime is the time as recorded by the Certificate controller of the most recent failure to complete a CertificateRequest for this Certificate resource. If set, cert-manager will not re-request another Certificate until 1 hour has elapsed from this time.
 
                  type: string
 
                  format: date-time
 
                nextPrivateKeySecretName:
 
                  description: The name of the Secret resource containing the private key to be used for the next certificate iteration. The keymanager controller will automatically set this field if the `Issuing` condition is set to `True`. It will automatically unset this field when the Issuing condition is not set or False.
 
                  type: string
 
                notAfter:
 
                  description: The expiration time of the certificate stored in the secret named by this resource in `spec.secretName`.
 
                  type: string
 
                  format: date-time
 
                notBefore:
 
                  description: The time after which the certificate stored in the secret named by this resource in spec.secretName is valid.
 
                  type: string
 
                  format: date-time
 
                renewalTime:
 
                  description: RenewalTime is the time at which the certificate will be next renewed. If not set, no upcoming renewal is scheduled.
 
                  type: string
 
                  format: date-time
 
                revision:
 
                  description: "The current 'revision' of the certificate as issued. \n When a CertificateRequest resource is created, it will have the `cert-manager.io/certificate-revision` set to one greater than the current value of this field. \n Upon issuance, this field will be set to the value of the annotation on the CertificateRequest resource used to issue the certificate. \n Persisting the value on the CertificateRequest resource allows the certificates controller to know whether a request is part of an old issuance or if it is part of the ongoing revision's issuance by checking if the revision value in the annotation is greater than this field."
 
                  type: integer
 
      served: true
 
      storage: true
 
---
 
# Source: cert-manager/templates/crd-templates.yaml
 
apiVersion: apiextensions.k8s.io/v1
 
kind: CustomResourceDefinition
 
metadata:
 
  name: challenges.acme.cert-manager.io
 
  labels:
 
    app: 'cert-manager'
 
    app.kubernetes.io/name: 'cert-manager'
 
    app.kubernetes.io/instance: 'cert-manager'
 
    # Generated labels
 
    app.kubernetes.io/version: "v1.9.1"
 
    app.kubernetes.io/version: "v1.10.1"
 
spec:
 
  group: acme.cert-manager.io
 
  names:
 
    kind: Challenge
 
    listKind: ChallengeList
 
    plural: challenges
 
    singular: challenge
 
    categories:
 
      - cert-manager
 
      - cert-manager-acme
 
  scope: Namespaced
 
  versions:
 
    - additionalPrinterColumns:
 
        - jsonPath: .status.state
 
          name: State
 
          type: string
 
        - jsonPath: .spec.dnsName
 
          name: Domain
 
          type: string
 
        - jsonPath: .status.reason
 
          name: Reason
 
          priority: 1
 
          type: string
 
        - description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
 
          jsonPath: .metadata.creationTimestamp
 
          name: Age
 
          type: date
 
      name: v1
 
      schema:
 
        openAPIV3Schema:
 
          description: Challenge is a type to represent a Challenge request with an ACME server
 
          type: object
 
          required:
 
            - metadata
 
            - spec
 
          properties:
 
            apiVersion:
 
              description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
 
              type: string
 
            kind:
 
              description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
 
              type: string
 
            metadata:
 
              type: object
 
            spec:
 
              type: object
 
              required:
 
                - authorizationURL
 
                - dnsName
 
                - issuerRef
 
                - key
 
                - solver
 
                - token
 
                - type
 
                - url
 
              properties:
 
                authorizationURL:
 
                  description: The URL to the ACME Authorization resource that this challenge is a part of.
 
                  type: string
 
                dnsName:
 
                  description: dnsName is the identifier that this challenge is for, e.g. example.com. If the requested DNSName is a 'wildcard', this field MUST be set to the non-wildcard domain, e.g. for `*.example.com`, it must be `example.com`.
 
                  type: string
 
                issuerRef:
 
                  description: References a properly configured ACME-type Issuer which should be used to create this Challenge. If the Issuer does not exist, processing will be retried. If the Issuer is not an 'ACME' Issuer, an error will be returned and the Challenge will be marked as failed.
 
                  type: object
 
                  required:
 
                    - name
 
                  properties:
 
                    group:
 
                      description: Group of the resource being referred to.
 
                      type: string
 
                    kind:
 
                      description: Kind of the resource being referred to.
 
                      type: string
 
                    name:
 
                      description: Name of the resource being referred to.
 
                      type: string
 
                key:
 
                  description: 'The ACME challenge key for this challenge For HTTP01 challenges, this is the value that must be responded with to complete the HTTP01 challenge in the format: `<private key JWK thumbprint>.<key from acme server for challenge>`. For DNS01 challenges, this is the base64 encoded SHA256 sum of the `<private key JWK thumbprint>.<key from acme server for challenge>` text that must be set as the TXT record content.'
 
                  type: string
 
                solver:
 
                  description: Contains the domain solving configuration that should be used to solve this challenge resource.
 
                  type: object
 
                  properties:
 
                    dns01:
 
                      description: Configures cert-manager to attempt to complete authorizations by performing the DNS01 challenge flow.
 
                      type: object
 
                      properties:
 
                        acmeDNS:
 
                          description: Use the 'ACME DNS' (https://github.com/joohoi/acme-dns) API to manage DNS01 challenge records.
 
                          type: object
 
                          required:
 
                            - accountSecretRef
 
                            - host
 
                          properties:
 
                            accountSecretRef:
 
@@ -1535,193 +1533,193 @@ spec:
 
                                      type: array
 
                                      items:
 
                                        description: The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
 
                                        type: object
 
                                        properties:
 
                                          effect:
 
                                            description: Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
 
                                            type: string
 
                                          key:
 
                                            description: Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
 
                                            type: string
 
                                          operator:
 
                                            description: Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
 
                                            type: string
 
                                          tolerationSeconds:
 
                                            description: TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
 
                                            type: integer
 
                                            format: int64
 
                                          value:
 
                                            description: Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
 
                                            type: string
 
                            serviceType:
 
                              description: Optional service type for Kubernetes solver service. Supported values are NodePort or ClusterIP. If unset, defaults to NodePort.
 
                              type: string
 
                    selector:
 
                      description: Selector selects a set of DNSNames on the Certificate resource that should be solved using this challenge solver. If not specified, the solver will be treated as the 'default' solver with the lowest priority, i.e. if any other solver has a more specific match, it will be used instead.
 
                      type: object
 
                      properties:
 
                        dnsNames:
 
                          description: List of DNSNames that this solver will be used to solve. If specified and a match is found, a dnsNames selector will take precedence over a dnsZones selector. If multiple solvers match with the same dnsNames value, the solver with the most matching labels in matchLabels will be selected. If neither has more matches, the solver defined earlier in the list will be selected.
 
                          type: array
 
                          items:
 
                            type: string
 
                        dnsZones:
 
                          description: List of DNSZones that this solver will be used to solve. The most specific DNS zone match specified here will take precedence over other DNS zone matches, so a solver specifying sys.example.com will be selected over one specifying example.com for the domain www.sys.example.com. If multiple solvers match with the same dnsZones value, the solver with the most matching labels in matchLabels will be selected. If neither has more matches, the solver defined earlier in the list will be selected.
 
                          type: array
 
                          items:
 
                            type: string
 
                        matchLabels:
 
                          description: A label selector that is used to refine the set of certificate's that this challenge solver will apply to.
 
                          type: object
 
                          additionalProperties:
 
                            type: string
 
                token:
 
                  description: The ACME challenge token for this challenge. This is the raw value returned from the ACME server.
 
                  type: string
 
                type:
 
                  description: The type of ACME challenge this resource represents. One of "HTTP-01" or "DNS-01".
 
                  type: string
 
                  enum:
 
                    - HTTP-01
 
                    - DNS-01
 
                url:
 
                  description: The URL of the ACME Challenge resource for this challenge. This can be used to lookup details about the status of this challenge.
 
                  type: string
 
                wildcard:
 
                  description: wildcard will be true if this challenge is for a wildcard identifier, for example '*.example.com'.
 
                  type: boolean
 
            status:
 
              type: object
 
              properties:
 
                presented:
 
                  description: presented will be set to true if the challenge values for this challenge are currently 'presented'. This *does not* imply the self check is passing. Only that the values have been 'submitted' for the appropriate challenge mechanism (i.e. the DNS01 TXT record has been presented, or the HTTP01 configuration has been configured).
 
                  type: boolean
 
                processing:
 
                  description: Used to denote whether this challenge should be processed or not. This field will only be set to true by the 'scheduling' component. It will only be set to false by the 'challenges' controller, after the challenge has reached a final state or timed out. If this field is set to false, the challenge controller will not take any more action.
 
                  type: boolean
 
                reason:
 
                  description: Contains human readable information on why the Challenge is in the current state.
 
                  type: string
 
                state:
 
                  description: Contains the current 'state' of the challenge. If not set, the state of the challenge is unknown.
 
                  type: string
 
                  enum:
 
                    - valid
 
                    - ready
 
                    - pending
 
                    - processing
 
                    - invalid
 
                    - expired
 
                    - errored
 
      served: true
 
      storage: true
 
      subresources:
 
        status: {}
 
---
 
# Source: cert-manager/templates/crd-templates.yaml
 
apiVersion: apiextensions.k8s.io/v1
 
kind: CustomResourceDefinition
 
metadata:
 
  name: clusterissuers.cert-manager.io
 
  labels:
 
    app: 'cert-manager'
 
    app.kubernetes.io/name: 'cert-manager'
 
    app.kubernetes.io/instance: 'cert-manager'
 
    # Generated labels
 
    app.kubernetes.io/version: "v1.9.1"
 
    app.kubernetes.io/version: "v1.10.1"
 
spec:
 
  group: cert-manager.io
 
  names:
 
    kind: ClusterIssuer
 
    listKind: ClusterIssuerList
 
    plural: clusterissuers
 
    singular: clusterissuer
 
    categories:
 
      - cert-manager
 
  scope: Cluster
 
  versions:
 
    - name: v1
 
      subresources:
 
        status: {}
 
      additionalPrinterColumns:
 
        - jsonPath: .status.conditions[?(@.type=="Ready")].status
 
          name: Ready
 
          type: string
 
        - jsonPath: .status.conditions[?(@.type=="Ready")].message
 
          name: Status
 
          priority: 1
 
          type: string
 
        - jsonPath: .metadata.creationTimestamp
 
          description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
 
          name: Age
 
          type: date
 
      schema:
 
        openAPIV3Schema:
 
          description: A ClusterIssuer represents a certificate issuing authority which can be referenced as part of `issuerRef` fields. It is similar to an Issuer, however it is cluster-scoped and therefore can be referenced by resources that exist in *any* namespace, not just the same namespace as the referent.
 
          type: object
 
          required:
 
            - spec
 
          properties:
 
            apiVersion:
 
              description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
 
              type: string
 
            kind:
 
              description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
 
              type: string
 
            metadata:
 
              type: object
 
            spec:
 
              description: Desired state of the ClusterIssuer resource.
 
              type: object
 
              properties:
 
                acme:
 
                  description: ACME configures this issuer to communicate with a RFC8555 (ACME) server to obtain signed x509 certificates.
 
                  type: object
 
                  required:
 
                    - privateKeySecretRef
 
                    - server
 
                  properties:
 
                    disableAccountKeyGeneration:
 
                      description: Enables or disables generating a new ACME account key. If true, the Issuer resource will *not* request a new account but will expect the account key to be supplied via an existing secret. If false, the cert-manager system will generate a new ACME account key for the Issuer. Defaults to false.
 
                      type: boolean
 
                    email:
 
                      description: Email is the email address to be associated with the ACME account. This field is optional, but it is strongly recommended to be set. It will be used to contact you in case of issues with your account or certificates, including expiry notification emails. This field may be updated after the account is initially registered.
 
                      type: string
 
                    enableDurationFeature:
 
                      description: Enables requesting a Not After date on certificates that matches the duration of the certificate. This is not supported by all ACME servers like Let's Encrypt. If set to true when the ACME server does not support it it will create an error on the Order. Defaults to false.
 
                      type: boolean
 
                    externalAccountBinding:
 
                      description: ExternalAccountBinding is a reference to a CA external account of the ACME server. If set, upon registration cert-manager will attempt to associate the given external account credentials with the registered ACME account.
 
                      type: object
 
                      required:
 
                        - keyID
 
                        - keySecretRef
 
                      properties:
 
                        keyAlgorithm:
 
                          description: 'Deprecated: keyAlgorithm field exists for historical compatibility reasons and should not be used. The algorithm is now hardcoded to HS256 in golang/x/crypto/acme.'
 
                          type: string
 
                          enum:
 
                            - HS256
 
                            - HS384
 
                            - HS512
 
                        keyID:
 
                          description: keyID is the ID of the CA key that the External Account is bound to.
 
                          type: string
 
                        keySecretRef:
 
                          description: keySecretRef is a Secret Key Selector referencing a data item in a Kubernetes Secret which holds the symmetric MAC key of the External Account Binding. The `key` is the index string that is paired with the key data in the Secret and should not be confused with the key data itself, or indeed with the External Account Binding keyID above. The secret key stored in the Secret **must** be un-padded, base64 URL encoded data.
 
                          type: object
 
                          required:
 
                            - name
 
                          properties:
 
                            key:
 
                              description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
 
                              type: string
 
                            name:
 
                              description: 'Name of the resource being referred to. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
 
                              type: string
 
                    preferredChain:
 
                      description: 'PreferredChain is the chain to use if the ACME server outputs multiple. PreferredChain is no guarantee that this one gets delivered by the ACME endpoint. For example, for Let''s Encrypt''s DST crosssign you would use: "DST Root CA X3" or "ISRG Root X1" for the newer Let''s Encrypt root CA. This value picks the first certificate bundle in the ACME alternative chains that has a certificate with this value as its issuer''s CN'
 
                      type: string
 
                      maxLength: 64
 
                    privateKeySecretRef:
 
                      description: PrivateKey is the name of a Kubernetes Secret resource that will be used to store the automatically generated ACME account private key. Optionally, a `key` may be specified to select a specific entry within the named Secret resource. If `key` is not specified, a default of `tls.key` will be used.
 
@@ -2797,193 +2795,193 @@ spec:
 
                            name:
 
                              description: 'Name of the resource being referred to. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
 
                              type: string
 
                        url:
 
                          description: URL is the base URL for Venafi Cloud. Defaults to "https://api.venafi.cloud/v1".
 
                          type: string
 
                    tpp:
 
                      description: TPP specifies Trust Protection Platform configuration settings. Only one of TPP or Cloud may be specified.
 
                      type: object
 
                      required:
 
                        - credentialsRef
 
                        - url
 
                      properties:
 
                        caBundle:
 
                          description: CABundle is a PEM encoded TLS certificate to use to verify connections to the TPP instance. If specified, system roots will not be used and the issuing CA for the TPP instance must be verifiable using the provided root. If not specified, the connection will be verified using the cert-manager system root certificates.
 
                          type: string
 
                          format: byte
 
                        credentialsRef:
 
                          description: CredentialsRef is a reference to a Secret containing the username and password for the TPP server. The secret must contain two keys, 'username' and 'password'.
 
                          type: object
 
                          required:
 
                            - name
 
                          properties:
 
                            name:
 
                              description: 'Name of the resource being referred to. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
 
                              type: string
 
                        url:
 
                          description: 'URL is the base URL for the vedsdk endpoint of the Venafi TPP instance, for example: "https://tpp.example.com/vedsdk".'
 
                          type: string
 
                    zone:
 
                      description: Zone is the Venafi Policy Zone to use for this issuer. All requests made to the Venafi platform will be restricted by the named zone policy. This field is required.
 
                      type: string
 
            status:
 
              description: Status of the ClusterIssuer. This is set and managed automatically.
 
              type: object
 
              properties:
 
                acme:
 
                  description: ACME specific status options. This field should only be set if the Issuer is configured to use an ACME server to issue certificates.
 
                  type: object
 
                  properties:
 
                    lastRegisteredEmail:
 
                      description: LastRegisteredEmail is the email associated with the latest registered ACME account, in order to track changes made to registered account associated with the  Issuer
 
                      type: string
 
                    uri:
 
                      description: URI is the unique account identifier, which can also be used to retrieve account details from the CA
 
                      type: string
 
                conditions:
 
                  description: List of status conditions to indicate the status of a CertificateRequest. Known condition types are `Ready`.
 
                  type: array
 
                  items:
 
                    description: IssuerCondition contains condition information for an Issuer.
 
                    type: object
 
                    required:
 
                      - status
 
                      - type
 
                    properties:
 
                      lastTransitionTime:
 
                        description: LastTransitionTime is the timestamp corresponding to the last status change of this condition.
 
                        type: string
 
                        format: date-time
 
                      message:
 
                        description: Message is a human readable description of the details of the last transition, complementing reason.
 
                        type: string
 
                      observedGeneration:
 
                        description: If set, this represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date with respect to the current state of the Issuer.
 
                        type: integer
 
                        format: int64
 
                      reason:
 
                        description: Reason is a brief machine readable explanation for the condition's last transition.
 
                        type: string
 
                      status:
 
                        description: Status of the condition, one of (`True`, `False`, `Unknown`).
 
                        type: string
 
                        enum:
 
                          - "True"
 
                          - "False"
 
                          - Unknown
 
                      type:
 
                        description: Type of the condition, known values are (`Ready`).
 
                        type: string
 
                  x-kubernetes-list-map-keys:
 
                    - type
 
                  x-kubernetes-list-type: map
 
      served: true
 
      storage: true
 
---
 
# Source: cert-manager/templates/crd-templates.yaml
 
apiVersion: apiextensions.k8s.io/v1
 
kind: CustomResourceDefinition
 
metadata:
 
  name: issuers.cert-manager.io
 
  labels:
 
    app: 'cert-manager'
 
    app.kubernetes.io/name: 'cert-manager'
 
    app.kubernetes.io/instance: 'cert-manager'
 
    # Generated labels
 
    app.kubernetes.io/version: "v1.9.1"
 
    app.kubernetes.io/version: "v1.10.1"
 
spec:
 
  group: cert-manager.io
 
  names:
 
    kind: Issuer
 
    listKind: IssuerList
 
    plural: issuers
 
    singular: issuer
 
    categories:
 
      - cert-manager
 
  scope: Namespaced
 
  versions:
 
    - name: v1
 
      subresources:
 
        status: {}
 
      additionalPrinterColumns:
 
        - jsonPath: .status.conditions[?(@.type=="Ready")].status
 
          name: Ready
 
          type: string
 
        - jsonPath: .status.conditions[?(@.type=="Ready")].message
 
          name: Status
 
          priority: 1
 
          type: string
 
        - jsonPath: .metadata.creationTimestamp
 
          description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
 
          name: Age
 
          type: date
 
      schema:
 
        openAPIV3Schema:
 
          description: An Issuer represents a certificate issuing authority which can be referenced as part of `issuerRef` fields. It is scoped to a single namespace and can therefore only be referenced by resources within the same namespace.
 
          type: object
 
          required:
 
            - spec
 
          properties:
 
            apiVersion:
 
              description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
 
              type: string
 
            kind:
 
              description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
 
              type: string
 
            metadata:
 
              type: object
 
            spec:
 
              description: Desired state of the Issuer resource.
 
              type: object
 
              properties:
 
                acme:
 
                  description: ACME configures this issuer to communicate with a RFC8555 (ACME) server to obtain signed x509 certificates.
 
                  type: object
 
                  required:
 
                    - privateKeySecretRef
 
                    - server
 
                  properties:
 
                    disableAccountKeyGeneration:
 
                      description: Enables or disables generating a new ACME account key. If true, the Issuer resource will *not* request a new account but will expect the account key to be supplied via an existing secret. If false, the cert-manager system will generate a new ACME account key for the Issuer. Defaults to false.
 
                      type: boolean
 
                    email:
 
                      description: Email is the email address to be associated with the ACME account. This field is optional, but it is strongly recommended to be set. It will be used to contact you in case of issues with your account or certificates, including expiry notification emails. This field may be updated after the account is initially registered.
 
                      type: string
 
                    enableDurationFeature:
 
                      description: Enables requesting a Not After date on certificates that matches the duration of the certificate. This is not supported by all ACME servers like Let's Encrypt. If set to true when the ACME server does not support it it will create an error on the Order. Defaults to false.
 
                      type: boolean
 
                    externalAccountBinding:
 
                      description: ExternalAccountBinding is a reference to a CA external account of the ACME server. If set, upon registration cert-manager will attempt to associate the given external account credentials with the registered ACME account.
 
                      type: object
 
                      required:
 
                        - keyID
 
                        - keySecretRef
 
                      properties:
 
                        keyAlgorithm:
 
                          description: 'Deprecated: keyAlgorithm field exists for historical compatibility reasons and should not be used. The algorithm is now hardcoded to HS256 in golang/x/crypto/acme.'
 
                          type: string
 
                          enum:
 
                            - HS256
 
                            - HS384
 
                            - HS512
 
                        keyID:
 
                          description: keyID is the ID of the CA key that the External Account is bound to.
 
                          type: string
 
                        keySecretRef:
 
                          description: keySecretRef is a Secret Key Selector referencing a data item in a Kubernetes Secret which holds the symmetric MAC key of the External Account Binding. The `key` is the index string that is paired with the key data in the Secret and should not be confused with the key data itself, or indeed with the External Account Binding keyID above. The secret key stored in the Secret **must** be un-padded, base64 URL encoded data.
 
                          type: object
 
                          required:
 
                            - name
 
                          properties:
 
                            key:
 
                              description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
 
                              type: string
 
                            name:
 
                              description: 'Name of the resource being referred to. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
 
                              type: string
 
                    preferredChain:
 
                      description: 'PreferredChain is the chain to use if the ACME server outputs multiple. PreferredChain is no guarantee that this one gets delivered by the ACME endpoint. For example, for Let''s Encrypt''s DST crosssign you would use: "DST Root CA X3" or "ISRG Root X1" for the newer Let''s Encrypt root CA. This value picks the first certificate bundle in the ACME alternative chains that has a certificate with this value as its issuer''s CN'
 
                      type: string
 
                      maxLength: 64
 
                    privateKeySecretRef:
 
                      description: PrivateKey is the name of a Kubernetes Secret resource that will be used to store the automatically generated ACME account private key. Optionally, a `key` may be specified to select a specific entry within the named Secret resource. If `key` is not specified, a default of `tls.key` will be used.
 
@@ -4059,193 +4057,193 @@ spec:
 
                            name:
 
                              description: 'Name of the resource being referred to. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
 
                              type: string
 
                        url:
 
                          description: URL is the base URL for Venafi Cloud. Defaults to "https://api.venafi.cloud/v1".
 
                          type: string
 
                    tpp:
 
                      description: TPP specifies Trust Protection Platform configuration settings. Only one of TPP or Cloud may be specified.
 
                      type: object
 
                      required:
 
                        - credentialsRef
 
                        - url
 
                      properties:
 
                        caBundle:
 
                          description: CABundle is a PEM encoded TLS certificate to use to verify connections to the TPP instance. If specified, system roots will not be used and the issuing CA for the TPP instance must be verifiable using the provided root. If not specified, the connection will be verified using the cert-manager system root certificates.
 
                          type: string
 
                          format: byte
 
                        credentialsRef:
 
                          description: CredentialsRef is a reference to a Secret containing the username and password for the TPP server. The secret must contain two keys, 'username' and 'password'.
 
                          type: object
 
                          required:
 
                            - name
 
                          properties:
 
                            name:
 
                              description: 'Name of the resource being referred to. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
 
                              type: string
 
                        url:
 
                          description: 'URL is the base URL for the vedsdk endpoint of the Venafi TPP instance, for example: "https://tpp.example.com/vedsdk".'
 
                          type: string
 
                    zone:
 
                      description: Zone is the Venafi Policy Zone to use for this issuer. All requests made to the Venafi platform will be restricted by the named zone policy. This field is required.
 
                      type: string
 
            status:
 
              description: Status of the Issuer. This is set and managed automatically.
 
              type: object
 
              properties:
 
                acme:
 
                  description: ACME specific status options. This field should only be set if the Issuer is configured to use an ACME server to issue certificates.
 
                  type: object
 
                  properties:
 
                    lastRegisteredEmail:
 
                      description: LastRegisteredEmail is the email associated with the latest registered ACME account, in order to track changes made to registered account associated with the  Issuer
 
                      type: string
 
                    uri:
 
                      description: URI is the unique account identifier, which can also be used to retrieve account details from the CA
 
                      type: string
 
                conditions:
 
                  description: List of status conditions to indicate the status of a CertificateRequest. Known condition types are `Ready`.
 
                  type: array
 
                  items:
 
                    description: IssuerCondition contains condition information for an Issuer.
 
                    type: object
 
                    required:
 
                      - status
 
                      - type
 
                    properties:
 
                      lastTransitionTime:
 
                        description: LastTransitionTime is the timestamp corresponding to the last status change of this condition.
 
                        type: string
 
                        format: date-time
 
                      message:
 
                        description: Message is a human readable description of the details of the last transition, complementing reason.
 
                        type: string
 
                      observedGeneration:
 
                        description: If set, this represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date with respect to the current state of the Issuer.
 
                        type: integer
 
                        format: int64
 
                      reason:
 
                        description: Reason is a brief machine readable explanation for the condition's last transition.
 
                        type: string
 
                      status:
 
                        description: Status of the condition, one of (`True`, `False`, `Unknown`).
 
                        type: string
 
                        enum:
 
                          - "True"
 
                          - "False"
 
                          - Unknown
 
                      type:
 
                        description: Type of the condition, known values are (`Ready`).
 
                        type: string
 
                  x-kubernetes-list-map-keys:
 
                    - type
 
                  x-kubernetes-list-type: map
 
      served: true
 
      storage: true
 
---
 
# Source: cert-manager/templates/crd-templates.yaml
 
apiVersion: apiextensions.k8s.io/v1
 
kind: CustomResourceDefinition
 
metadata:
 
  name: orders.acme.cert-manager.io
 
  labels:
 
    app: 'cert-manager'
 
    app.kubernetes.io/name: 'cert-manager'
 
    app.kubernetes.io/instance: 'cert-manager'
 
    # Generated labels
 
    app.kubernetes.io/version: "v1.9.1"
 
    app.kubernetes.io/version: "v1.10.1"
 
spec:
 
  group: acme.cert-manager.io
 
  names:
 
    kind: Order
 
    listKind: OrderList
 
    plural: orders
 
    singular: order
 
    categories:
 
      - cert-manager
 
      - cert-manager-acme
 
  scope: Namespaced
 
  versions:
 
    - name: v1
 
      subresources:
 
        status: {}
 
      additionalPrinterColumns:
 
        - jsonPath: .status.state
 
          name: State
 
          type: string
 
        - jsonPath: .spec.issuerRef.name
 
          name: Issuer
 
          priority: 1
 
          type: string
 
        - jsonPath: .status.reason
 
          name: Reason
 
          priority: 1
 
          type: string
 
        - jsonPath: .metadata.creationTimestamp
 
          description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
 
          name: Age
 
          type: date
 
      schema:
 
        openAPIV3Schema:
 
          description: Order is a type to represent an Order with an ACME server
 
          type: object
 
          required:
 
            - metadata
 
            - spec
 
          properties:
 
            apiVersion:
 
              description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
 
              type: string
 
            kind:
 
              description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
 
              type: string
 
            metadata:
 
              type: object
 
            spec:
 
              type: object
 
              required:
 
                - issuerRef
 
                - request
 
              properties:
 
                commonName:
 
                  description: CommonName is the common name as specified on the DER encoded CSR. If specified, this value must also be present in `dnsNames` or `ipAddresses`. This field must match the corresponding field on the DER encoded CSR.
 
                  type: string
 
                dnsNames:
 
                  description: DNSNames is a list of DNS names that should be included as part of the Order validation process. This field must match the corresponding field on the DER encoded CSR.
 
                  type: array
 
                  items:
 
                    type: string
 
                duration:
 
                  description: Duration is the duration for the not after date for the requested certificate. this is set on order creation as pe the ACME spec.
 
                  type: string
 
                ipAddresses:
 
                  description: IPAddresses is a list of IP addresses that should be included as part of the Order validation process. This field must match the corresponding field on the DER encoded CSR.
 
                  type: array
 
                  items:
 
                    type: string
 
                issuerRef:
 
                  description: IssuerRef references a properly configured ACME-type Issuer which should be used to create this Order. If the Issuer does not exist, processing will be retried. If the Issuer is not an 'ACME' Issuer, an error will be returned and the Order will be marked as failed.
 
                  type: object
 
                  required:
 
                    - name
 
                  properties:
 
                    group:
 
                      description: Group of the resource being referred to.
 
                      type: string
 
                    kind:
 
                      description: Kind of the resource being referred to.
 
                      type: string
 
                    name:
 
                      description: Name of the resource being referred to.
 
                      type: string
 
                request:
 
                  description: Certificate signing request bytes in DER encoding. This will be used when finalizing the order. This field must be set on the order.
 
                  type: string
 
                  format: byte
 
            status:
 
              type: object
 
              properties:
 
                authorizations:
 
                  description: Authorizations contains data returned from the ACME server on what authorizations must be completed in order to validate the DNS names specified on the Order.
 
                  type: array
 
                  items:
 
                    description: ACMEAuthorization contains data returned from the ACME server on an authorization that must be completed in order validate a DNS name on an ACME Order resource.
04-gen-secrets-job.yaml
Show inline comments
 
file renamed from kube/04-gen-secrets-job.yaml to 04-gen-secrets-job.yaml
 
apiVersion: batch/v1
 
kind: Job
 
metadata:
 
  labels:
 
    app.kubernetes.io/name: pomerium
 
  name: pomerium-gen-secrets
 
  namespace: pomerium
 
spec:
 
  template:
 
    metadata:
 
      labels:
 
        app.kubernetes.io/name: pomerium
 
      name: pomerium-gen-secrets
 
    spec:
 
      containers:
 
      - args:
 
        - gen-secrets
 
        - --secrets=$(POD_NAMESPACE)/bootstrap
 
        env:
 
        - name: POD_NAMESPACE
 
          valueFrom:
 
            fieldRef:
 
              fieldPath: metadata.namespace
 
        image: pomerium/ingress-controller:main
 
        image: pomerium/ingress-controller:sha-efe2d11
 
        imagePullPolicy: IfNotPresent
 
        name: gen-secrets
 
        securityContext:
 
          allowPrivilegeEscalation: false
 
      nodeSelector:
 
        kubernetes.io/os: linux
 
      restartPolicy: OnFailure
 
      securityContext:
 
        fsGroup: 1000
 
        runAsNonRoot: true
 
        runAsUser: 1000
 
      serviceAccountName: pomerium-gen-secrets
20-kube/20-pom-deploy.yaml
Show inline comments
 
apiVersion: apps/v1
 
kind: Deployment
 
metadata:
 
  labels: { app.kubernetes.io/name: pomerium }
 
  name: pomerium
 
  namespace: pomerium
 
spec:
 
  replicas: 1
 
  selector:
 
    matchLabels: { app.kubernetes.io/name: pomerium }
 
  template:
 
    metadata:
 
      labels: { app.kubernetes.io/name: pomerium }
 
    spec:
 
      containers:
 
        - args:
 
            - all-in-one
 
            - --pomerium-config=global
 
            - --update-status-from-service=$(POMERIUM_NAMESPACE)/pomerium-proxy
 
            - --metrics-bind-address=$(POD_IP):9090
 
          env:
 
            - { name: TMPDIR, value: /tmp }
 
            - { name: XDG_CACHE_HOME, value: /tmp }
 
            - name: POMERIUM_NAMESPACE
 
              valueFrom:
 
                fieldRef:
 
                  apiVersion: v1
 
                  fieldPath: metadata.namespace
 
            - name: POD_IP
 
              valueFrom:
 
                fieldRef:
 
                  fieldPath: status.podIP
 
          image: pomerium/ingress-controller:sha-5294279
 
          image: pomerium/ingress-controller:sha-efe2d11
 
          imagePullPolicy: IfNotPresent
 
          name: pomerium
 
          ports:
 
            - { containerPort: 8443, name: https, protocol: TCP }
 
            - { containerPort: 8080, name: http, protocol: TCP }
 
            - { containerPort: 9090, name: metrics, protocol: TCP }
 
          resources:
 
            limits: { cpu: 5000m, memory: 1Gi }
 
            requests: { cpu: 300m, memory: 200Mi }
 
          securityContext:
 
            allowPrivilegeEscalation: false
 
            readOnlyRootFilesystem: true
 
            runAsGroup: 1000
 
            runAsNonRoot: true
 
            runAsUser: 1000
 
          volumeMounts:
 
            - { mountPath: /tmp, name: tmp }
 
            - { mountPath: /data/autocert, name: autocert }
 
      nodeSelector:
 
        kubernetes.io/os: linux
 
      securityContext:
 
        runAsNonRoot: true
 
      serviceAccountName: pomerium-controller
 
      terminationGracePeriodSeconds: 10
 
      volumes:
 
        - { name: tmp, emptyDir: {} }
 
        - { name: autocert, persistentVolumeClaim: { claimName: autocert-data } }
 
      affinity:
 
        nodeAffinity:
 
          requiredDuringSchedulingIgnoredDuringExecution:
 
            nodeSelectorTerms:
 
              - matchExpressions:
 
                  - key: "kubernetes.io/hostname"
 
                    operator: In
 
                    values: ["bang"]
 
---
 
apiVersion: networking.k8s.io/v1
 
kind: IngressClass
 
metadata:
 
  labels:
 
    app.kubernetes.io/name: pomerium
 
  name: pomerium
 
spec:
 
  controller: pomerium.io/ingress-controller
0 comments (0 inline, 0 general)