Skip to content

Commit

Permalink
add default backend
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Aug 25, 2024
1 parent 5054814 commit 8a78c62
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
{{- include "ctrlplane.priorityClassName" . | nindent 6 }}
{{- include "ctrlplane.podSecurityContext" .Values.pod.securityContext | nindent 6 }}
containers:
- name: {{ .Chart.Name }}
- name: webservice
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
ports:
- name: http
Expand Down
5 changes: 5 additions & 0 deletions deploy/ctrlplane/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ metadata:
{{- end }}
spec:
ingressClassName: {{ .Values.ingress.class }}
defaultBackend:
service:
name: {{ .Release.Name }}-webservice
port:
number: 3000
rules:
- http:
paths:
Expand Down
1 change: 0 additions & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
},
"dependencies": {
"@t3-oss/env-core": "^0.10.1",
"@vercel/postgres": "^0.8.0",
"drizzle-orm": "^0.30.10",
"drizzle-zod": "^0.5.1",
"pg": "^8.11.5",
Expand Down
23 changes: 12 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8a78c62

Please sign in to comment.