Merge pull request #29 from MealCraft/feature/stripe

Feature/stripe
This commit is contained in:
Jun-te Kim 2026-01-06 23:31:35 +00:00 committed by GitHub
commit 62a7f40eaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 8 deletions

View file

@ -32,9 +32,6 @@ jobs:
kubectl config set-context runner-context --cluster=microk8s --user=runner --namespace="$NAMESPACE" kubectl config set-context runner-context --cluster=microk8s --user=runner --namespace="$NAMESPACE"
kubectl config use-context runner-context kubectl config use-context runner-context
- name: Apply PROD secrets
run: kubectl apply -f db/k8s/secrets/
- name: Deploy PROD Postgres - name: Deploy PROD Postgres
run: kubectl apply -f db/k8s/postgres/ run: kubectl apply -f db/k8s/postgres/

View file

@ -37,7 +37,7 @@ jobs:
run-on-k8s: run-on-k8s:
runs-on: mealcraft-runners # <-- your ARC scale set label runs-on: mealcraft-runners # <-- your ARC scale set label
needs: Push-to-docker-hub needs: Push-to-juntekim-to-docker-hub
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View file

@ -39,17 +39,17 @@ spec:
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: postgres name: postgres-dev
namespace: dev namespace: dev
spec: spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: postgres app: postgres-dev
template: template:
metadata: metadata:
labels: labels:
app: postgres app: postgres-dev
spec: spec:
containers: containers:
- name: postgres - name: postgres
@ -79,7 +79,7 @@ metadata:
spec: spec:
type: ClusterIP type: ClusterIP
selector: selector:
app: postgres app: postgres-dev
ports: ports:
- port: 5432 - port: 5432
targetPort: 5432 targetPort: 5432