Fix ingress issue

https://github.com/rancher/rancher/issues/11914
This commit is contained in:
loganhz 2018-03-05 00:10:43 +08:00
parent e4bda650af
commit 4538f28b81
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export default Service.extend({
dnsRecords: function () {
const intl = get(this, 'intl');
return get(this, '_allDnsRecords').map(x => convert(x, intl)).sortBy('combined');
return get(this, '_allDnsRecords').filter(x => get(x, 'ownerReferences.firstObject.kind') !== 'Ingress').map(x => convert(x, intl)).sortBy('combined');
}.property('_allDnsRecords.@each.{id,namespaceId,displayName,type}'),
list: alias('dnsRecords'),