Skip to content

Commit

Permalink
Merge pull request #602 from vshn/fix-slos
Browse files Browse the repository at this point in the history
Fix slos namespace
  • Loading branch information
zugao authored Jan 16, 2025
2 parents d6f3b06 + 230f4f8 commit 3a612ba
Show file tree
Hide file tree
Showing 183 changed files with 194 additions and 194 deletions.
2 changes: 1 addition & 1 deletion class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ parameters:
# If the alert is pending for more than 5m this indicates a real problem.
for: 6m
ticket_alert: {}
namespace: appcat-slos
namespace: syn-appcat-slos
namespaceLabels: ${appcat:namespaceLabels}
namespaceAnnotations: ${appcat:namespaceAnnotations}
sla_reporter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
restoreSA: keycloakserviceaccount
salesOrder: ''
serviceName: keycloak
sliNamespace: appcat-slos
sliNamespace: syn-appcat-slos
kind: ConfigMap
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
restoreSA: mariadbrestoreserviceaccount
salesOrder: ''
serviceName: mariadb
sliNamespace: appcat-slos
sliNamespace: syn-appcat-slos
kind: ConfigMap
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
restoreSA: nextcloudserviceaccount
salesOrder: ''
serviceName: nextcloud
sliNamespace: appcat-slos
sliNamespace: syn-appcat-slos
kind: ConfigMap
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
{"limits": {"cpu": "250m", "memory": "256Mi"}, "requests": {"cpu": "100m",
"memory": "64Mi"}}, "setDbopsResult": {"limits": {"cpu": "250m", "memory":
"256Mi"}, "requests": {"cpu": "100m", "memory": "64Mi"}}}'
sliNamespace: appcat-slos
sliNamespace: syn-appcat-slos
kind: ConfigMap
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ spec:
restoreSA: redisrestoreserviceaccount
salesOrder: ''
serviceName: redis
sliNamespace: appcat-slos
sliNamespace: syn-appcat-slos
kind: ConfigMap
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ metadata:
argocd.argoproj.io/sync-wave: '-100'
openshift.io/node-selector: node-role.kubernetes.io/infra=
labels:
name: appcat-slos
name: appcat-slos
name: syn-appcat-slos
name: syn-appcat-slos
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
name: appcat-sla-reporter
name: appcat-sla-reporter
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
concurrencyPolicy: Forbid
failedJobsHistoryLimit: 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
argocd.argoproj.io/compare-options: IgnoreExtraneous
argocd.argoproj.io/sync-options: Prune=false,SkipDryRunOnMissingResource=true
name: appcat-sla-reports
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
parameters:
bucketName: appcat-sla-reports
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ kind: NetworkPolicy
metadata:
annotations: {}
labels:
name: allow-from-appcat-slos
name: allow-from-appcat-slos
name: allow-from-syn-appcat-slos
name: allow-from-syn-appcat-slos
namespace: prometheus-system
spec:
egress: []
ingress:
- from:
- namespaceSelector:
matchLabels:
name: appcat-slos
name: syn-appcat-slos
podSelector: {}
policyTypes:
- Ingress
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-vshnkeycloak-sla
name: vshn-vshnkeycloak-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnkeycloak-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-vshnmariadb-sla
name: vshn-vshnmariadb-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnmariadb-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-vshnminio-sla
name: vshn-vshnminio-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnminio-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-vshnnextcloud-sla
name: vshn-vshnnextcloud-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnnextcloud-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-vshnpostgresql-sla
name: vshn-vshnpostgresql-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnpostgresql-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-vshnredis-sla
name: vshn-vshnredis-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnredis-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
syn_component: appcat
syn_team: schedar
name: vshn-vshnkeycloak-new-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnkeycloak-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
syn_component: appcat
syn_team: schedar
name: vshn-vshnmariadb-new-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnmariadb-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
syn_component: appcat
syn_team: schedar
name: vshn-vshnminio-new-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnminio-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
syn_component: appcat
syn_team: schedar
name: vshn-vshnnextcloud-new-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnnextcloud-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
control-plane: controller-manager
name: controller-manager
name: appcat-sliexporter-controller-manager
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
replicas: 1
selector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
control-plane: controller-manager
name: appcat-sliexporter-controller-manager-metrics-monitor
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
endpoints:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: appcat-sliexporter-controller-manager
namespace: appcat-slos
namespace: syn-appcat-slos
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: appcat-sliexporter-controller-manager
namespace: appcat-slos
namespace: syn-appcat-slos
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ metadata:
openshift.io/node-selector: node-role.kubernetes.io/infra=
labels:
control-plane: controller-manager
name: appcat-slos
name: syn-appcat-slos
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
control-plane: controller-manager
name: appcat-sliexporter-controller-manager-metrics-service
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
ports:
- name: https
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ metadata:
annotations:
argocd.argoproj.io/sync-wave: '-100'
name: appcat-sliexporter-controller-manager
namespace: appcat-slos
namespace: syn-appcat-slos
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
restoreSA: keycloakserviceaccount
salesOrder: ''
serviceName: keycloak
sliNamespace: appcat-slos
sliNamespace: syn-appcat-slos
kind: ConfigMap
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
restoreSA: mariadbrestoreserviceaccount
salesOrder: ''
serviceName: mariadb
sliNamespace: appcat-slos
sliNamespace: syn-appcat-slos
kind: ConfigMap
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
restoreSA: nextcloudserviceaccount
salesOrder: ''
serviceName: nextcloud
sliNamespace: appcat-slos
sliNamespace: syn-appcat-slos
kind: ConfigMap
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
{"limits": {"cpu": "250m", "memory": "256Mi"}, "requests": {"cpu": "100m",
"memory": "64Mi"}}, "setDbopsResult": {"limits": {"cpu": "250m", "memory":
"256Mi"}, "requests": {"cpu": "100m", "memory": "64Mi"}}}'
sliNamespace: appcat-slos
sliNamespace: syn-appcat-slos
kind: ConfigMap
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ spec:
restoreSA: redisrestoreserviceaccount
salesOrder: ''
serviceName: redis
sliNamespace: appcat-slos
sliNamespace: syn-appcat-slos
kind: ConfigMap
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-vshnkeycloak-sla
name: vshn-vshnkeycloak-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnkeycloak-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-vshnmariadb-sla
name: vshn-vshnmariadb-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnmariadb-sla-target
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/dev/appcat/appcat/22_prom_rule_sla_minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-vshnminio-sla
name: vshn-vshnminio-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnminio-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-vshnnextcloud-sla
name: vshn-vshnnextcloud-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnnextcloud-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-vshnpostgresql-sla
name: vshn-vshnpostgresql-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnpostgresql-sla-target
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/dev/appcat/appcat/22_prom_rule_sla_redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-vshnredis-sla
name: vshn-vshnredis-sla
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: appcat-vshnredis-sla-target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
name: appcat-sla-reporter
name: appcat-sla-reporter
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
concurrencyPolicy: Forbid
failedJobsHistoryLimit: 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
argocd.argoproj.io/compare-options: IgnoreExtraneous
argocd.argoproj.io/sync-options: Prune=false,SkipDryRunOnMissingResource=true
name: appcat-sla-reports
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
parameters:
bucketName: appcat-sla-reports
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ kind: NetworkPolicy
metadata:
annotations: {}
labels:
name: allow-from-appcat-slos
name: allow-from-appcat-slos
name: allow-from-syn-appcat-slos
name: allow-from-syn-appcat-slos
namespace: prometheus-system
spec:
egress: []
ingress:
- from:
- namespaceSelector:
matchLabels:
name: appcat-slos
name: syn-appcat-slos
podSelector: {}
policyTypes:
- Ingress
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-keycloak
name: vshn-keycloak
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: sloth-slo-sli-recordings-appcat-vshn-keycloak-uptime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
labels:
name: vshn-mariadb
name: vshn-mariadb
namespace: appcat-slos
namespace: syn-appcat-slos
spec:
groups:
- name: sloth-slo-sli-recordings-appcat-vshn-mariadb-uptime
Expand Down
Loading

0 comments on commit 3a612ba

Please sign in to comment.