From 8d7d51b5de69177f14a04b9a7a335a53acaa349b Mon Sep 17 00:00:00 2001 From: Armin Schlegel Date: Tue, 9 May 2023 12:40:54 +0200 Subject: [PATCH] feat: updated grafana agent creds in helm chart Signed-off-by: Armin Schlegel --- .github/workflows/release.yml | 4 ++-- charts/grafana-agent/Chart.yaml | 4 ++-- charts/grafana-agent/values.yaml | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e758c45..7d5b533 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ on: - completed jobs: - release: + on-success: name: Release runs-on: ubuntu-latest steps: @@ -35,7 +35,7 @@ jobs: #!/bin/bash set -e # add more plugins: https://semantic-release.gitbook.io/semantic-release/extending/plugins-list - npm install @edgefarm/semantic-release-helm-oci -D + npm install @semantic-release/github @edgefarm/semantic-release-helm-oci -D # the ... || true is to prevent the script from failing caused by a bug in semantic-release regarding # rate limit changes on github. See https://github.com/semantic-release/github/pull/487 npx -c semantic-release || true diff --git a/charts/grafana-agent/Chart.yaml b/charts/grafana-agent/Chart.yaml index 364d102..55f26d7 100644 --- a/charts/grafana-agent/Chart.yaml +++ b/charts/grafana-agent/Chart.yaml @@ -1,12 +1,12 @@ apiVersion: v2 appVersion: 0.1.0 -description: A Helm chart for Grafana Agent Operator running in a EdgeFarm cluster +description: A Helm chart for Grafana Agent running in a EdgeFarm cluster home: https://github.com/edgefarm/edgefarm.monitor/tree/beta/charts/grafana-agent icon: https://raw.githubusercontent.com/grafana/agent/v0.28.0/docs/sources/assets/logo_and_name.png maintainers: - email: armin.schlegel@gmx.de name: Armin Schlegel -name: grafana-agent-operator +name: grafana-agent sources: - https://github.com/edgefarm/edgefarm.monitor/tree/beta/charts/grafana-agent type: application diff --git a/charts/grafana-agent/values.yaml b/charts/grafana-agent/values.yaml index 7e2bd97..f3cf7cc 100644 --- a/charts/grafana-agent/values.yaml +++ b/charts/grafana-agent/values.yaml @@ -86,13 +86,13 @@ extraEnvs: - name: MIMIR_AGENT_USERNAME valueFrom: secretKeyRef: - name: mimir-remote-write-credentials - key: secret + name: mimir-agent-creds + key: mimirAgentUsername - name: MIMIR_AGENT_PASSWORD valueFrom: secretKeyRef: - name: mimir-remote-write-credentials - key: secret + name: mimir-agent-creds + key: mimirAgentPassword # -- Resource limits and requests config resources: {}