forked from LaconicNetwork/kompose
Add ServiceAccountName
The label `kompose.service.accountname` defines the service account name to provide the credential info of the pod.
This commit is contained in:
@@ -244,6 +244,19 @@ services:
|
||||
- "6379"
|
||||
```
|
||||
|
||||
- `kompose.service.accountname` 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.service.accountname: "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:
|
||||
|
||||
Reference in New Issue
Block a user