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