Skip to content

Commit

Permalink
Merge pull request #119 from estahn/next
Browse files Browse the repository at this point in the history
update kube-webhook-certgen (#116)
  • Loading branch information
estahn committed Jan 24, 2023
2 parents 40ac700 + 67e9c38 commit a9969d9
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 20 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/helm-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Update helm-docs

on: pull_request

env:
HELM_DOCS_VERSION: "1.11.0"

jobs:
helm-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install binaries
run: |
mkdir -p $GITHUB_WORKSPACE/bin
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
curl -sSL https://github.com/norwoodj/helm-docs/releases/download/v${{env.HELM_DOCS_VERSION}}/helm-docs_${{env.HELM_DOCS_VERSION}}_Linux_x86_64.tar.gz | tar xvfz - --overwrite -C $GITHUB_WORKSPACE/bin
- run: helm-docs

- uses: stefanzweifel/git-auto-commit-action@v4
with:
file_pattern: 'charts/**/README.md'
commit_message: 'docs: update helm-docs'
15 changes: 2 additions & 13 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
push:
branches: [main]

env:
HELM_DOCS_VERSION: "1.11.0"

jobs:
pre-commit:
runs-on: ubuntu-latest
Expand All @@ -17,14 +14,6 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v4.5.0
- uses: actions/setup-node@v3.6.0
- name: Install binaries
run: |
mkdir -p $GITHUB_WORKSPACE/bin
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
curl -sSL https://github.com/norwoodj/helm-docs/releases/download/v${{env.HELM_DOCS_VERSION}}/helm-docs_${{env.HELM_DOCS_VERSION}}_Linux_x86_64.tar.gz | tar xvfz - --overwrite -C $GITHUB_WORKSPACE/bin
- uses: pre-commit/action@v3.0.0

# Used to commit generated helm-docs
- uses: stefanzweifel/git-auto-commit-action@v4
with:
file_pattern: 'charts/**/README.md'
env:
SKIP: helm-docs
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,7 +2,7 @@ apiVersion: v2
name: k8s-image-swapper
description: Mirror images into your own registry and swap image references automatically.
type: application
version: 1.1.1
version: 1.1.2
appVersion: 1.3.0
home: https://github.com/estahn/charts/tree/main/charts/k8s-image-swapper
keywords:
Expand All @@ -15,7 +15,7 @@ maintainers:
name: estahn
annotations:
artifacthub.io/changes: |
- "Update README.md"
- "Update kube-webhook-certgen"
artifacthub.io/images: |
- name: k8s-image-webhook
image: ghcr.io/estahn/k8s-image-swapper:1.3.0
6 changes: 3 additions & 3 deletions charts/k8s-image-swapper/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# k8s-image-swapper

![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.0](https://img.shields.io/badge/AppVersion-1.3.0-informational?style=flat-square)
![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.0](https://img.shields.io/badge/AppVersion-1.3.0-informational?style=flat-square)

Mirror images into your own registry and swap image references automatically.

Expand Down Expand Up @@ -41,8 +41,8 @@ Mirror images into your own registry and swap image references automatically.
| nodeSelector | object | `{}` | |
| patch.enabled | bool | `true` | |
| patch.image.pullPolicy | string | `"IfNotPresent"` | |
| patch.image.repository | string | `"jettech/kube-webhook-certgen"` | |
| patch.image.tag | string | `"v1.5.2"` | |
| patch.image.repository | string | `"k8s.gcr.io/ingress-nginx/kube-webhook-certgen"` | |
| patch.image.tag | string | `"v1.3.0"` | |
| patch.nodeSelector | object | `{}` | |
| patch.podAnnotations | object | `{}` | |
| patch.priorityClassName | string | `""` | |
Expand Down
4 changes: 2 additions & 2 deletions charts/k8s-image-swapper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ hostNetwork: false
patch:
enabled: true
image:
repository: jettech/kube-webhook-certgen
tag: v1.5.2
repository: k8s.gcr.io/ingress-nginx/kube-webhook-certgen
tag: v1.3.0
pullPolicy: IfNotPresent
priorityClassName: ""
podAnnotations: {}
Expand Down

0 comments on commit a9969d9

Please sign in to comment.