Skip to content

Commit

Permalink
Remove istio sidecar annotation (openshift-knative#586)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
  • Loading branch information
matzew authored Apr 30, 2021
1 parent 9621529 commit 83e1b7a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions pkg/source/reconciler/source/resources/receive_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ func MakeReceiveAdapter(args *ReceiveAdapterArgs) *v1.Deployment {
Replicas: args.Source.Spec.Consumers,
Template: corev1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Annotations: map[string]string{
"sidecar.istio.io/inject": "true",
},
Labels: args.Labels,
},
Spec: corev1.PodSpec{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@ func TestMakeReceiveAdapter(t *testing.T) {
Replicas: &one,
Template: corev1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Annotations: map[string]string{
"sidecar.istio.io/inject": "true",
},
Labels: map[string]string{
"test-key1": "test-value1",
"test-key2": "test-value2",
Expand Down Expand Up @@ -311,9 +308,6 @@ func TestMakeReceiveAdapterNoNet(t *testing.T) {
Replicas: &one,
Template: corev1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Annotations: map[string]string{
"sidecar.istio.io/inject": "true",
},
Labels: map[string]string{
"test-key1": "test-value1",
"test-key2": "test-value2",
Expand Down Expand Up @@ -541,9 +535,6 @@ func TestMakeReceiveAdapterKeyType(t *testing.T) {
Replicas: &one,
Template: corev1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Annotations: map[string]string{
"sidecar.istio.io/inject": "true",
},
Labels: map[string]string{
"test-key1": "test-value1",
"test-key2": "test-value2",
Expand Down

0 comments on commit 83e1b7a

Please sign in to comment.