github.com/midokura/kubeedge@v1.2.0-mido.0/build/admission/deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    labels:
     5      app: kubeedge-admission
     6    name: kubeedge-admission
     7    namespace: kubeedge
     8  spec:
     9    replicas: 1
    10    selector:
    11      matchLabels:
    12        app: kubeedge-admission
    13    template:
    14      metadata:
    15        labels:
    16          app: kubeedge-admission
    17      spec:
    18        serviceAccount: kubeedge-admission
    19        containers:
    20          - args:
    21              - --tls-cert-file=/admission.local.config/certificates/tls.crt
    22              - --tls-private-key-file=/admission.local.config/certificates/tls.key
    23              - --ca-cert-file=/admission.local.config/certificates/ca.crt
    24              - --webhook-namespace=kubeedge
    25              - --webhook-service-name=kubeedge-admission-service
    26              - --alsologtostderr
    27              - --port=443
    28              - -v=4
    29              - 2>&1
    30            image: kubeedge/admission:latest
    31            imagePullPolicy: IfNotPresent
    32            name: admission
    33            ports:
    34            - containerPort: 443
    35              protocol: TCP
    36            volumeMounts:
    37              - mountPath: /admission.local.config/certificates
    38                name: admission-certs
    39                readOnly: true
    40        volumes:
    41          - name: admission-certs
    42            secret:
    43              defaultMode: 420
    44              secretName: kubeedge-admission-secret