You've already forked reposilite-charts
Compare commits
3 Commits
renovate/m
...
master
Author | SHA1 | Date | |
---|---|---|---|
99ed88068a
|
|||
95fd713da6
|
|||
671a635627
|
25
README.md
25
README.md
@@ -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
|
||||||
|
@@ -23,7 +23,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"fileMatch": ["^README\\.md$"],
|
"fileMatch": [
|
||||||
|
"^README\\.md$"
|
||||||
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"CHART_VERSION=(?<currentValue>.*)"
|
"CHART_VERSION=(?<currentValue>.*)"
|
||||||
],
|
],
|
||||||
@@ -31,6 +33,16 @@
|
|||||||
"packageNameTemplate": "https://git.cryptic.systems/volker.raschek/reposilite-charts",
|
"packageNameTemplate": "https://git.cryptic.systems/volker.raschek/reposilite-charts",
|
||||||
"datasourceTemplate": "git-tags",
|
"datasourceTemplate": "git-tags",
|
||||||
"versioningTemplate": "semver"
|
"versioningTemplate": "semver"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"customType": "regex",
|
||||||
|
"datasourceTemplate": "github-releases",
|
||||||
|
"fileMatch": [
|
||||||
|
".vscode/settings\\.json$"
|
||||||
|
],
|
||||||
|
"matchStrings": [
|
||||||
|
"https:\\/\\/raw\\.githubusercontent\\.com\\/(?<depName>[^\\s]+?)\\/(?<currentValue>v[0-9.]+?)\\/schema\\/helm-testsuite\\.json"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
@@ -41,6 +53,20 @@
|
|||||||
"volkerraschek/helm"
|
"volkerraschek/helm"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"automerge": true,
|
||||||
|
"groupName": "Update helm plugin 'unittest'",
|
||||||
|
"matchDepNames": [
|
||||||
|
"helm-unittest/helm-unittest"
|
||||||
|
],
|
||||||
|
"matchDatasources": [
|
||||||
|
"github-releases"
|
||||||
|
],
|
||||||
|
"matchUpdateTypes": [
|
||||||
|
"minor",
|
||||||
|
"patch"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"groupName": "Update docker.io/library/node",
|
"groupName": "Update docker.io/library/node",
|
||||||
"matchDepNames": [
|
"matchDepNames": [
|
||||||
@@ -92,4 +118,4 @@
|
|||||||
],
|
],
|
||||||
"executionMode": "update"
|
"executionMode": "update"
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user