Skip to content

Commit

Permalink
Fixed kustomization dev - added debug acrLoginServer
Browse files Browse the repository at this point in the history
  • Loading branch information
leomozzer committed May 25, 2023
1 parent 819687d commit 4ab681f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- main
paths:
- '.github/workflows/docker-build-push.yml'
- 'kubernetes/**'
workflow_dispatch:
#pull_request:

Expand Down Expand Up @@ -67,6 +68,7 @@ jobs:
kustomize edit set image app-imag=${{ env.ACR_NAME }}/${{ env.IMAGE_NAME }}
cd ..
kubectl apply -f ./app/
kubectl get nodes
env:
ACR_NAME: ${{ steps.myGetSecretAction.outputs.acrLoginServer }}
IMAGE_NAME: "nestjs-app:latest"
Expand Down
1 change: 1 addition & 0 deletions kubernetes/bases/app/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: nestjs
namespace: "nestjs"
spec:
replicas: 2
selector:
Expand Down
3 changes: 2 additions & 1 deletion kubernetes/bases/app/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ configMapGenerator:
images:
- name: "app-image"
newName: "nestjs-app"
newTag: "initial"
newTag: "initial"
namespace: "nestjs"

0 comments on commit 4ab681f

Please sign in to comment.