forked from LaconicNetwork/kompose
Fixed LabelServiceAccountName
This commit is contained in:
parent
f7f987de49
commit
998dbd72f2
@ -244,7 +244,7 @@ services:
|
||||
- "6379"
|
||||
```
|
||||
|
||||
- `kompose.service.accountname` defines the service account name to provide the credential info of the pod.
|
||||
- `kompose.serviceaccount-name` defines the service account name to provide the credential info of the pod.
|
||||
|
||||
For example:
|
||||
|
||||
@ -254,7 +254,7 @@ services:
|
||||
app:
|
||||
image: python
|
||||
labels:
|
||||
kompose.service.accountname: "my-service"
|
||||
kompose.serviceaccount-name: "my-service"
|
||||
```
|
||||
|
||||
- `kompose.image-pull-secret` defines a kubernetes secret name for imagePullSecrets podspec field.
|
||||
|
||||
@ -41,7 +41,7 @@ const (
|
||||
// LabelServiceExposeTLSSecret provides the name of the TLS secret to use with the Kubernetes ingress controller
|
||||
LabelServiceExposeTLSSecret = "kompose.service.expose.tls-secret"
|
||||
// LabelServiceAccountName defines the service account name to provide the credential info of the pod.
|
||||
LabelServiceAccountName = "kompose.service.accountname"
|
||||
LabelServiceAccountName = "kompose.serviceaccount-name"
|
||||
// LabelControllerType defines the type of controller to be created
|
||||
LabelControllerType = "kompose.controller.type"
|
||||
// LabelImagePullSecret defines a secret name for kubernetes ImagePullSecrets
|
||||
|
||||
Loading…
Reference in New Issue
Block a user