Skip to content

Commit

Permalink
Add charts releaser wf
Browse files Browse the repository at this point in the history
  • Loading branch information
radu-catalina committed Jun 7, 2023
1 parent b2b5dc8 commit 2ca4f52
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release-helm-chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# https://helm.sh/docs/howto/chart_releaser_action/
name: Release Charts

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1 change: 1 addition & 0 deletions helm-charts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#### TODO: secret generation must be handled in order for this chart to work correctly
3 changes: 2 additions & 1 deletion helm-charts/cluster-registry-client/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ type: application
home: https://github.com/adobe/cluster-registry

version: 0.1.0
appVersion: "v1.3.1"
#1.3.1
appVersion: "v1.4.0"
2 changes: 1 addition & 1 deletion helm-charts/cluster-registry-client/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cluster-registry-client

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.3.1](https://img.shields.io/badge/AppVersion-v1.3.1-informational?style=flat-square)
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.4.0](https://img.shields.io/badge/AppVersion-v1.4.0-informational?style=flat-square)

Helm chart for Cluster Registry Client.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{{- if .Values.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: cluster-registry-client
namespace: {{ .Release.Namespace }}
labels:
{{- include "cluster-registry-client.componentLabels" . | nindent 4 }}
{{- end }}

0 comments on commit 2ca4f52

Please sign in to comment.