github.com/caos/orbos@v1.5.14-0.20221103111702-e6cd0cea7ad4/internal/operator/boom/application/applications/metricsserver/helm/values.go (about) 1 package helm 2 3 import "github.com/caos/orbos/pkg/kubernetes/k8s" 4 5 type Rbac struct { 6 Create bool `yaml:"create"` 7 PspEnabled bool `yaml:"pspEnabled"` 8 } 9 type ServiceAccount struct { 10 Create bool `yaml:"create"` 11 Name string `yaml:"name,omitempty"` 12 } 13 type APIService struct { 14 Create bool `yaml:"create"` 15 } 16 type HostNetwork struct { 17 Enabled bool `yaml:"enabled"` 18 } 19 type Image struct { 20 Repository string `yaml:"repository"` 21 Tag string `yaml:"tag"` 22 PullPolicy string `yaml:"pullPolicy"` 23 } 24 type HTTPGet struct { 25 Path string `yaml:"path,omitempty"` 26 Port string `yaml:"port,omitempty"` 27 Scheme string `yaml:"scheme,omitempty"` 28 } 29 type LivenessProbe struct { 30 HTTPGet *HTTPGet `yaml:"httpGet,omitempty"` 31 InitialDelaySeconds int `yaml:"initialDelaySeconds,omitempty"` 32 } 33 type ReadinessProbe struct { 34 HTTPGet *HTTPGet `yaml:"httpGet,omitempty"` 35 InitialDelaySeconds int `yaml:"initialDelaySeconds,omitempty"` 36 } 37 type Capabilities struct { 38 Drop []string `yaml:"drop,omitempty"` 39 } 40 type SecurityContext struct { 41 AllowPrivilegeEscalation bool `yaml:"allowPrivilegeEscalation,omitempty"` 42 Capabilities *Capabilities `yaml:"capabilities,omitempty"` 43 ReadOnlyRootFilesystem bool `yaml:"readOnlyRootFilesystem,omitempty"` 44 RunAsGroup int `yaml:"runAsGroup,omitempty"` 45 RunAsNonRoot bool `yaml:"runAsNonRoot,omitempty"` 46 RunAsUser int `yaml:"runAsUser,omitempty"` 47 } 48 type Service struct { 49 Annotations map[string]string `yaml:"annotations,omitempty"` 50 Labels map[string]string `yaml:"labels,omitempty"` 51 Port int `yaml:"port,omitempty"` 52 Type string `yaml:"type,omitempty"` 53 } 54 type PodDisruptionBudget struct { 55 Enabled bool `yaml:"enabled"` 56 MinAvailable interface{} `yaml:"minAvailable,omitempty"` 57 MaxUnavailable interface{} `yaml:"maxUnavailable,omitempty"` 58 } 59 type Values struct { 60 Rbac *Rbac `yaml:"rbac,omitempty"` 61 ServiceAccount *ServiceAccount `yaml:"serviceAccount,omitempty"` 62 APIService *APIService `yaml:"apiService,omitempty"` 63 HostNetwork *HostNetwork `yaml:"hostNetwork,omitempty"` 64 Image *Image `yaml:"image,omitempty"` 65 ImagePullSecrets []interface{} `yaml:"imagePullSecrets,omitempty"` 66 Args []string `yaml:"args,omitempty"` 67 Resources *k8s.Resources `yaml:"resources,omitempty"` 68 NodeSelector map[string]string `yaml:"nodeSelector,omitempty"` 69 Tolerations k8s.Tolerations `yaml:"tolerations,omitempty"` 70 Affinity struct{} `yaml:"affinity,omitempty"` 71 Replicas int `yaml:"replicas,omitempty"` 72 ExtraContainers []interface{} `yaml:"extraContainers"` 73 PodLabels map[string]string `yaml:"podLabels,omitempty"` 74 PodAnnotations map[string]string `yaml:"podAnnotations,omitempty"` 75 ExtraVolumeMounts []interface{} `yaml:"extraVolumeMounts,omitempty"` 76 ExtraVolumes []interface{} `yaml:"extraVolumes,omitempty"` 77 LivenessProbe *LivenessProbe `yaml:"livenessProbe,omitempty"` 78 ReadinessProbe *ReadinessProbe `yaml:"readinessProbe,omitempty"` 79 SecurityContext *SecurityContext `yaml:"securityContext,omitempty"` 80 Service *Service `yaml:"service,omitempty"` 81 PodDisruptionBudget *PodDisruptionBudget `yaml:"podDisruptionBudget,omitempty"` 82 }