1
0
mirror of https://github.com/rancher/types.git synced 2025-07-19 15:56:26 +00:00

Merge pull request #421 from moelsayed/addon_retries

Addon retries
This commit is contained in:
Alena Prokharchyk 2018-05-08 10:21:03 -07:00 committed by GitHub
commit 6e722de69b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,8 @@ type RancherKubernetesEngineConfig struct {
CloudProvider CloudProvider `yaml:"cloud_provider" json:"cloudProvider,omitempty"`
// kubernetes directory path
PrefixPath string `yaml:"prefix_path" json:"prefixPath,omitempty"`
// Number of status check retries for addon deployment jobs
AddonJobRetries int `yaml:"addon_job_retries" json:"addonJobRetries,omitempty" norman:"default=5"`
}
type PrivateRegistry struct {

View File

@ -2,6 +2,7 @@ package client
const (
RancherKubernetesEngineConfigType = "rancherKubernetesEngineConfig"
RancherKubernetesEngineConfigFieldAddonJobRetries = "addonJobRetries"
RancherKubernetesEngineConfigFieldAddons = "addons"
RancherKubernetesEngineConfigFieldAddonsInclude = "addonsInclude"
RancherKubernetesEngineConfigFieldAuthentication = "authentication"
@ -21,6 +22,7 @@ const (
)
type RancherKubernetesEngineConfig struct {
AddonJobRetries int64 `json:"addonJobRetries,omitempty" yaml:"addonJobRetries,omitempty"`
Addons string `json:"addons,omitempty" yaml:"addons,omitempty"`
AddonsInclude []string `json:"addonsInclude,omitempty" yaml:"addonsInclude,omitempty"`
Authentication *AuthnConfig `json:"authentication,omitempty" yaml:"authentication,omitempty"`