From e627f5ff393dc6a85c7ab06485afa73b0628fd49 Mon Sep 17 00:00:00 2001 From: Alen Komljen Date: Fri, 7 Jun 2019 08:51:58 +0200 Subject: [PATCH] [stable/sematext-agent] SC-4896 Rename Logsene to Logs (#14583) * SC-4896 Rename Logsene to Logs Signed-off-by: Alen Komljen * SC-4896 Typo fix Signed-off-by: Alen Komljen --- stable/sematext-agent/Chart.yaml | 2 +- stable/sematext-agent/README.md | 6 +++--- stable/sematext-agent/templates/NOTES.txt | 10 +++++----- stable/sematext-agent/templates/daemonset.yaml | 4 ++-- stable/sematext-agent/templates/secret.yaml | 2 +- stable/sematext-agent/values.yaml | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/stable/sematext-agent/Chart.yaml b/stable/sematext-agent/Chart.yaml index c7a2ced9b0..8e85f7dedb 100644 --- a/stable/sematext-agent/Chart.yaml +++ b/stable/sematext-agent/Chart.yaml @@ -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 diff --git a/stable/sematext-agent/README.md b/stable/sematext-agent/README.md index bb6b171bf8..15459fe6df 100644 --- a/stable/sematext-agent/README.md +++ b/stable/sematext-agent/README.md @@ -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 | diff --git a/stable/sematext-agent/templates/NOTES.txt b/stable/sematext-agent/templates/NOTES.txt index 1af8b9cc87..3b78525697 100644 --- a/stable/sematext-agent/templates/NOTES.txt +++ b/stable/sematext-agent/templates/NOTES.txt @@ -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" }} diff --git a/stable/sematext-agent/templates/daemonset.yaml b/stable/sematext-agent/templates/daemonset.yaml index b30ff428cb..e4a19313b4 100644 --- a/stable/sematext-agent/templates/daemonset.yaml +++ b/stable/sematext-agent/templates/daemonset.yaml @@ -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 }} diff --git a/stable/sematext-agent/templates/secret.yaml b/stable/sematext-agent/templates/secret.yaml index 2a20bda7fd..e167187bcc 100644 --- a/stable/sematext-agent/templates/secret.yaml +++ b/stable/sematext-agent/templates/secret.yaml @@ -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 }} diff --git a/stable/sematext-agent/values.yaml b/stable/sematext-agent/values.yaml index 7a89f642e7..c314d7a52b 100644 --- a/stable/sematext-agent/values.yaml +++ b/stable/sematext-agent/values.yaml @@ -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: