Skip to content

Commit

Permalink
Added central preprod cluster and fixed minor bugs (retaildevcrews#71)
Browse files Browse the repository at this point in the history
* Added central cluster and ago labels

* Added autogitops folder to workflow path
  • Loading branch information
joaquinrz authored Oct 4, 2021
1 parent e5956c8 commit 564f668
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ngsa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- '*.csproj'
- '**.cs'
- '.github/workflows/ngsa.yaml'
- 'autogitops/**'

jobs:

Expand Down
2 changes: 1 addition & 1 deletion autogitops/autogitops.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"namespace": "ngsa",
"imageName": "ghcr.io/retaildevcrews/ngsa-app",
"imageTag": "beta",
"targets": ["ngsadev"]
"targets": ["ngsadev","ngsaprec"]
}
4 changes: 3 additions & 1 deletion autogitops/ngsa-preprod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ spec:
template:
metadata:
labels:
app: {{gitops.name}}
aadpodidbinding: {{gitops.config.mi.name}}
app: {{gitops.name}}
deploy: {{gitops.deploy}}
version: beta-{{gitops.version}}
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: '8080'
Expand Down

0 comments on commit 564f668

Please sign in to comment.