3 Commits

Author SHA1 Message Date
99ed88068a docs(README): add further jqPathExpressions if stakaters reloader is configured
All checks were successful
Generate README / generate-parameters (push) Successful in 29s
Helm / helm-lint (push) Successful in 16s
Helm / helm-unittest (push) Successful in 16s
Markdown linter / markdown-link-checker (push) Successful in 32s
Markdown linter / markdown-lint (push) Successful in 27s
2025-10-19 19:08:18 +02:00
95fd713da6 fix(renovate): update packageRule for helm-unittest/helm-unittest
All checks were successful
Helm / helm-unittest (push) Successful in 1m58s
Helm / helm-lint (push) Successful in 2m3s
2025-10-16 22:01:54 +02:00
671a635627 fix(renovate): update packageRule for helm-unittest/helm-unittest
All checks were successful
Helm / helm-unittest (push) Successful in 7s
Helm / helm-lint (push) Successful in 14s
2025-10-16 21:39:56 +02:00
6 changed files with 57 additions and 54 deletions

View File

@@ -15,7 +15,7 @@ on:
jobs: jobs:
generate-parameters: generate-parameters:
container: container:
image: docker.io/library/node:25.0.0-alpine image: docker.io/library/node:24.10.0-alpine
runs-on: runs-on:
- ubuntu-latest - ubuntu-latest
steps: steps:

View File

@@ -12,56 +12,31 @@ on:
jobs: jobs:
helm-lint: helm-lint:
container: docker.io/alpine/helm:3.19.0 container:
name: Execute helm lint image: docker.io/volkerraschek/helm:3.19.0
runs-on: ubuntu-latest runs-on:
- ubuntu-latest
steps: steps:
- name: Install additional tools - name: Install tooling
run: | run: |
apk update apk update
apk add --update bash make nodejs apk add git npm
- uses: actions/checkout@v5.0.0 - uses: actions/checkout@v5.0.0
- name: Install helm chart dependencies - name: Lint helm files
run: helm dependency build run: |
- name: Execute helm lint helm lint --values values.yaml .
run: helm lint
helm-template:
container: docker.io/alpine/helm:3.19.0
name: Execute helm template
runs-on: ubuntu-latest
steps:
- name: Install additional tools
run: |
apk update
apk add --update bash make nodejs
- uses: actions/checkout@v5.0.0
- name: Extract repository owner and name
run: |
echo "REPOSITORY_NAME=$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2 | sed --regexp-extended 's/-charts?//g')" >> $GITHUB_ENV
echo "REPOSITORY_OWNER=$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 1)" >> $GITHUB_ENV
- name: Install helm chart dependencies
run: helm dependency build
- name: Execute helm template
run: helm template --debug "${REPOSITORY_NAME}" .
helm-unittest: helm-unittest:
container: docker.io/alpine/helm:3.19.0 container:
env: image: docker.io/volkerraschek/helm:3.19.0
HELM_UNITTEST_VERSION: v1.0.1 # renovate: datasource=github-releases depName=helm-unittest/helm-unittest runs-on:
name: Execute helm unittest - ubuntu-latest
runs-on: ubuntu-latest
steps: steps:
- name: Install additional tools - name: Install tooling
run: | run: |
apk update apk update
apk add --update bash make nodejs npm yamllint ncurses apk add git npm
- uses: actions/checkout@v5.0.0 - uses: actions/checkout@v5.0.0
- name: Install helm chart dependencies - name: Unittest
run: helm dependency build run: |
- name: Install helm plugin 'unittest' helm unittest --strict --file 'unittests/**/*.yaml' ./
run: helm plugin install --version "${HELM_UNITTEST_VERSION}" https://github.com/helm-unittest/helm-unittest
- name: Execute helm unittest
env:
TERM: xterm
run: helm unittest --strict --file 'unittests/**/*.yaml' ./

View File

