canonical/istio-operators

`ingress-auth` relation does not work for cross-model relations, needs `namespace` property in schema

Open

#48 创建于 2022年1月4日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Python (19 fork)auto 404
enhancementgood first issue

仓库指标

Star
 (2 star)
PR 合并指标
 (PR 指标待抓取)

描述

When creating the ingress-auth EnvoyFilter, istio-pilot [renders](https://github.com/canonical/istio-operators/blob/110ef7d1f1342a912e5c8e81e3dafffb4acd5da6/charms/istio-pilot/src/charm.py#L165 self.model.name) as the namespace for the auth service in this template. This only works if the ingress-auth service is in the same namespace as istio-pilot.

To fix, the ingress-auth schema will need to be updated to include a namespace property (similar to the ingress schema). Not sure if there's more to fix or tests that should be added to confirm things work.

贡献者指南