Changeset - 723ad82340d1
[Not reviewed]
default
1 2 1
drewp@bigasterisk.com - 2 years 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
 
@@ -187,49 +185,49 @@ spec:
 
                          - 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
 
@@ -560,49 +558,49 @@ spec:
 
                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.
 
@@ -1607,49 +1605,49 @@ spec:
 
                  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.
 
@@ -2869,49 +2867,49 @@ spec:
 
                        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.
 
@@ -4131,49 +4129,49 @@ spec:
 
                        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
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
 
@@ -9,49 +9,49 @@ spec:
 
  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
0 comments (0 inline, 0 general)