Skip to content

Commit

Permalink
add conditional to metrics port (#323)
Browse files Browse the repository at this point in the history
* add conditional to metrics port

* Update pomerium version to 32.0.4

* update version to 32.0.5

Co-authored-by: Caleb Doxsey <[email protected]>
  • Loading branch information
ThomasEhling and calebdoxsey authored Aug 15, 2022
1 parent f5aa8a5 commit f450308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/pomerium/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: pomerium
version: 32.0.4
version: 32.0.5
appVersion: v0.18.0
home: http://www.pomerium.com/
icon: https://www.pomerium.com/img/icon.svg
Expand Down
2 changes: 2 additions & 0 deletions charts/pomerium/templates/proxy-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ spec:
protocol: TCP
port: 80
{{- end }}
{{- if .Values.metrics.enabled }}
- name: metrics
port: {{ .Values.metrics.port }}
protocol: TCP
targetPort: metrics
{{- end }}
selector:
app.kubernetes.io/name: {{ template "pomerium.proxy.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}

0 comments on commit f450308

Please sign in to comment.