github.com/caos/orbos@v1.5.14-0.20221103111702-e6cd0cea7ad4/internal/operator/boom/application/applications/logspersisting/helm/values.go (about) 1 package helm 2 3 import ( 4 "github.com/caos/orbos/pkg/kubernetes/k8s" 5 ) 6 7 type Tracing struct { 8 JaegerAgentHost interface{} `yaml:"jaegerAgentHost"` 9 } 10 type Kvstore struct { 11 Store string `yaml:"store"` 12 } 13 type Ring struct { 14 Kvstore *Kvstore `yaml:"kvstore"` 15 ReplicationFactor int `yaml:"replication_factor"` 16 } 17 type Lifecycler struct { 18 Ring *Ring `yaml:"ring"` 19 } 20 type Ingester struct { 21 ChunkIdlePeriod string `yaml:"chunk_idle_period"` 22 ChunkBlockSize int `yaml:"chunk_block_size"` 23 ChunkRetainPeriod string `yaml:"chunk_retain_period"` 24 Lifecycler *Lifecycler `yaml:"lifecycler"` 25 } 26 type LimitsConfig struct { 27 EnforceMetricName bool `yaml:"enforce_metric_name"` 28 RejectOldSamples bool `yaml:"reject_old_samples"` 29 RejectOldSamplesMaxAge string `yaml:"reject_old_samples_max_age"` 30 } 31 type Index struct { 32 Prefix string `yaml:"prefix"` 33 Period string `yaml:"period"` 34 } 35 type Chunks struct { 36 Prefix string `yaml:"prefix"` 37 Period string `yaml:"period"` 38 } 39 type SchemaConfig struct { 40 From string `yaml:"from"` 41 Store string `yaml:"store"` 42 ObjectStore string `yaml:"object_store"` 43 Schema string `yaml:"schema"` 44 Index *Index `yaml:"index"` 45 Chunks *Chunks `yaml:"chunks"` 46 } 47 type SchemaConfigs struct { 48 Configs []*SchemaConfig `yaml:"configs"` 49 } 50 type Server struct { 51 HTTPListenPort int `yaml:"http_listen_port"` 52 } 53 type Boltdb struct { 54 Directory string `yaml:"directory"` 55 } 56 type Filesystem struct { 57 Directory string `yaml:"directory"` 58 } 59 type StorageConfig struct { 60 Boltdb *Boltdb `yaml:"boltdb"` 61 Filesystem *Filesystem `yaml:"filesystem"` 62 } 63 type ChunkStoreConfig struct { 64 MaxLookBackPeriod string `yaml:"max_look_back_period"` 65 } 66 type TableManager struct { 67 RetentionDeletesEnabled bool `yaml:"retention_deletes_enabled"` 68 RetentionPeriod string `yaml:"retention_period"` 69 } 70 type Config struct { 71 AuthEnabled bool `yaml:"auth_enabled"` 72 Ingester *Ingester `yaml:"ingester"` 73 LimitsConfig *LimitsConfig `yaml:"limits_config"` 74 SchemaConfig *SchemaConfigs `yaml:"schema_config"` 75 Server *Server `yaml:"server"` 76 StorageConfig *StorageConfig `yaml:"storage_config"` 77 ChunkStoreConfig *ChunkStoreConfig `yaml:"chunk_store_config"` 78 TableManager *TableManager `yaml:"table_manager"` 79 } 80 type Image struct { 81 Repository string `yaml:"repository"` 82 Tag string `yaml:"tag"` 83 PullPolicy string `yaml:"pullPolicy"` 84 } 85 type HTTPGet struct { 86 Path string `yaml:"path"` 87 Port string `yaml:"port"` 88 } 89 type LivenessProbe struct { 90 HTTPGet *HTTPGet `yaml:"httpGet"` 91 InitialDelaySeconds int `yaml:"initialDelaySeconds"` 92 } 93 type NetworkPolicy struct { 94 Enabled bool `yaml:"enabled"` 95 } 96 type Persistence struct { 97 Enabled bool `yaml:"enabled"` 98 AccessModes []string `yaml:"accessModes"` 99 Size string `yaml:"size"` 100 Annotations map[string]string `yaml:"annotations"` 101 StorageClassName string `yaml:"storageClassName"` 102 } 103 104 type Rbac struct { 105 Create bool `yaml:"create"` 106 PspEnabled bool `yaml:"pspEnabled"` 107 } 108 type ReadinessProbe struct { 109 HTTPGet *HTTPGet `yaml:"httpGet"` 110 InitialDelaySeconds int `yaml:"initialDelaySeconds"` 111 } 112 type SecurityContext struct { 113 FsGroup int `yaml:"fsGroup"` 114 RunAsGroup int `yaml:"runAsGroup"` 115 RunAsNonRoot bool `yaml:"runAsNonRoot"` 116 RunAsUser int `yaml:"runAsUser"` 117 } 118 type Service struct { 119 Type string `yaml:"type"` 120 NodePort interface{} `yaml:"nodePort"` 121 Port int `yaml:"port"` 122 Annotations map[string]string `yaml:"annotations"` 123 Labels map[string]string `yaml:"labels"` 124 } 125 type ServiceAccount struct { 126 Create bool `yaml:"create"` 127 Name interface{} `yaml:"name"` 128 Annotations map[string]string `yaml:"annotations"` 129 } 130 type UpdateStrategy struct { 131 Type string `yaml:"type"` 132 } 133 type ServiceMonitor struct { 134 Enabled bool `yaml:"enabled"` 135 Interval string `yaml:"interval"` 136 AdditionalLabels map[string]string `yaml:"additionalLabels"` 137 } 138 139 type Values struct { 140 FullNameOverride string `yaml:"fullNameOverride,omitempty"` 141 Affinity struct{} `yaml:"affinity"` 142 Annotations map[string]string `yaml:"annotations"` 143 Tracing *Tracing `yaml:"tracing"` 144 Config *Config `yaml:"config"` 145 Image *Image `yaml:"image"` 146 ExtraArgs struct{} `yaml:"extraArgs"` 147 LivenessProbe *LivenessProbe `yaml:"livenessProbe"` 148 NetworkPolicy *NetworkPolicy `yaml:"networkPolicy"` 149 Client struct{} `yaml:"client"` 150 NodeSelector map[string]string `yaml:"nodeSelector"` 151 Persistence *Persistence `yaml:"persistence"` 152 PodLabels map[string]string `yaml:"podLabels"` 153 PodAnnotations map[string]string `yaml:"podAnnotations"` 154 PodManagementPolicy string `yaml:"podManagementPolicy"` 155 Rbac *Rbac `yaml:"rbac"` 156 ReadinessProbe *ReadinessProbe `yaml:"readinessProbe"` 157 Replicas int `yaml:"replicas"` 158 Resources *k8s.Resources `yaml:"resources"` 159 SecurityContext *SecurityContext `yaml:"securityContext"` 160 Service *Service `yaml:"service"` 161 ServiceAccount *ServiceAccount `yaml:"serviceAccount"` 162 TerminationGracePeriodSeconds int `yaml:"terminationGracePeriodSeconds"` 163 Tolerations k8s.Tolerations `yaml:"tolerations"` 164 PodDisruptionBudget struct{} `yaml:"podDisruptionBudget"` 165 UpdateStrategy *UpdateStrategy `yaml:"updateStrategy"` 166 ServiceMonitor *ServiceMonitor `yaml:"serviceMonitor"` 167 InitContainers []interface{} `yaml:"initContainers"` 168 ExtraContainers []interface{} `yaml:"extraContainers"` 169 ExtraVolumes []interface{} `yaml:"extraVolumes"` 170 ExtraVolumeMounts []interface{} `yaml:"extraVolumeMounts"` 171 ExtraPorts []interface{} `yaml:"extraPorts"` 172 Env []*Env `yaml:"env,omitempty"` 173 } 174 175 type Toleration struct { 176 Effect string `yaml:"effect,omitempty"` 177 Key string `yaml:"key,omitempty"` 178 Operator string `yaml:"operator,omitempty"` 179 TolerationSeconds int `yaml:"tolerationSeconds,omitempty"` 180 Value string `yaml:"value,omitempty"` 181 } 182 type Env struct { 183 Name string 184 Value string 185 }