File tree 3 files changed +17
-12
lines changed
3 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -124,3 +124,8 @@ changes:
124
124
- ' apps.argocd.enabled'
125
125
- version : 20
126
126
networkPoliciesMigration : true
127
+ additions :
128
+ - ' apps.loki.storage.gcs.serviceAccount'
129
+ deletions :
130
+ - ' apps.loki.storage.gcs.project'
131
+ - ' apps.loki.storage.gcs.instance'
Original file line number Diff line number Diff line change @@ -2552,6 +2552,7 @@ properties:
2552
2552
required :
2553
2553
- duration
2554
2554
storage :
2555
+ description : ' Chunk storage'
2555
2556
properties :
2556
2557
azure :
2557
2558
properties :
@@ -2582,9 +2583,7 @@ properties:
2582
2583
properties :
2583
2584
bucket :
2584
2585
$ref : ' #/definitions/wordCharacterPattern'
2585
- project :
2586
- $ref : ' #/definitions/wordCharacterPattern'
2587
- instance :
2586
+ serviceAccount :
2588
2587
$ref : ' #/definitions/wordCharacterPattern'
2589
2588
type :
2590
2589
type : string
Original file line number Diff line number Diff line change @@ -106,11 +106,7 @@ loki:
106
106
schema_config:
107
107
configs:
108
108
- from: {{ $l | get "v11StartDate" "2023-01-01" }}
109
- {{- if eq $st.type "gcs" }}
110
- store: bigtable
111
- {{- else }}
112
109
store: boltdb-shipper
113
- {{- end }}
114
110
{{- if eq $st.type "minioLocal" }}
115
111
object_store: s3
116
112
{{- end }}
@@ -128,7 +124,6 @@ loki:
128
124
prefix: index_
129
125
period: 24h
130
126
storage_config:
131
- {{- if ne $st.type "gcs" }}
132
127
boltdb_shipper:
133
128
{{- if eq $st.type "minioLocal" }}
134
129
shared_store: s3
@@ -139,16 +134,16 @@ loki:
139
134
{{- if eq $st.type "azure" }}
140
135
shared_store: azure
141
136
{{- end }}
137
+ {{- if eq $st.type "gcs" }}
138
+ shared_store: gcs
139
+ {{- end }}
142
140
{{- if eq $st.type "filesystem" }}
143
141
shared_store: filesystem
144
142
{{- end }}
145
143
active_index_directory: /var/loki/index
146
144
cache_location: /var/loki/cache
147
145
cache_ttl: 168h
148
- {{- else }}
149
- bigtable:
150
- instance: {{ $st.gcs.instance }}
151
- project: {{ $st.gcs.project }}
146
+ {{- if eq $st.type "gcs" }}
152
147
gcs:
153
148
bucket_name: {{ $st.gcs.bucket }}
154
149
{{- end }}
@@ -182,6 +177,12 @@ loki:
182
177
container_name: {{ $st.azure.containerName }}
183
178
{{- end }}
184
179
180
+ {{- if and (eq $st.type "gcs") $st.gcs.serviceAccount }}
181
+ serviceAccount:
182
+ annotations:
183
+ iam.gke.io/gcp-service-account: {{ $st.gcs.serviceAccount }}
184
+ {{- end }}
185
+
185
186
ingester:
186
187
resources: {{- $l.resources.ingester | toYaml | nindent 4 }}
187
188
podAnnotations:
You can’t perform that action at this time.
0 commit comments