You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/kubernetes/ingress/helper.js

9 lines
247 B

import _ from 'lodash-es';
export class KubernetesIngressHelper {
static findSBoundServiceIngressesRules(ingresses, serviceName) {
const rules = _.flatMap(ingresses, 'Paths');
return _.filter(rules, { ServiceName: serviceName });
}
}