Skip to content

Commit

Permalink
chore: Replace namespace istio injection with pod injection label (ky…
Browse files Browse the repository at this point in the history
…ma-project#2169)

Replace namespace istio injection with deployment injection label
  • Loading branch information
nesmabadr authored Jan 10, 2025
1 parent 9cb07f0 commit 314c5d9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
9 changes: 2 additions & 7 deletions config/istio/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,5 @@ generatorOptions:
disableNameSuffixHash: true

patches:
- target:
version: v1
kind: Namespace
path: patches/istio_namespace_labels.yaml
- target:
kind: Deployment
path: patches/exclude_webhook_port.yaml
- path: patches/istio_deployment_labels.yaml
- path: patches/exclude_webhook_port.yaml
9 changes: 9 additions & 0 deletions config/istio/patches/istio_deployment_labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: controller-manager
spec:
template:
metadata:
labels:
sidecar.istio.io/inject: "true"
6 changes: 0 additions & 6 deletions config/istio/patches/istio_namespace_labels.yaml

This file was deleted.

0 comments on commit 314c5d9

Please sign in to comment.