Skip to content

Commit

Permalink
Tag deployments with service-validation method (#88)
Browse files Browse the repository at this point in the history
* feat: Adding label for tagging service-validation of the deployments and pods
  • Loading branch information
ManuelGerding authored Dec 17, 2024
1 parent f1fcc5d commit fc6ac63
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/steadybit-shopping-demo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: steadybit-shopping-demo
description: Steadybit shopping-demo application Helm chart for Kubernetes.
version: 1.1.3
version: 1.1.5
appVersion: latest
type: application
home: https://www.steadybit.com/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
run: gateway
service-tier: "1"
domain: "shop-gateway"
tags.steadybit.com/service-validation: "http"
tags.datadoghq.com/service: shop-gateway
tags.datadoghq.com/version: 1.0.0
name: gateway
Expand All @@ -27,6 +28,7 @@ spec:
run: gateway-exposed
service-tier: "1"
domain: "shop-gateway"
tags.steadybit.com/service-validation: "http"
tags.datadoghq.com/service: shop-gateway
tags.datadoghq.com/version: 1.0.0
{{- with .Values.global.podAnnotations }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
run: fashion-bestseller
service-tier: "2"
domain: "shop-products"
tags.steadybit.com/service-validation: "http"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
name: fashion-bestseller
Expand All @@ -22,6 +23,7 @@ spec:
run: fashion-bestseller-exposed
service-tier: "2"
domain: "shop-products"
tags.steadybit.com/service-validation: "http"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
{{- with .Values.global.podAnnotations }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
run: toys-bestseller
service-tier: "2"
domain: "shop-products"
tags.steadybit.com/service-validation: "http"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
name: toys-bestseller
Expand All @@ -27,6 +28,7 @@ spec:
run: toys-bestseller-exposed
service-tier: "2"
domain: "shop-products"
tags.steadybit.com/service-validation: "http"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
{{- with .Values.global.podAnnotations }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ metadata:
run: hot-deals
service-tier: "2"
domain: "shop-products"
tags.steadybit.com/service-validation: "http"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
name: hot-deals
Expand All @@ -67,6 +68,7 @@ spec:
run: hot-deals-exposed
service-tier: "2"
domain: "shop-products"
tags.steadybit.com/service-validation: "http"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
{{- with .Values.global.podAnnotations }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ manifest should match snapshot:
service-tier: "1"
tags.datadoghq.com/service: shop-gateway
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
name: gateway
namespace: NAMESPACE
spec:
Expand All @@ -29,6 +30,7 @@ manifest should match snapshot:
service-tier: "1"
tags.datadoghq.com/service: shop-gateway
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
spec:
affinity:
podAntiAffinity:
Expand Down Expand Up @@ -137,6 +139,7 @@ manifest should match snapshot replica count:
service-tier: "1"
tags.datadoghq.com/service: shop-gateway
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
name: gateway
namespace: NAMESPACE
spec:
Expand All @@ -157,6 +160,7 @@ manifest should match snapshot replica count:
service-tier: "1"
tags.datadoghq.com/service: shop-gateway
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
spec:
affinity:
podAntiAffinity:
Expand Down Expand Up @@ -265,6 +269,7 @@ manifest should match snapshot with service type clusterIp:
service-tier: "1"
tags.datadoghq.com/service: shop-gateway
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
name: gateway
namespace: NAMESPACE
spec:
Expand All @@ -285,6 +290,7 @@ manifest should match snapshot with service type clusterIp:
service-tier: "1"
tags.datadoghq.com/service: shop-gateway
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
spec:
affinity:
podAntiAffinity:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ manifest should match snapshot:
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
name: fashion-bestseller
namespace: NAMESPACE
spec:
Expand All @@ -24,6 +25,7 @@ manifest should match snapshot:
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
spec:
containers:
- env:
Expand Down Expand Up @@ -105,6 +107,7 @@ manifest should match snapshot replica count:
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
name: fashion-bestseller
namespace: NAMESPACE
spec:
Expand All @@ -120,6 +123,7 @@ manifest should match snapshot replica count:
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
spec:
containers:
- env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ manifest should match snapshot:
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
name: toys-bestseller
namespace: NAMESPACE
spec:
Expand All @@ -29,6 +30,7 @@ manifest should match snapshot:
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
spec:
affinity:
podAntiAffinity:
Expand Down Expand Up @@ -122,6 +124,7 @@ manifest should match snapshot replica count:
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
name: toys-bestseller
namespace: NAMESPACE
spec:
Expand All @@ -142,6 +145,7 @@ manifest should match snapshot replica count:
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
spec:
affinity:
podAntiAffinity:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ manifest should match snapshot:
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
name: hot-deals
namespace: NAMESPACE
spec:
Expand All @@ -69,6 +70,7 @@ manifest should match snapshot:
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
spec:
containers:
- env:
Expand Down Expand Up @@ -214,6 +216,7 @@ manifest should match snapshot replica count:
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
name: hot-deals
namespace: NAMESPACE
spec:
Expand All @@ -234,6 +237,7 @@ manifest should match snapshot replica count:
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
spec:
containers:
- env:
Expand Down Expand Up @@ -379,6 +383,7 @@ manifest should match snapshot with podAffinity and service type and podDisrupti
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
name: hot-deals
namespace: NAMESPACE
spec:
Expand All @@ -399,6 +404,7 @@ manifest should match snapshot with podAffinity and service type and podDisrupti
service-tier: "2"
tags.datadoghq.com/service: shop-products
tags.datadoghq.com/version: 1.0.0
tags.steadybit.com/service-validation: http
spec:
affinity:
podAffinity:
Expand Down

0 comments on commit fc6ac63

Please sign in to comment.