Skip to content

Commit 8b6f644

Browse files
authored
Merge pull request #9 from l3montree-dev/add-configurable-devguard-api-url
add configurable DEVGUARD_API_URL to deployment and values
2 parents af20bf5 + ddb8f1b commit 8b6f644

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

templates/devguard-web/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec:
5858
imagePullPolicy: {{ .Values.web.image.pullPolicy }}
5959
env:
6060
- name: DEVGUARD_API_URL
61-
value: http://devguard-api-service:8080
61+
value: {{ .Values.web.devguardApiUrl | default "http://devguard-api-service:8080" | quote }}
6262
- name: REGISTRATION_ENABLED
6363
value: {{ .Values.web.registrationEnabled | default "true" | quote }}
6464
- name: DEVGUARD_API_URL_PUBLIC_INTERNET

values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ web:
164164
imagePullSecrets: []
165165

166166
ciComponentBase: "https://gitlab.com/l3montree/devguard/-/raw/main"
167+
devguardApiUrl: ""
167168
devguardApiUrlPublicInternet: ""
168169
privacyPolicyLink: ""
169170
termsOfUseLink: ""

0 commit comments

Comments
 (0)