---
# Source: origin-ca-issuer/templates/issuer-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: default-origin-ca-issuer
  namespace: 'network'
  labels:
    app: origin-ca-issuer
    app.kubernetes.io/name: origin-ca-issuer
    app.kubernetes.io/instance: default
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/component: 'controller'
    helm.sh/chart: origin-ca-issuer-0.5.1
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/name: origin-ca-issuer
      app.kubernetes.io/instance: default
      app.kubernetes.io/component: 'controller'
  template:
    metadata:
      labels:
        app: origin-ca-issuer
        app.kubernetes.io/name: origin-ca-issuer
        app.kubernetes.io/instance: default
        app.kubernetes.io/component: 'controller'
        app.kubernetes.io/managed-by: Helm
        helm.sh/chart: origin-ca-issuer-0.5.1
    spec:
      serviceAccount: default-origin-ca-issuer
      serviceAccountName: default-origin-ca-issuer
      containers:
        - name: origin-ca-issuer
          image: 'cloudflare/origin-ca-issuer:v0.5.1'
          imagePullPolicy: Always
          env:
            - name: POD_NAMESPACE
              valueFrom:
                fieldRef:
                  fieldPath: metadata.namespace
          resources:
            limits:
              cpu: 100m
              memory: 100Mi
            requests:
              cpu: 100m
              memory: 50Mi
