Skip to content

Commit

Permalink
the ingress wants only hostname, https is assumed anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
cromega committed Sep 10, 2020
1 parent 8c77667 commit bfb9874
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chart/keyguard/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
imagePullPolicy: Always
env:
- name: KG_PUBLIC_URL
value: "{{ .Values.public_url }}"
value: "https://{{ .Values.public_hostname }}"
- name: KG_PRIVATE_KEY
value: "/etc/keyguard/private_key"
- name: KG_YUBI_CLIENT_ID
Expand Down
2 changes: 1 addition & 1 deletion chart/keyguard/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
app: keyguard
spec:
rules:
- host: {{ .Values.public_url }}
- host: {{ .Values.public_hostname }}
http:
paths:
- backend:
Expand Down
2 changes: 1 addition & 1 deletion chart/keyguard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

public_url: ""
public_hostname: ""

yubico:
client_id: ""
Expand Down

0 comments on commit bfb9874

Please sign in to comment.