Skip to content

Commit

Permalink
Merge pull request #825 from stakater/helm-release
Browse files Browse the repository at this point in the history
Update helm chart to 1.2.1
  • Loading branch information
MuneebAijaz authored Jan 14, 2025
2 parents 04d72d0 + 5246ec7 commit 9fc4f5b
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 7 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/pull_request-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:

helm-validation:
helm-chart-validation:
permissions:
contents: read

Expand All @@ -42,6 +42,24 @@ jobs:
with:
charts: deployments/kubernetes/chart/reloader

helm-version-validation:
needs: helm-chart-validation

permissions:
contents: read

runs-on: ubuntu-latest
name: Helm Version Validation
if: ${{ contains(github.event.pull_request.labels.*.name, 'release/helm-chart') }}

steps:

- name: Check out code
uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.sha}}
fetch-depth: 0

- name: Add Stakater Helm Repo
run: |
helm repo add stakater https://stakater.github.io/stakater-charts
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push-helm-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ env:
REGISTRY: ghcr.io

jobs:
build:
verify-and-push-helm-chart:

permissions:
contents: read
packages: write # to push artifacts to `ghcr.io`

name: Build
if: github.event.pull_request.merged == true
name: Verify and Push Helm Chart
if: ${{ (github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'release/helm-chart')) }}
runs-on: ubuntu-latest

steps:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/push-pr-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ on:
branches:
- master
types: [ labeled ]
paths:
- '!.markdownlint.yaml'
- '!.vale.ini'
- '!Dockerfile-docs'
- '!docs-nginx.conf'
- '!docs/**'
- '!theme_common'
- '!theme_override'
- '!deployments/kubernetes/chart/reloader/**'

env:
DOCKER_FILE_PATH: Dockerfile
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,8 @@ _Helm chart versioning_: The Reloader Helm chart is maintained in [this reposito

Helm chart will be released to the chart registry whenever files in `deployments/kubernetes/chart/reloader/**` change on the main branch.

Helm Chart will be released by the maintainers, on labelling a PR with `release/helm-chart` and pre-maturely updating the `version` field in `Chart.yaml` file.

## Changelog

View the [releases page](https://github.com/stakater/Reloader/releases) to see what has changed in each release.
Expand Down
2 changes: 1 addition & 1 deletion deployments/kubernetes/chart/reloader/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: v1
name: reloader
description: Reloader chart that runs on kubernetes
version: 1.2.1
appVersion: v1.2.0
appVersion: v1.2.1
keywords:
- Reloader
- kubernetes
Expand Down
4 changes: 2 additions & 2 deletions deployments/kubernetes/chart/reloader/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ reloader:
labels:
provider: stakater
group: com.stakater.platform
version: v1.2.0
version: v1.2.1
image:
name: ghcr.io/stakater/reloader
base: stakater/reloader
tag: v1.2.0
tag: v1.2.1
pullPolicy: IfNotPresent
# Support for extra environment variables.
env:
Expand Down

0 comments on commit 9fc4f5b

Please sign in to comment.