Skip to content

Commit 66e0cd0

Browse files
authored
Merge pull request #72 from banzaicloud/meshpolicy-fix
Remove namespace from meshpolicy resource
2 parents 7a1b5e3 + fff0ae5 commit 66e0cd0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/resources/citadel/mtls.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ limitations under the License.
1717
package citadel
1818

1919
import (
20-
"github.com/banzaicloud/istio-operator/pkg/k8sutil"
2120
"k8s.io/apimachinery/pkg/runtime/schema"
21+
22+
"github.com/banzaicloud/istio-operator/pkg/k8sutil"
2223
)
2324

2425
// mTLS returns a map to configure the default MeshPolicy
@@ -42,9 +43,8 @@ func (r *Reconciler) meshPolicy() *k8sutil.DynamicObject {
4243
Version: "v1alpha1",
4344
Resource: "meshpolicies",
4445
},
45-
Kind: "MeshPolicy",
46-
Name: "default",
47-
Namespace: r.Config.Namespace,
46+
Kind: "MeshPolicy",
47+
Name: "default",
4848
Labels: map[string]string{
4949
"app": "istio-security",
5050
},

0 commit comments

Comments
 (0)