feat(cli): provide imagepullsecret option for container as function (#2680)
Signed-off-by: Shubham Nazare <shubham4443@gmail.com>
This commit is contained in:
@@ -96,6 +96,7 @@ var (
|
||||
RunTimeTargetCPU = Flag{Type: Int, Name: flagkey.RuntimeTargetcpu, Usage: "Target average CPU usage percentage across pods for scaling", DefaultValue: 80}
|
||||
RunTimeMinMemory = Flag{Type: Int, Name: flagkey.RuntimeMinmemory, Usage: "Minimum memory to be assigned to pod (In megabyte)"}
|
||||
RunTimeMaxMemory = Flag{Type: Int, Name: flagkey.RuntimeMaxmemory, Usage: "Maximum memory to be assigned to pod (In megabyte)"}
|
||||
RunImagePullSecret = Flag{Type: String, Name: flagkey.RunImagePullSecret, Usage: "Secret for Kubernetes to pull an image from a private registry"}
|
||||
|
||||
ReplicasMin = Flag{Type: Int, Name: flagkey.ReplicasMinscale, Usage: "Minimum number of pods (Uses resource inputs to configure HPA)", DefaultValue: 1}
|
||||
ReplicasMax = Flag{Type: Int, Name: flagkey.ReplicasMaxscale, Usage: "Maximum number of pods (Uses resource inputs to configure HPA)", DefaultValue: 1}
|
||||
|
||||
@@ -44,11 +44,12 @@ const (
|
||||
NamespacePod = "pod-namespace"
|
||||
ForceDelete = "force"
|
||||
|
||||
RuntimeMincpu = "mincpu"
|
||||
RuntimeMaxcpu = "maxcpu"
|
||||
RuntimeMinmemory = "minmemory"
|
||||
RuntimeMaxmemory = "maxmemory"
|
||||
RuntimeTargetcpu = "targetcpu"
|
||||
RuntimeMincpu = "mincpu"
|
||||
RuntimeMaxcpu = "maxcpu"
|
||||
RuntimeMinmemory = "minmemory"
|
||||
RuntimeMaxmemory = "maxmemory"
|
||||
RuntimeTargetcpu = "targetcpu"
|
||||
RunImagePullSecret = "imagepullsecret"
|
||||
|
||||
ReplicasMinscale = "minscale"
|
||||
ReplicasMaxscale = "maxscale"
|
||||
|
||||
Reference in New Issue
Block a user