-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1325 from trevorwhitney/combine-gel-oss-ssd
[loki-simple-scalable] Make enterprise a configurable option
- Loading branch information
Showing
21 changed files
with
612 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dependencies: | ||
- name: minio | ||
repository: https://helm.min.io/ | ||
version: 8.0.9 | ||
digest: sha256:87380dcd409a28ba7ece02fff63993a66077cba05350dbae0b60b3dd410d04df | ||
generated: "2022-04-22T16:01:21.40225696-06:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
loki: | ||
commonConfig: | ||
replication_factor: 1 | ||
read: | ||
replicas: 1 | ||
write: | ||
replicas: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
enterprise: | ||
enabled: true | ||
config: | | ||
auth: | ||
type: trust | ||
auth_enabled: false | ||
cluster_name: {{ .Release.Name }} | ||
license: | ||
path: /etc/loki/license/license.jwt | ||
loki: | ||
commonConfig: | ||
replication_factor: 1 | ||
storage: | ||
type: local | ||
read: | ||
replicas: 1 | ||
persistence: | ||
enabled: true | ||
size: 100Mi | ||
write: | ||
replicas: 1 | ||
persistence: | ||
enabled: true | ||
size: 100Mi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{- if and (not .Values.useExternalLicense) .Values.enterprise.enabled -}} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: enterprise-logs-license | ||
labels: | ||
{{- include "loki.labels" . | nindent 4 }} | ||
data: | ||
license.jwt: {{ .Values.enterprise.license.contents | b64enc }} | ||
{{- end }} |
22 changes: 22 additions & 0 deletions
22
charts/loki-simple-scalable/templates/tokengen/_helpers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{{/* | ||
tokengen fullname | ||
*/}} | ||
{{- define "enterprise-logs.tokengenFullname" -}} | ||
{{ include "loki.fullname" . }}-tokengen | ||
{{- end }} | ||
|
||
{{/* | ||
tokengen common labels | ||
*/}} | ||
{{- define "enterprise-logs.tokengenLabels" -}} | ||
{{ include "loki.labels" . }} | ||
app.kubernetes.io/component: tokengen | ||
{{- end }} | ||
|
||
{{/* | ||
tokengen selector labels | ||
*/}} | ||
{{- define "enterprise-logs.tokengenSelectorLabels" -}} | ||
{{ include "loki.selectorLabels" . }} | ||
app.kubernetes.io/component: tokengen | ||
{{- end }} |
Oops, something went wrong.