Add serviceAccountName to auth spec

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan 2022-05-03 15:17:49 +03:00
parent 4885278691
commit 2912d1d437
No known key found for this signature in database
GPG key ID: 3299AEB0E4085BAF

View file

@ -119,6 +119,13 @@ kubectl create secret docker-registry regcred \
--docker-password=<your-pword>
```
For image pull secrets attached to a service account, the account name can be specified with:
```yaml
spec:
serviceAccountName: regsa
```
#### Client cert auth
For private repositories which require a certificate to authenticate,