daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Mar 18th, 2019 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apiVersion: extensions/v1beta1
  2. kind: DaemonSet
  3. metadata:
  4.   name: registry-ca
  5.   namespace: harbor-nqkv5
  6.   labels:
  7.     k8s-app: registry-ca
  8. spec:
  9.   template:
  10.     metadata:
  11.       labels:
  12.         name: registry-ca
  13.     spec:
  14.       containers:
  15.       - name: registry-ca
  16.         image: busybox
  17.         command: [ 'sh' ]
  18.         args: [ '-c', 'cp /home/core/ca.crt /etc/docker/certs.d/reg.example.com/ca.crt && exec tail -f /dev/null' ]
  19.         volumeMounts:
  20.         - name: etc-docker
  21.           mountPath: /etc/docker/certs.d/reg.example.com
  22.         - name: ca-cert
  23.           mountPath: /home/core
  24.       terminationGracePeriodSeconds: 30
  25.       volumes:
  26.       - name: etc-docker
  27.         hostPath:
  28.           path: /etc/docker/certs.d/reg.example.com
  29.       - name: ca-cert
  30.         secret:
  31.           secretName: harbor-nqkv5-harbor-nginx
  32.           items:
  33.             - key: ca.crt
  34.               path: ca.crt
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top