spec.imagePullSecrets

From wikieduonline
Revision as of 05:37, 18 July 2024 by Welcome (talk | contribs)
Jump to navigation Jump to search

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


Error: INSTALLATION FAILED: 1 error occurred:
	* Deployment in version "v1" cannot be handled as a Deployment: json: cannot unmarshal string into Go struct field 
PodSpec.spec.template.spec.imagePullSecrets of type v1.LocalObjectReference


Related

See also

Advertising: