commit
62a7f40eaa
3 changed files with 5 additions and 8 deletions
3
.github/workflows/deploy-postgres-prod.yml
vendored
3
.github/workflows/deploy-postgres-prod.yml
vendored
|
|
@ -32,9 +32,6 @@ jobs:
|
|||
kubectl config set-context runner-context --cluster=microk8s --user=runner --namespace="$NAMESPACE"
|
||||
kubectl config use-context runner-context
|
||||
|
||||
- name: Apply PROD secrets
|
||||
run: kubectl apply -f db/k8s/secrets/
|
||||
|
||||
- name: Deploy PROD Postgres
|
||||
run: kubectl apply -f db/k8s/postgres/
|
||||
|
||||
|
|
|
|||
2
.github/workflows/juntekim.yml
vendored
2
.github/workflows/juntekim.yml
vendored
|
|
@ -37,7 +37,7 @@ jobs:
|
|||
|
||||
run-on-k8s:
|
||||
runs-on: mealcraft-runners # <-- your ARC scale set label
|
||||
needs: Push-to-docker-hub
|
||||
needs: Push-to-juntekim-to-docker-hub
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
|
|||
|
|
@ -39,17 +39,17 @@ spec:
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: postgres
|
||||
name: postgres-dev
|
||||
namespace: dev
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: postgres
|
||||
app: postgres-dev
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: postgres
|
||||
app: postgres-dev
|
||||
spec:
|
||||
containers:
|
||||
- name: postgres
|
||||
|
|
@ -79,7 +79,7 @@ metadata:
|
|||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: postgres
|
||||
app: postgres-dev
|
||||
ports:
|
||||
- port: 5432
|
||||
targetPort: 5432
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue