github.com/caos/orbos@v1.5.14-0.20221103111702-e6cd0cea7ad4/internal/operator/boom/application/applications/nodemetricsexporter/helm/values.go (about) 1 package helm 2 3 import "github.com/caos/orbos/pkg/kubernetes/k8s" 4 5 type Image struct { 6 Repository string `yaml:"repository"` 7 Tag string `yaml:"tag"` 8 PullPolicy string `yaml:"pullPolicy"` 9 } 10 11 type Service struct { 12 Type string `yaml:"type"` 13 Port int `yaml:"port"` 14 TargetPort int `yaml:"targetPort"` 15 NodePort interface{} `yaml:"nodePort"` 16 Annotations map[string]string `yaml:"annotations"` 17 } 18 19 type Prometheus struct { 20 Monitor *Monitor `yaml:"monitor"` 21 } 22 23 type Monitor struct { 24 Enabled bool `yaml:"enabled"` 25 AdditionalLabels map[string]string `yaml:"additionalLabels"` 26 Namespace string `yaml:"namespace"` 27 ScrapeTimeout string `yaml:"scrapeTimeout"` 28 } 29 30 type ServiceAccount struct { 31 Create bool `yaml:"create"` 32 Name interface{} `yaml:"name"` 33 ImagePullSecrets []interface{} `yaml:"imagePullSecrets"` 34 } 35 36 type SecurityContext struct { 37 RunAsNonRoot bool `yaml:"runAsNonRoot"` 38 RunAsUser int `yaml:"runAsUser"` 39 } 40 41 type Rbac struct { 42 Create bool `yaml:"create"` 43 PspEnabled bool `yaml:"pspEnabled"` 44 } 45 46 type Toleration struct { 47 Effect string `yaml:"effect"` 48 Operator string `yaml:"operator"` 49 } 50 51 type Values struct { 52 FullnameOverride string `yaml:"fullnameOverride,omitempty"` 53 Image *Image `yaml:"image"` 54 Service *Service `yaml:"service"` 55 Prometheus *Prometheus `yaml:"prometheus"` 56 ServiceAccount *ServiceAccount `yaml:"serviceAccount"` 57 SecurityContext *SecurityContext `yaml:"securityContext"` 58 Rbac *Rbac `yaml:"rbac"` 59 Endpoints []interface{} `yaml:"endpoints"` 60 HostNetwork bool `yaml:"hostNetwork"` 61 Affinity interface{} `yaml:"affinity"` 62 NodeSelector map[string]string `yaml:"nodeSelector"` 63 Tolerations []*Toleration `yaml:"tolerations"` 64 ExtraArgs []string `yaml:"extraArgs"` 65 ExtraHostVolumeMounts interface{} `yaml:"extraHostVolumeMounts"` 66 Configmaps interface{} `yaml:"configmaps"` 67 PodLabels map[string]string `yaml:"podLabels"` 68 Resources *k8s.Resources `yaml:"resources"` 69 }