Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ovpn, fix externalHostname path #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/personal-ovpn/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
env:
- name: SERVER_PUBLIC_URL
value: "{{ .Values.service.protocol | lower }}://{{ .Values.externalHostname | default $hostname }}:{{ .Values.externalPort | default .Values.service.port }}"
value: "{{ .Values.service.protocol | lower }}://{{ .Values.automatic.externalHostname | default $hostname }}:{{ .Values.externalPort | default .Values.service.port }}"
- name: CIPHER
value: "{{ .Values.automatic.cipher }}"
- name: DIGEST_ALGORYTHM
Expand Down Expand Up @@ -93,7 +93,7 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
env:
- name: EASYRSA_REQ_CN
value: {{ .Values.externalHostname | default $hostname }}
value: {{ .Values.automatic.externalHostname | default $hostname }}
- name: EASYRSA_BATCH
value: "yes"
command:
Expand Down