Skip to content

Commit 712c60b

Browse files
committed
fix: deploy test
1 parent 8c4b386 commit 712c60b

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/deploy-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}")
7878
echo Node IP: ${NODE_IP}
7979
helm install --debug --wait --timeout 2400s deploy-test charts/devlake \
80+
--set lake.auth_enabled=false \
8081
--set service.uiPort=30000 \
8182
--set mysql.image.tag=8-debian \
8283
--set lake.encryptionSecret.secret=$(openssl rand -base64 2000 | tr -dc 'A-Z' | fold -w 128 | head -n 1)

charts/devlake/templates/deployments.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ spec:
8585
name: {{ include "devlake.ui.auth.secret" . }}
8686
{{- end }}
8787
env:
88+
- name: AUTH_ENABLED
89+
value: {{ toYaml .Values.lake.auth_enabled }}
8890
- name: DEVLAKE_ENDPOINT
8991
value: {{ include "devlake.fullname" . }}-lake.{{ .Release.Namespace }}.svc.cluster.local:8080
9092
{{- if not .Values.grafana.enabled }}

charts/devlake/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ grafana:
159159
ingressServicePort: ""
160160

161161
lake:
162+
auth_enabled: true
162163
replicaCount: 1
163164
revisionHistoryLimit: 10
164165
image:

0 commit comments

Comments
 (0)