2023-06-03 22:50:08 +00:00
|
|
|
package types
|
|
|
|
|
|
|
|
// KubernetesBackendOptions defines all the advanced options for the kubernetes backend
|
|
|
|
type KubernetesBackendOptions struct {
|
2023-06-12 14:00:59 +00:00
|
|
|
Resources Resources `json:"resouces,omitempty"`
|
|
|
|
ServiceAccountName string `json:"serviceAccountName,omitempty"`
|
|
|
|
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
|
2023-06-03 22:50:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Resources defines two maps for kubernetes resource definitions
|
|
|
|
type Resources struct {
|
|
|
|
Requests map[string]string `json:"requests,omitempty"`
|
|
|
|
Limits map[string]string `json:"limits,omitempty"`
|
|
|
|
}
|