2 Commits

Author SHA1 Message Date
80a8e8096d fix(pod,podMonitor,service): avoid error of immutable labels
Some checks failed
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2024-11-26 20:13:53 +01:00
79b61b0035 core(renovate): update configuration
Some checks failed
continuous-integration/drone/push Build is failing
2024-11-26 20:06:18 +01:00
4 changed files with 4 additions and 10 deletions

View File

@ -24,10 +24,10 @@
"matchUpdateTypes": [ "minor", "patch"] "matchUpdateTypes": [ "minor", "patch"]
}, },
{ {
"addLabels": [ "renovate/prometheus-postgres-exporter", "renovate/automerge" ], "addLabels": [ "renovate/markdownlint", "renovate/automerge" ],
"automerge": true, "automerge": true,
"matchPackageNames": [ "prometheus-postgres-exporter" ], "matchPackageNames": [ "markdownlint-cli", "@bitnami/readme-generator-for-helm" ],
"matchManagers": [ "regex" ], "matchManagers": [ "npm" ],
"matchUpdateTypes": [ "minor", "patch"] "matchUpdateTypes": [ "minor", "patch"]
} }
], ],

View File

@ -13,5 +13,5 @@
{{- end }} {{- end }}
{{- define "prometheus-postgres-exporter.pod.selectorLabels" -}} {{- define "prometheus-postgres-exporter.pod.selectorLabels" -}}
{{ include "prometheus-postgres-exporter.pod.labels" . }} {{ include "prometheus-postgres-exporter.selectorLabels" . }}
{{- end }} {{- end }}

View File

@ -90,10 +90,7 @@ tests:
path: spec.selector.matchLabels path: spec.selector.matchLabels
value: value:
app.kubernetes.io/instance: prometheus-postgres-exporter-unittest app.kubernetes.io/instance: prometheus-postgres-exporter-unittest
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: prometheus-postgres-exporter app.kubernetes.io/name: prometheus-postgres-exporter
app.kubernetes.io/version: 0.1.0
helm.sh/chart: prometheus-postgres-exporter-0.1.0
- it: Render podMonitor with custom annotations and labels. - it: Render podMonitor with custom annotations and labels.
set: set:

View File

@ -63,10 +63,7 @@ tests:
path: spec.selector path: spec.selector
value: value:
app.kubernetes.io/instance: prometheus-postgres-exporter-unittest app.kubernetes.io/instance: prometheus-postgres-exporter-unittest
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: prometheus-postgres-exporter app.kubernetes.io/name: prometheus-postgres-exporter
app.kubernetes.io/version: 0.1.0
helm.sh/chart: prometheus-postgres-exporter-0.1.0
- equal: - equal:
path: spec.sessionAffinity path: spec.sessionAffinity
value: None value: None