github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/cloud/kubernetes/multiregion/client-secure.yaml (about) 1 apiVersion: v1 2 kind: Pod 3 metadata: 4 name: cockroachdb-client-secure 5 labels: 6 app: cockroachdb-client 7 spec: 8 serviceAccountName: cockroachdb 9 containers: 10 - name: cockroachdb-client 11 image: cockroachdb/cockroach:v20.1.1 12 imagePullPolicy: IfNotPresent 13 volumeMounts: 14 - name: client-certs 15 mountPath: /cockroach-certs 16 # Keep a pod open indefinitely so kubectl exec can be used to get a shell to it 17 # and run cockroach client commands, such as cockroach sql, cockroach node status, etc. 18 command: 19 - sleep 20 - "2147483648" # 2^31 21 # This pod isn't doing anything important, so don't bother waiting to terminate it. 22 terminationGracePeriodSeconds: 0 23 volumes: 24 - name: client-certs 25 secret: 26 secretName: cockroachdb.client.root 27 defaultMode: 256