Skip to content

Commit

Permalink
fix deploy of desktop and dbprovider (#3454)
Browse files Browse the repository at this point in the history
  • Loading branch information
lingdie committed Jul 3, 2023
1 parent e0f638b commit 2f24bbe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/desktop/deploy/manifests/deploy.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ spec:
- name: SMS_ENABLED
value: '{{ .smsEnabled }}'

# password login env
- name: PASSWORD_SALT
valueFrom:
secretKeyRef:
name: desktop-frontend-secret
key: password_salt

# github login env
- name: GITHUB_CLIENT_ID
valueFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ spec:
serviceAccountName: cluster-version-reader
containers:
- name: dbprovider-frontend
env:
- name: SEALOS_DOMAIN
value: {{ .cloudDomain }}
securityContext:
runAsNonRoot: true
runAsUser: 1001
Expand Down

0 comments on commit 2f24bbe

Please sign in to comment.