spec.imagePullSecrets
(Redirected from ImagePullSecrets)
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
Errors[edit]
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
Solution: imagePullSecrets: [{ name: yourSecret }]
coalesce.go:237: warning: skipped value for prometheus.imagePullSecrets: Not a table.
Related[edit]
See also[edit]
- imagePullSecrets
ImagePullPolicy, imagePullSecrets- Kubernetes secrets: types,
kubectl [ get | create | describe | delete | secret ] secrets,secret.yml, kind: Secret, secretKeyRef, default-token, imagePullSecrets:, kubernetes.io/dockerconfigjson, External Secrets Operator (kind: ExternalSecret), Kubeseal kind: Pod: spec.containers, spec.initContainers, spec.volumes, spec.securityContext, spec.imagePullSecretshelm get values
Advertising: