Skip to content

Commit

Permalink
Merge pull request #72 from banzaicloud/meshpolicy-fix
Browse files Browse the repository at this point in the history
Remove namespace from meshpolicy resource
  • Loading branch information
martonsereg authored Mar 1, 2019
2 parents 7a1b5e3 + fff0ae5 commit 66e0cd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/resources/citadel/mtls.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ limitations under the License.
package citadel

import (
"github.com/banzaicloud/istio-operator/pkg/k8sutil"
"k8s.io/apimachinery/pkg/runtime/schema"

"github.com/banzaicloud/istio-operator/pkg/k8sutil"
)

// mTLS returns a map to configure the default MeshPolicy
Expand All @@ -42,9 +43,8 @@ func (r *Reconciler) meshPolicy() *k8sutil.DynamicObject {
Version: "v1alpha1",
Resource: "meshpolicies",
},
Kind: "MeshPolicy",
Name: "default",
Namespace: r.Config.Namespace,
Kind: "MeshPolicy",
Name: "default",
Labels: map[string]string{
"app": "istio-security",
},
Expand Down

0 comments on commit 66e0cd0

Please sign in to comment.