Skip to content

Commit

Permalink
Merge pull request #265 from l3montree-dev/add-api-url
Browse files Browse the repository at this point in the history
add api url
  • Loading branch information
timbastin authored Feb 24, 2025
2 parents e909028 + accb4ef commit 53f27e5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
1 change: 1 addition & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"name": "Run Program",
"type": "go",
"request": "launch",
"cwd": "${workspaceRoot}",
"mode": "auto",
"program": "${workspaceRoot}/cmd/devguard/main.go",
"args": [],
Expand Down
2 changes: 1 addition & 1 deletion charts/devguard/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.17
version: 0.5.18

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/devguard/templates/devguard-web/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
value: http://kratos:4433
- name: DEVGUARD_API_URL
value: http://devguard-api-service:8080
- name: DEVGUARD_API_URL_PUBLIC_INTERNET
value: {{ .Values.web.devguardApiUrlPublicInternet }}
ports:
- name: http
containerPort: 3000
Expand Down
18 changes: 10 additions & 8 deletions charts/devguard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ api:
className: ""
annotations: {}
hosts:
- host: example.com
paths:
- path: /
pathType: Prefix
- host: example.com
paths:
- path: /
pathType: Prefix

intoto:
existingPrivateKeySecretName: ec-private-key
Expand All @@ -63,7 +63,9 @@ api:
existingWebhookSecretSecretName: github-app-webhook-secret
# needs to contain key "privateKey"
existingPrivateKeySecretName: github-app-private-key

web:
devguardApiUrlPublicInternet: ""
image:
repository: ghcr.io/l3montree-dev/devguard-web
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -97,7 +99,7 @@ web:
className: ""
annotations: {}
hosts:
- host: app.example.com
paths:
- path: /
pathType: Prefix
- host: app.example.com
paths:
- path: /
pathType: Prefix

0 comments on commit 53f27e5

Please sign in to comment.