website/content/zh/examples/pods/private-reg-pod.yaml

12 lines
178 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: private-reg
spec:
containers:
- name: private-reg-container
image: <your-private-image>
imagePullSecrets:
- name: regcred