Merge pull request #1401 from tk42/service_account

Add ServiceAccountName
This commit is contained in:
Kubernetes Prow Robot
2021-08-12 07:15:47 -07:00
committed by GitHub
7 changed files with 116 additions and 1 deletions
+13
View File
@@ -244,6 +244,19 @@ services:
- "6379"
```
- `kompose.serviceaccount-name` defines the service account name to provide the credential info of the pod.
For example:
```yaml
version: '3.4'
services:
app:
image: python
labels:
kompose.serviceaccount-name: "my-service"
```
- `kompose.image-pull-secret` defines a kubernetes secret name for imagePullSecrets podspec field.
This secret will be used for pulling private images.
For example: