Compare commits

..

3 Commits

Author SHA1 Message Date
renovate[bot]
5ae5ab007d [alertmanager-bot] Update helm chart common to v1.7.0 (#255)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 08:51:05 -05:00
ᗪєνιη ᗷυнʟ
a077a803d4 add separate pre-release job with turnstyle (#254) 2020-11-26 14:19:28 +01:00
Mike K
45b6282a15 [common] Add args option to mainContainer (#253)
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-11-26 08:11:01 -05:00
5 changed files with 22 additions and 12 deletions

View File

@@ -8,8 +8,19 @@ on:
- "charts/**"
jobs:
release:
pre-release:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Block concurrent releases
uses: softprops/turnstyle@v1
with:
continue-after-seconds: 180
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release:
needs: pre-release
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -17,13 +28,6 @@ jobs:
with:
fetch-depth: 0
- name: Turnstyle
uses: softprops/turnstyle@v1
with:
continue-after-seconds: 180
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
@@ -45,8 +49,8 @@ jobs:
# needed until https://github.com/helm/chart-releaser/issues/90
# or helm/chart-releaser-action supports this
post-release:
runs-on: ubuntu-latest
needs: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 0.4.2
description: Bot for Prometheus Alertmanager
name: alertmanager-bot
version: 1.1.1
version: 1.2.0
keywords:
- alertmanager
- telegram
@@ -18,4 +18,4 @@ maintainers:
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 1.6.2
version: 1.7.0

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: common
description: Function library for k8s-at-home charts
type: library
version: 1.6.2
version: 1.7.0
keywords:
- k8s-at-home
- common

View File

@@ -5,6 +5,9 @@ The main container included in the controller.
- name: {{ include "common.names.fullname" . }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.args }}
args: {{ . }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 4 }}

View File

@@ -12,6 +12,9 @@ strategy:
## DaemonSets ignore this
type: RollingUpdate
# Override the default args
args: []
# Set annotations on the pod
podAnnotations: {}