mirror of https://github.com/rancher/dashboard.git
20 lines
441 B
JavaScript
20 lines
441 B
JavaScript
import SteveModel from '@shell/plugins/steve/steve-class';
|
|
|
|
export default class DestinationRule extends SteveModel {
|
|
applyDefaults() {
|
|
this['spec'] = {
|
|
host: '',
|
|
subsets: [],
|
|
trafficPolicy: {
|
|
loadBalancer: { simple: 'ROUND_ROBIN' },
|
|
connectionPool: {
|
|
tcp: {},
|
|
http: {},
|
|
},
|
|
outlierDetection: {},
|
|
tls: {},
|
|
}
|
|
};
|
|
}
|
|
}
|