app-files/core-deployments.yaml: ignore differences in resource definitions because of empty resource types
All checks were successful
ci/woodpecker/push/dashboard Pipeline was successful

This commit is contained in:
Tom Neuber 2024-08-16 19:35:45 +02:00
parent dab65bf2f6
commit a3b5c04279
Signed by: tom
GPG key ID: F17EFE4272D89FF6

View file

@ -113,8 +113,20 @@ spec:
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true
- ServerSideApply=true - ServerSideApply=true
- RespectIgnoreDifferences=true
automated: automated:
prune: true prune: true
ignoreDifferences:
- group: apps
kind: Deployment
jqPathExpressions:
- '.spec.template.spec.initContainers[]?.resources'
- '.spec.template.spec.containers[]?.resources'
- group: apps
kind: DaemonSet
jqPathExpressions:
- '.spec.template.spec.initContainers[]?.resources'
- '.spec.template.spec.containers[]?.resources'
--- ---
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
@ -144,8 +156,20 @@ spec:
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true
- ServerSideApply=true - ServerSideApply=true
- RespectIgnoreDifferences=true
automated: automated:
prune: true prune: true
ignoreDifferences:
- group: apps
kind: Deployment
jqPathExpressions:
- '.spec.template.spec.containers[]?.resources'
- group: apps
kind: DaemonSet
jqPathExpressions:
- '.spec.template.spec.initContainers[]?.resources'
- '.spec.template.spec.containers[]?.resources'
- '.spec.template.metadata.annotations'
--- ---
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application