Skip to content

Commit 7fcb1cb

Browse files
committed
ci: ingress, secret
1 parent 5cd07bc commit 7fcb1cb

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.github/workflows/docker-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@ jobs:
2828
with:
2929
context: .
3030
push: true
31-
tags: dipperpinees/soundwave:${{ github.sha }}
31+
tags: dipperpinees/soundwave:${{ github.sha }}
32+
build-args: |
33+
GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }}

templates/ingress.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ metadata:
99
nginx.ingress.kubernetes.io/ssl-redirect: "false"
1010
nginx.ingress.kubernetes.io/force-ssl-redirect: "false"
1111
spec:
12+
ingressClassName: {{ .Values.ingress.className }}
1213
rules:
1314
{{- range .Values.ingress.hosts }}
1415
- host: {{ .host }}

templates/secret.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,29 @@ metadata:
66
app: {{ .Chart.Name }}
77
type: Opaque
88
data:
9+
# Database configuration
10+
DB_USERNAME: ""
11+
DB_PASSWORD: ""
12+
DB_NAME: ""
13+
DB_HOST: ""
14+
DB_PORT: ""
15+
16+
# JWT Secret
17+
SECRET_KEY: ""
18+
19+
# Cloudinary configuration
20+
CLOUDINARY_CLOUD_NAME: ""
21+
CLOUDINARY_API_KEY: ""
22+
CLOUDINARY_API_SECRET: ""
23+
CLOUDINARY_UPLOAD_FOLDER: ""
24+
25+
# Email configuration
26+
EMAIL: ""
27+
EMAIL_PASSWORD: ""
28+
29+
# Admin configuration
30+
ADMIN_EMAIL: ""
31+
ADMIN_PASSWORD: ""
32+
33+
# Google OAuth
34+
GOOGLE_CLIENT_ID: ""

0 commit comments

Comments
 (0)