Skip to content

Commit

Permalink
fix(server): return notes fields in region & bundles (#993)
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Mar 31, 2023
1 parent f8adbe7 commit 82b8121
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/build/charts/laf-server/templates/cert-issuer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ metadata:
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: admin@sealos.io
email: laf-deploy@{{ .Values.default_region.runtime_domain }}
privateKeySecretRef:
name: letsencrypt-prod
solvers:
- http01:
ingress:
class: apisix
class: apisix
1 change: 1 addition & 0 deletions server/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ type Note {
title String?
content String?
link String?
lang String?
level NoteLevel @default(Info)
}

Expand Down
2 changes: 2 additions & 0 deletions server/src/region/region.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class RegionService {
gatewayConf: false,
databaseConf: false,
clusterConf: false,
notes: true,
bundles: {
select: {
id: true,
Expand All @@ -70,6 +71,7 @@ export class RegionService {
resource: true,
limitCountPerUser: true,
subscriptionOptions: true,
notes: true,
},
},
},
Expand Down

0 comments on commit 82b8121

Please sign in to comment.