Skip to content

Commit

Permalink
Added ingress labels
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Benton<[email protected]>
Signed-off-by: Aaron Benton <[email protected]>
  • Loading branch information
bentonam committed Oct 5, 2023
1 parent c5fc8bc commit 5546778
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/prometheus-json-exporter/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ metadata:
name: {{ $fullName }}
labels:
{{- include "prometheus-json-exporter.labels" . | nindent 4 }}
{{- with .Values.ingress.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
1 change: 1 addition & 0 deletions charts/prometheus-json-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ serviceMonitor:
ingress:
enabled: false
className: ""
labels: {}
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
Expand Down

0 comments on commit 5546778

Please sign in to comment.