Skip to content

Commit

Permalink
chore: Add label in SentryFlow objects
Browse files Browse the repository at this point in the history
Signed-off-by: Anurag Rajawat <[email protected]>
  • Loading branch information
anurag-rajawat committed Oct 3, 2024
1 parent bae8efc commit d2d9ce4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions deployments/sentryflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@ apiVersion: v1
kind: Namespace
metadata:
name: sentryflow
labels:
app.kubernetes.io/part-of: sentryflow
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: sentryflow
namespace: sentryflow
labels:
app.kubernetes.io/part-of: sentryflow
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: sentryflow
labels:
app.kubernetes.io/part-of: sentryflow
rules:
- apiGroups:
- networking.istio.io
Expand All @@ -35,6 +41,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: sentryflow
labels:
app.kubernetes.io/part-of: sentryflow
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand All @@ -49,6 +57,8 @@ kind: ConfigMap
metadata:
name: config
namespace: sentryflow
labels:
app.kubernetes.io/part-of: sentryflow
data:
config.yaml: |2-
filters:
Expand All @@ -71,6 +81,8 @@ kind: Deployment
metadata:
name: sentryflow
namespace: sentryflow
labels:
app.kubernetes.io/part-of: sentryflow
spec:
replicas: 1
selector:
Expand Down Expand Up @@ -124,6 +136,8 @@ kind: Service
metadata:
namespace: sentryflow
name: sentryflow
labels:
app.kubernetes.io/part-of: sentryflow
spec:
selector:
app: sentryflow
Expand Down

0 comments on commit d2d9ce4

Please sign in to comment.