Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
yurhasko authored Dec 23, 2024
2 parents 6958bc4 + 619b91c commit 0594cb6
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.7'
python-version: '3.11'

- name: Set up chart-testing
uses: helm/[email protected]
Expand All @@ -42,7 +42,7 @@ jobs:
run: ct lint --config .github/linters/ct.yaml

- name: Create kind cluster
uses: helm/kind-action@v1.10.0
uses: helm/kind-action@v1.12.0
if: steps.list-changed.outputs.changed == 'true'

- name: Apply Gateway API CRDs
Expand All @@ -62,8 +62,5 @@ jobs:
fi
if: steps.list-changed.outputs.changed == 'true'

- name: Apply Gateway API CRDs
run: kubectl apply -k https://github.com/kubernetes-sigs/gateway-api/config/crd

- name: Run chart-testing (install)
run: ct install --config .github/linters/ct.yaml
2 changes: 1 addition & 1 deletion charts/prometheus-elasticsearch-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Elasticsearch stats exporter for Prometheus
name: prometheus-elasticsearch-exporter
version: 6.5.1
version: 6.6.0
kubeVersion: ">=1.19.0-0"
appVersion: "v1.8.0"
home: https://github.com/prometheus-community/elasticsearch_exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
template:
metadata:
labels:
{{- include "elasticsearch-exporter.selectorLabels" . | nindent 8 }}
{{- include "elasticsearch-exporter.labels" . | nindent 8 }}
{{- with .Values.commonLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-sql-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Prometheus SQL Exporter
name: prometheus-sql-exporter
version: 0.2.0
version: 0.2.1
appVersion: v0.5.8
home: https://github.com/justwatchcom/sql_exporter
sources:
Expand Down
7 changes: 7 additions & 0 deletions charts/prometheus-sql-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ metadata:
name: {{ template "prometheus-sql-exporter.fullname" . }}
labels:
{{- include "prometheus-sql-exporter.labels" . | nindent 4 }}
{{- if .Values.deployment.labels }}
{{- toYaml .Values.deployment.labels | trim | nindent 4 }}
{{- end }}
{{- if .Values.deployment.annotations }}
annotations:
{{- toYaml .Values.deployment.annotations | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand Down
5 changes: 5 additions & 0 deletions charts/prometheus-sql-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ annotations: {}

podLabels: {}

# Labels and annotations to attach to the deployment resource
deployment:
annotations: {}
labels: {}

# Configurable health checks
livenessProbe:
initialDelaySeconds: 3
Expand Down

0 comments on commit 0594cb6

Please sign in to comment.