Skip to content

Commit

Permalink
[pomerium] use authenticate_internal_service_url (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
travisgroth authored Mar 10, 2022
1 parent 89871d2 commit 5d23b98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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: 30.0.2
version: 30.1.0
appVersion: 0.16.4
home: http://www.pomerium.com/
icon: https://www.pomerium.com/img/icon.svg
Expand Down
2 changes: 2 additions & 0 deletions charts/pomerium/templates/authenticate-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ spec:
secretKeyRef:
name: {{ template "pomerium.signingKeySecret.name" . }}
key: signing-key
- name: AUTHENTICATE_INTERNAL_SERVICE_URL
value: {{ (printf "%s://%s.%s.svc.cluster.local" (include "pomerium.httpTrafficPort.name" .) (include "pomerium.authenticate.fullname" .) .Release.Namespace ) }}
{{- include "pomerium.metrics.envVars" . | indent 8}}
{{- range $name, $value := .Values.extraEnv }}
- name: {{ $name }}
Expand Down
2 changes: 0 additions & 2 deletions charts/pomerium/templates/authenticate-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ metadata:
app.kubernetes.io/managed-by: {{ .Release.Service }}
helm.sh/chart: {{ include "pomerium.chart" . }}
annotations:
ingress.pomerium.io/preserve_host_header: "true"
ingress.pomerium.io/allow_public_unauthenticated_access: "true"
ingress.pomerium.io/tls_server_name: {{ include "pomerium.authenticate.hostname" . }}
{{- if not .Values.config.insecure }}
ingress.pomerium.io/secure_upstream: "true"
{{- end }}
Expand Down

0 comments on commit 5d23b98

Please sign in to comment.