Skip to content

Commit

Permalink
fix: ClusterRole rendering issue & app version update (#42)
Browse files Browse the repository at this point in the history
* fix chart rendering

* update chart / app version

* chore: auto-generate helmdocs

Co-authored-by: Enrico Stahn <enrico.stahn@gmail.com>
  • Loading branch information
jurgenweber and estahn authored Oct 5, 2021
1 parent c5769fd commit 3ba533c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ jobs:
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
curl -sSL https://github.com/norwoodj/helm-docs/releases/download/v1.5.0/helm-docs_1.5.0_Linux_x86_64.tar.gz | tar xvfz - --overwrite -C $GITHUB_WORKSPACE/bin
- uses: pre-commit/action@v2.0.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions charts/k8s-image-swapper/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: k8s-image-swapper
description: Mirror images into your own registry and swap image references automatically.
type: application
version: 0.3.0
appVersion: 1.0.0
version: 0.3.1
appVersion: 1.1.0
home: https://github.com/estahn/charts/tree/main/charts/k8s-image-swapper
keywords:
- kubernetes
Expand Down
4 changes: 2 additions & 2 deletions charts/k8s-image-swapper/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ rules:
- ""
resources:
- secrets
{{- if .Values.secretReader.secretNames -}}
{{- if .Values.secretReader.secretNames }}
resourceNames:
{{ toYaml .Values.secretReader.secretNames | indent 6 }}
{{- toYaml .Values.secretReader.secretNames | nindent 6 }}
{{- end }}
verbs:
- watch
Expand Down

0 comments on commit 3ba533c

Please # to comment.