[stable/sematext-agent] SC-4896 Rename Logsene to Logs (#14583)

* SC-4896 Rename Logsene to Logs

Signed-off-by: Alen Komljen <alen.komljen@live.com>

* SC-4896 Typo fix

Signed-off-by: Alen Komljen <alen.komljen@live.com>
This commit is contained in:
Alen Komljen
2019-06-06 23:51:58 -07:00
committed by Kubernetes Prow Robot
parent 2b5b95dd3b
commit e627f5ff39
6 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
appVersion: "1.0"
version: 1.0.7
version: 1.0.8
description: Helm chart for deploying Sematext Agent to Kubernetes
keywords:
- sematext
+3 -3
View File
@@ -17,7 +17,7 @@ To install the chart run the following command:
```bash
$ helm install --name release_name \
--set containerToken=YOUR_CONTAINER_TOKEN,logseneToken=YOUR_LOGS_TOKEN stable/sematext-agent
--set containerToken=YOUR_CONTAINER_TOKEN,logsToken=YOUR_LOGS_TOKEN stable/sematext-agent
```
After a few minutes, you should see logs, metrics, and events reported in Sematext web UI.
@@ -41,7 +41,7 @@ The following table lists the configuration parameters of the `sematext-agent` c
| Parameter | Description | Default |
|----------------------------------|-----------------------------------|-------------------------------------------|
| `containerToken` | Sematext Container token | `Nil` Provide your Container token |
| `logseneToken` | Sematext Logsene token | `Nil` Provide your Logsene token |
| `logsToken` | Sematext Logs token | `Nil` Provide your Logs token |
| `region` | Sematext region | `US` Sematext US or EU region |
| `agent.image.repository` | The image repository | `sematext/agent` |
| `agent.image.tag` | The image tag | `latest` |
@@ -55,7 +55,7 @@ The following table lists the configuration parameters of the `sematext-agent` c
| `logagent.resources` | Logagent resources | `{}` |
| `logagent.extraHostVolumeMounts` | Extra mounts | `{}` |
| `customUrl.serverBaseUrl` | Custom Base URL | `Nil` |
| `customUrl.logsReceiverUrl` | Custom Logsene receiver URL | `Nil` |
| `customUrl.logsReceiverUrl` | Custom Logs receiver URL | `Nil` |
| `customUrl.eventsRecieverUrl` | Custom Event receiver URL | `Nil` |
| `serviceAccount.create` | Create a service account | `true` |
| `serviceAccount.name` | Service account name | `Nil` Defaults to chart name |
+5 -5
View File
@@ -1,7 +1,7 @@
{{- if and (not .Values.containerToken) (not .Values.logseneToken) -}}
{{- if and (not .Values.containerToken) (not .Values.logsToken) -}}
###############################################################################
# ERROR: Please provide containerToken and/or logseneToken! #
# ERROR: Please provide containerToken and/or logsToken! #
###############################################################################
Depending on which region you want to use, create a container and/or logs apps
@@ -14,14 +14,14 @@ helm install --name release_name \
Or if you created both apps use:
helm install --name release_name \
--set containerToken=YOUR_CONTAINER_TOKEN,logseneToken=YOUR_LOGS_TOKEN \
--set containerToken=YOUR_CONTAINER_TOKEN,logsToken=YOUR_LOGS_TOKEN \
stable/sematext-agent
Please check the README file for all available parameters.
{{- else if not .Values.logseneToken -}}
{{- else if not .Values.logsToken -}}
Missing logseneToken! You will only receive metrics and events.
Missing logsToken! You will only receive metrics and events.
{{ if eq .Values.region "US" }}
After a few minutes check your app at https://apps.sematext.com/ui/monitoring
{{ else if eq .Values.region "EU" }}
@@ -1,4 +1,4 @@
{{- if or (.Values.infraToken) (.Values.logseneToken) (.Values.containerToken) }}
{{- if or (.Values.infraToken) (.Values.logsToken) (.Values.containerToken) }}
{{- if .Capabilities.APIVersions.Has "apps/v1" }}
apiVersion: apps/v1
{{- else }}
@@ -99,7 +99,7 @@ spec:
resources:
{{ toYaml .Values.agent.resources | indent 12 }}
{{- end }}
{{- if .Values.logseneToken }}
{{- if .Values.logsToken }}
- name: logagent
image: "{{ .Values.logagent.image.repository }}:{{ .Values.logagent.image.tag }}"
imagePullPolicy: {{ .Values.logagent.image.pullPolicy }}
+1 -1
View File
@@ -10,4 +10,4 @@ type: Opaque
data:
infra-token: {{ default "" .Values.infraToken | b64enc | quote }}
container-token: {{ default "" .Values.containerToken | b64enc | quote }}
logs-token: {{ default "" .Values.logseneToken | b64enc | quote }}
logs-token: {{ default "" .Values.logsToken | b64enc | quote }}
+2 -2
View File
@@ -46,8 +46,8 @@ serviceAccount:
infraToken: null
# determines the token for the container app (container metrics are delivered here)
containerToken: null
# logsene token to send logs
logseneToken: null
# logs token to send logs
logsToken: null
# for private images
# imagePullSecrets: