Skip to content

Commit

Permalink
Merge pull request #1186 from navikt/post_gcp_migr_cleanup
Browse files Browse the repository at this point in the history
Clean-up after GCP migration
  • Loading branch information
eziztm authored Sep 18, 2023
2 parents 072ffb4 + 6620eb8 commit 7a48324
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 284 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ jobs:
- name: Deploy to dev
uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
APIKEY: ${{ secrets.NAIS_ORG_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: apps/frackend/nais/alerts-frackend-dev-gcp.yaml

- name: Deploy to prod
uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
APIKEY: ${{ secrets.NAIS_ORG_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: apps/frackend/nais/alerts-frackend-prod-gcp.yaml
30 changes: 0 additions & 30 deletions apps/backend/nais/alerts-backend-dev-fss.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions apps/backend/nais/alerts-backend-prod-fss.yaml

This file was deleted.

68 changes: 0 additions & 68 deletions apps/backend/nais/backend-dev-fss-vars.yaml

This file was deleted.

83 changes: 0 additions & 83 deletions apps/backend/nais/backend-fss.yaml

This file was deleted.

63 changes: 0 additions & 63 deletions apps/backend/nais/backend-prod-fss-vars.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions apps/frackend/nais/alerts-frackend-dev-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ apiVersion: "monitoring.coreos.com/v1"
kind: "PrometheusRule"
metadata:
name: team-catalog-frackend-alerts
namespace: nom
namespace: org
labels:
team: nom
team: org
spec:
groups:
- name: team-catalog-frackend_down
Expand All @@ -16,7 +16,7 @@ spec:
action: "`kubectl describe pod {{ $labels.pod }}` for events, og `kubectl logs {{ $labels.pod }} -c {{ $labels.app }}` for logger"
summary: "{{ $labels.app }} er nede"
labels:
namespace: nom
namespace: org
severity: critical
- name: team-catalog-frackend_high_failrate
rules:
Expand All @@ -26,5 +26,5 @@ spec:
annotations:
action: "Sjekk loggene til app {{ $labels.app }}, for å se hvorfor det er så mye feil"
labels:
namespace: nom
namespace: org
severity: warning
8 changes: 4 additions & 4 deletions apps/frackend/nais/alerts-frackend-prod-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ apiVersion: "monitoring.coreos.com/v1"
kind: "PrometheusRule"
metadata:
name: team-catalog-frackend-alerts
namespace: nom
namespace: org
labels:
team: nom
team: org
spec:
groups:
- name: team-catalog-frackend_down
Expand All @@ -16,7 +16,7 @@ spec:
action: "`kubectl describe pod {{ $labels.pod }}` for events, og `kubectl logs {{ $labels.pod }} -c {{ $labels.app }}` for logger"
summary: "{{ $labels.app }} er nede"
labels:
namespace: nom
namespace: org
severity: critical
- name: team-catalog-frackend_high_failrate
rules:
Expand All @@ -26,5 +26,5 @@ spec:
annotations:
action: "Sjekk loggene til app {{ $labels.app }}, for å se hvorfor det er så mye feil"
labels:
namespace: nom
namespace: org
severity: warning

0 comments on commit 7a48324

Please sign in to comment.