@@ -15,7 +15,7 @@ on:
jobs: jobs:
markdown-link-checker: markdown-link-checker:
container: container:
image: docker.io/library/node:25.0.0-alpine image: docker.io/library/node:24.10.0-alpine
runs-on: runs-on:
- ubuntu-latest - ubuntu-latest
steps: steps:
@@ -31,7 +31,7 @@ jobs:
markdown-lint: markdown-lint:
container: container:
image: docker.io/library/node:25.0.0-alpine image: docker.io/library/node:24.10.0-alpine
runs-on: runs-on:
- ubuntu-latest - ubuntu-latest
steps: steps:

View File

@@ -10,7 +10,7 @@ HELM_IMAGE_FULLY_QUALIFIED=${HELM_IMAGE_REGISTRY_HOST}/${HELM_IMAGE_REPOSITORY}:
# NODE_IMAGE # NODE_IMAGE
NODE_IMAGE_REGISTRY_HOST?=docker.io NODE_IMAGE_REGISTRY_HOST?=docker.io
NODE_IMAGE_REPOSITORY?=library/node NODE_IMAGE_REPOSITORY?=library/node
NODE_IMAGE_VERSION?=25.0.0-alpine # renovate: datasource=docker registryUrl=https://docker.io depName=docker.io/library/node packageName=library/node NODE_IMAGE_VERSION?=24.10.0-alpine # renovate: datasource=docker registryUrl=https://docker.io depName=docker.io/library/node packageName=library/node
NODE_IMAGE_FULLY_QUALIFIED=${NODE_IMAGE_REGISTRY_HOST}/${NODE_IMAGE_REPOSITORY}:${NODE_IMAGE_VERSION} NODE_IMAGE_FULLY_QUALIFIED=${NODE_IMAGE_REGISTRY_HOST}/${NODE_IMAGE_REPOSITORY}:${NODE_IMAGE_VERSION}
# MISSING DOT # MISSING DOT

View File

@@ -215,17 +215,40 @@ can lead to unnecessary notifications from ArgoCD.
To avoid this, the annotation with the shasum must be ignored. Below is a diff that adds the `Application` to ignore all To avoid this, the annotation with the shasum must be ignored. Below is a diff that adds the `Application` to ignore all
annotations with the prefix `checksum`. annotations with the prefix `checksum`.
> [WARN]
> Configurations of `ignoreDifferences` always refer to the determination of a drift and whether a possible sync is
> necessary. The selected attributes are only ignored in deployment if `RespectIgnoreDifferences=true` has been defined.
> Further information can be found in the ArgoCD
> [documentation](https://argo-cd.readthedocs.io/en/latest/user-guide/sync-options/#respect-ignore-differences-configs).
```diff ```diff
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
spec: spec:
+ ignoreDifferences: + ignoreDifferences:
+ - group: apps/v1 + - group: apps
+ kind: Deployment + kind: Deployment
+ jqPathExpressions: + jqPathExpressions:
+ - '.spec.template.metadata.annotations | with_entries(select(.key | startswith("checksum")))' + - '.spec.template.metadata.annotations | with_entries(select(.key | startswith("checksum")))'
``` ```
If the reloader is configured as described in section [TLS certificate rotation](#tls-certificate-rotation), ensure that
the shasum defined as annotation or environment variable with the prefix `stakater` is also ignored. Below are some
examples how to extend the `ignoreDifferences` configuration.
```diff
apiVersion: argoproj.io/v1alpha1
kind: Application
spec:
ignoreDifferences:
- group: apps
kind: Deployment
jqPathExpressions:
- '.spec.template.metadata.annotations | with_entries(select(.key | startswith("checksum")))'
+ - '.spec.template.metadata.annotations | with_entries(select(.key | startswith("stakater")))'
+ - '.spec.template.spec.containers[].env[] | select(.name | startswith("STAKATER_"))'
```
## Parameters ## Parameters
### Global ### Global

View File

@@ -54,12 +54,17 @@
] ]
}, },
{ {
"automerge": true,
"groupName": "Update helm plugin 'unittest'", "groupName": "Update helm plugin 'unittest'",
"matchDepNames": [ "matchDepNames": [
"helm-unittest/helm-unittest" "helm-unittest/helm-unittest"
], ],
"matchDatasources": [ "matchDatasources": [
"github-releases" "github-releases"
],
"matchUpdateTypes": [
"minor",
"patch"
] ]
}, },
{ {