diff --git a/build/commands/deploy.d.ts b/build/commands/deploy.d.ts index 7026ff8..75e5133 100644 --- a/build/commands/deploy.d.ts +++ b/build/commands/deploy.d.ts @@ -14,6 +14,7 @@ declare type Options = { config_file: string | undefined; image: string | undefined; k8s: string | undefined; + compatibility: string | undefined; }; export declare const command: string; export declare const desc: string; diff --git a/build/commands/deploy.js b/build/commands/deploy.js index 007934b..1df743d 100755 --- a/build/commands/deploy.js +++ b/build/commands/deploy.js @@ -33,7 +33,8 @@ const builder = (yargs) => yargs image: { type: 'string', desc: 'Docker image' }, port: { type: 'string', desc: 'Port number' }, type: { type: 'string', desc: 'type: LoadBalancer' }, - k8s: { type: 'string', desc: 'Provide type of cluster to install' } + k8s: { type: 'string', desc: 'Provide type of cluster to install' }, + compatibility: { type: 'string', desc: 'Network segment compatibility' } }) .positional('action', { type: 'string', @@ -44,7 +45,7 @@ exports.builder = builder; const handler = (argv) => { (0, clear_1.default)(); console.log(chalk_1.default.greenBright(figlet_1.default.textSync('hzn-cli', { horizontalLayout: 'full' }))); - const { action, org, config_path, name, object_type, object_id, object, pattern, watch, filter, skip_config_update, config_file, image, port, type, k8s } = argv; + const { action, org, config_path, name, object_type, object_id, object, pattern, watch, filter, skip_config_update, config_file, image, port, type, k8s, compatibility } = argv; let env = org || ''; const n = name || ''; const objType = object_type || ''; @@ -74,7 +75,8 @@ const handler = (argv) => { image: image || '', port: port || '', type: type || '', - k8s: k8s || '' + k8s: k8s || '', + compatibility: compatibility || 'RHSI' }; const hzn = new hzn_1.Hzn(hznModel); hzn.init(hzn_model_1.justRunCliOptional.indexOf(action) >= 0) @@ -124,19 +126,19 @@ const handler = (argv) => { if (action && skipInitialize.concat(interface_1.runDirectly).concat(interface_1.justRun).concat(interface_1.promptForUpdate).concat(interface_1.customRun).includes(action)) { if (interface_1.runDirectly.indexOf(action) >= 0) { console.log(action, env); - hzn_1.utils[action]() + hzn_1.utils[action] ? hzn_1.utils[action]() .subscribe({ complete: () => process.exit(0), error: (err) => { console.log(err); process.exit(0); } - }); + }) : console.log('command not found, oh deploy -h for help.'); } else if (interface_1.customRun.indexOf(action) >= 0) { console.log(action); const params = { configFile: config_file, object: obj, k8s: k8s }; - hzn_1.utils[action](params) + hzn_1.utils[action] ? hzn_1.utils[action](params) .subscribe({ next: (msg) => console.log(msg), complete: () => process.exit(0), @@ -144,7 +146,7 @@ const handler = (argv) => { console.log(err); process.exit(0); } - }); + }) : console.log('command not found, oh deploy -h for help.'); } else { console.log(action, env); diff --git a/build/commands/deploy.js.map b/build/commands/deploy.js.map index 6d81f85..8c56715 100644 --- a/build/commands/deploy.js.map +++ b/build/commands/deploy.js.map @@ -1 +1 @@ -{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,kDAA0B;AAC1B,oDAA4B;AAC5B,2BAAgC;AAEhC,2CAA+C;AAC/C,uDAA4G;AAC5G,iEAAmF;AAmBtE,QAAA,OAAO,GAAW,iBAAiB,CAAC;AACpC,QAAA,IAAI,GAAW,8BAA8B,CAAC;AAE3D,IAAI,gBAAgB,GAAG,oBAAoB,CAAA;AAC3C,uBAAW,CAAC,MAAM,CAAC,mBAAO,CAAC,CAAC,MAAM,CAAC,2BAAe,CAAC,CAAC,MAAM,CAAC,qBAAS,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;IAC9F,gBAAgB,IAAI,IAAI,MAAM,EAAE,CAAA;AAClC,CAAC,CAAC,CAAA;AACK,MAAM,OAAO,GAAqC,CAAC,KAAK,EAAE,EAAE,CACjE,KAAK;KACF,OAAO,CAAC;IACP,GAAG,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,gCAAgC,EAAC;IAC7D,WAAW,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,yDAAyD,EAAC;IAC9F,IAAI,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAE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c,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;wBACrC,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAA;wBACnC,WAAK,CAAC,aAAa,CAAC,GAAG,CAAC;6BACvB,SAAS,CAAC;4BACT,IAAI,EAAE,CAAC,IAAS,EAAE,EAAE;gCAClB,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAA;gCAC/B,OAAO,EAAE,CAAA;4BACX,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;yBAChC,CAAC,CAAA;qBACH;yBAAM;wBACL,WAAK,CAAC,gBAAgB,EAAE;6BACvB,SAAS,CAAC;4BACT,QAAQ,EAAC,GAAG,EAAE;gCACZ,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;gCAClC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;4BACjB,CAAC;yBACF,CAAC,CAAA;qBACH;gBACH,CAAC;aACF,CAAC,CAAA;SACH;KACF;SAAM;QACL,OAAO,CAAC,GAAG,CAAC,8FAA8F,CAAC,CAAA;KAC5G;AACH,CAAC,CAAC;AAzKW,QAAA,OAAO,WAyKlB"} \ No newline at end of file diff --git a/build/common/src/hzn.d.ts b/build/common/src/hzn.d.ts index 1b01fb2..b2b08da 100644 --- a/build/common/src/hzn.d.ts +++ b/build/common/src/hzn.d.ts @@ -45,6 +45,7 @@ export declare class Hzn { publishMMSService(): Observable; publishMMSPattern(): Observable; createDeployment(): Observable; + createNetworkSegment(): Observable; exposeDeployment(): Observable; meshNodeList(): Observable; meshAgreementList(): Observable; diff --git a/build/common/src/hzn.js b/build/common/src/hzn.js index bdfa4fd..fbe5697 100644 --- a/build/common/src/hzn.js +++ b/build/common/src/hzn.js @@ -197,6 +197,13 @@ class Hzn { exports.utils.shell(`kubectl create deployment ${this.param.name} --image ${this.param.image} -n $AGENT_NAMESPACE`) : (0, rxjs_1.of)('Please specify deploment --name and --image'); } + createNetworkSegment() { + return this.param.name.length > 0 ? + exports.utils.shell(`cat << EOM | palmctl create networksegment -f - + name: ${this.param.name} + compatibility_set: ${this.param.compatibility}`) : + (0, rxjs_1.of)('Please specify agent name'); + } exposeDeployment() { return this.param.name.length > 0 && this.param.type.length > 0 && this.param.port.length > 0 ? exports.utils.shell(`kubectl expose deployment ${this.param.name} --port ${this.param.port} --type ${this.param.type} -n $AGENT_NAMESPACE`) : diff --git a/build/common/src/hzn.js.map b/build/common/src/hzn.js.map index 08d9e27..e87de47 100644 --- a/build/common/src/hzn.js.map +++ b/build/common/src/hzn.js.map @@ -1 +1 @@ -{"version":3,"file":"hzn.js","sourceRoot":"","sources":["../../../src/common/src/hzn.ts"],"names":[],"mappings":";;;AAAA,2BAAgC;AAChC,+BAAsC;AAEtC,+BAA4B;AAC5B,2CAAkE;AAClE,mCAAgC;AAEnB,QAAA,KAAK,GAAG,IAAI,aAAK,EAAE,CAAC;AAEjC,MAAa,GAAG;IA4Bd,YAAY,KAAgB;QAf5B,mBAAc,GAAW,EAAE,CAAC;QAC5B,yBAAoB,GAAW,EAAE,CAAC;QAClC,iCAA4B,GAAW,EAAE,CAAC;QAC1C,sBAAiB,GAAW,EAAE,CAAC;QAC/B,qBAAgB,GAAW,EAAE,CAAC;QAC9B,sBAAiB,GAAW,EAAE,CAAC;QAC/B,0BAAqB,GAAW,EAAE,CAAC;QACnC,uBAAkB,GAAW,EAAE,CAAC;QAS9B,IAAI,CAAC,KAAK,GAAG,aAAK,CAAC;QACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,IAAI,SAAG,CAAC,KAAK,CAAC,GAAG,EAAE,aAAK,CAAC,YAAY,EAAE,CAAC,CAAC;QACvD,IAAI,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EAAE;iBACd,SAAS,CAAC;gBACT,IAAI,EAAE,CAAC,MAAU,EAAE,EAAE;oBACnB,IAAG,MAAM,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;wBAC9C,aAAK,CAAC,KAAK,CAAC;;kFAE0D,CAAC;6BACtE,SAAS,CAAC;4BACT,QAAQ,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE;4BACnC,KAAK,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC;yBACpC,CAAC,CAAA;qBACH;yBAAM;wBACL,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAA;wBAC/B,QAAQ,CAAC,QAAQ,EAAE,CAAC;qBACrB;gBACH,CAAC;aACF,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC;IACD,YAAY;QACV,OAAO,IAAI,iBAAU,CAAC,CAAC,QAAQ,EAAE,EAAE;YACjC,IAAI,MAAM,GAAG,aAAK,CAAC,YAAY,EAAE,CAAA;YACjC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;YACnB,QAAQ,CAAC,QAAQ,EAAE,CAAA;QACrB,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AA3kBD,kBA2kBC"} \ No newline at end of file diff --git a/build/common/src/interface/hzn-model.d.ts b/build/common/src/interface/hzn-model.d.ts index 32fdd40..70d9d92 100644 --- a/build/common/src/interface/hzn-model.d.ts +++ b/build/common/src/interface/hzn-model.d.ts @@ -160,6 +160,7 @@ export interface IHznParam { port: string; type: string; k8s: string; + compatibility: string; } export interface IPolicy { envVar: string; diff --git a/build/common/src/interface/hzn-model.js b/build/common/src/interface/hzn-model.js index 9593ea8..1b30a80 100644 --- a/build/common/src/interface/hzn-model.js +++ b/build/common/src/interface/hzn-model.js @@ -7,11 +7,11 @@ exports.justRun = [ 'listDeploymentPolicy', 'listExchangeNode', 'listExchangeNodePolicy', 'listNode', 'listNodes', 'listOrg', 'listNodePattern', 'listObject', 'listPattern', 'listPolicy', 'listService', 'listServicePolicy', 'listAllServices', 'publishMMSObject', 'publishMMSObjectPattern', 'publishMMSObjectPolicy', 'register', 'removeDeploymentPolicy', 'removeObject', 'removeOrg', - 'removeNode', 'removeService', 'reviewPolicy', 'reviewServiceDefinition', + 'removeNode', 'removeService', 'reviewPolicy', 'reviewServiceDefinition', 'createNetworkSegment', 'unregisterMeshAgent', 'registerMeshAgent', 'createDeployment', 'exposeDeployment', 'meshNodeList', 'meshAgreementList' ]; exports.justRunCliOptional = [ - 'registerMeshAgent', 'unregisterMeshAgent', 'createDeployment', 'exposeDeployment', 'meshNodeList', 'meshAgreementList' + 'registerMeshAgent', 'unregisterMeshAgent', 'createDeployment', 'exposeDeployment', 'meshNodeList', 'meshAgreementList', 'createNetworkSegment' ]; exports.promptForUpdate = [ 'setup', 'test', 'buildAndPublish', 'buildPublishAndRegister', diff --git a/build/common/src/interface/hzn-model.js.map b/build/common/src/interface/hzn-model.js.map index d376b93..35b2c41 100644 --- a/build/common/src/interface/hzn-model.js.map +++ b/build/common/src/interface/hzn-model.js.map @@ -1 +1 @@ -{"version":3,"file":"hzn-model.js","sourceRoot":"","sources":["../../../../src/common/src/interface/hzn-model.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG;IACrB,WAAW,EAAE,qBAAqB,EAAE,cAAc;IAClD,kBAAkB,EAAE,cAAc,EAAE,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe;IAClG,sBAAsB,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,YAAY,EAAE,aAAa;IACxJ,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,wBAAwB;IAC5I,UAAU,EAAE,wBAAwB,EAAE,cAAc,EAAE,WAAW;IAC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UAAK,GAAG,yBAAyB,CAAC;QAClC,SAAI,GAAG,OAAO,CAAC;QACf,kBAAa,GAAG,mFAAmF,CAAC;QACpG,WAAM,GAAG,KAAK,CAAC;QACf,aAAQ,GAAG,WAAW,CAAC;IAOzB,CAAC;CAAA;AAfD,0BAeC"} \ No newline at end of file +{"version":3,"file":"hzn-model.js","sourceRoot":"","sources":["../../../../src/common/src/interface/hzn-model.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG;IACrB,WAAW,EAAE,qBAAqB,EAAE,cAAc;IAClD,kBAAkB,EAAE,cAAc,EAAE,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe;IAClG,sBAAsB,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,YAAY,EAAE,aAAa;IACxJ,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,wBAAwB;IAC5I,UAAU,EAAE,wBAAwB,EAAE,cAAc,EAAE,WAAW;IACjE,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,yBAAyB,EAAE,sBAAsB;IAChG,qBAAqB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,cAAc,EAAE,mBAAmB;CACxH,CAAC;AACW,QAAA,kBAAkB,GAAG;IAChC,mBAAmB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,cAAc,EAAE,mBAAmB,EAAE,sBAAsB;CAChJ,CAAC;AACW,QAAA,eAAe,GAAG;IAC7B,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,yBAAyB;IAC7D,eAAe,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,oBAAoB;IACxH,gBAAgB,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,mBAAmB;IACnF,mBAAmB,EAAE,cAAc,EAAE,k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C,iCAAiC,EAAE,EAAE;QACrC,8BAA8B,EAAE,EAAE;QAClC,kCAAkC,EAAE,EAAE;QACtC,iCAAiC,EAAE,EAAE;QACrC,8BAA8B,EAAE,EAAE;KACnC;CACF,CAAA;AAkCD,MAAa,eAAe;IAO1B;QANA,QAAG,GAAG,aAAa,CAAC;QACpB,QAAG,GAAG,eAAe,CAAC;QACtB,YAAO,GAAG,8BAA8B,CAAC;QACzC,iBAAY,GAAG,8BAA8B,CAAC;QAC9C,SAAI,GAAG,OAAO,CAAC;IAEA,CAAC;CACjB;AARD,0CAQC;AAED,MAAa,SAAS;IAAtB;QACE,SAAI,GAAG,eAAe,CAAC;QACvB,UAAK,GAAG,mBAAmB,CAAC;QAC5B,UAAK,GAAG,CAAC,iCAAiC,CAAC,CAAC;QAC5C,eAAU,GAAG,IAAI,CAAC;IAGpB,CAAC;CAAA;AAPD,8BAOC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,OAAO;IAApB;QACE,QAAG,GAAG,aAAa,CAAC;QACpB,QAAG,GAAG,eAAe,CAAC;QACtB,YAAO,GAAG,kBAAkB,CAAC;QAC7B,UAAK,GAAG,yBAAyB,CAAC;QAClC,SAAI,GAAG,OAAO,CAAC;QACf,kBAAa,GAAG,mFAAmF,CAAC;QACpG,WAAM,GAAG,KAAK,CAAC;QACf,aAAQ,GAAG,WAAW,CAAC;IAOzB,CAAC;CAAA;AAfD,0BAeC"} \ No newline at end of file diff --git a/src/commands/deploy.ts b/src/commands/deploy.ts index 7f21fe6..63fdc14 100644 --- a/src/commands/deploy.ts +++ b/src/commands/deploy.ts @@ -23,6 +23,7 @@ type Options = { config_file: string | undefined; image: string | undefined; k8s: string | undefined; + compatibility: string | undefined; }; export const command: string = 'deploy '; export const desc: string = 'Deploy to Org '; @@ -48,7 +49,8 @@ export const builder: CommandBuilder = (yargs) => image: {type: 'string', desc: 'Docker image'}, port: {type: 'string', desc: 'Port number'}, type: {type: 'string', desc: 'type: LoadBalancer'}, - k8s: {type: 'string', desc: 'Provide type of cluster to install'} + k8s: {type: 'string', desc: 'Provide type of cluster to install'}, + compatibility: {type: 'string', desc: 'Network segment compatibility'} }) .positional('action', { type: 'string', @@ -63,7 +65,7 @@ export const handler = (argv: Arguments): void => { figlet.textSync('hzn-cli', { horizontalLayout: 'full' }) ) ); - const { action, org, config_path, name, object_type, object_id, object, pattern, watch, filter, skip_config_update, config_file, image, port, type, k8s } = argv; + const { action, org, config_path, name, object_type, object_id, object, pattern, watch, filter, skip_config_update, config_file, image, port, type, k8s, compatibility } = argv; let env = org || ''; const n = name || ''; const objType = object_type || ''; @@ -94,7 +96,8 @@ export const handler = (argv: Arguments): void => { image: image || '', port: port || '', type: type || '', - k8s: k8s || '' + k8s: k8s || '', + compatibility: compatibility || 'RHSI' } as IHznParam; const hzn = new Hzn(hznModel); @@ -143,18 +146,18 @@ export const handler = (argv: Arguments): void => { if(action && skipInitialize.concat(runDirectly).concat(justRun).concat(promptForUpdate).concat(customRun).includes(action)) { if(runDirectly.indexOf(action) >= 0) { console.log(action, env); - utils[action]() + utils[action] ? utils[action]() .subscribe({ complete: () => process.exit(0), error: (err) => { console.log(err); process.exit(0); } - }) + }) : console.log('command not found, oh deploy -h for help.') } else if(customRun.indexOf(action) >= 0) { console.log(action); const params: IAutoParam = {configFile: config_file, object: obj, k8s: k8s} - utils[action](params) + utils[action] ? utils[action](params) .subscribe({ next: (msg) => console.log(msg), complete: () => process.exit(0), @@ -162,7 +165,7 @@ export const handler = (argv: Arguments): void => { console.log(err); process.exit(0); } - }) + }) : console.log('command not found, oh deploy -h for help.') } else { console.log(action, env); utils.checkDefaultConfig() diff --git a/src/common/src/hzn.ts b/src/common/src/hzn.ts index 5d5582b..86f5829 100644 --- a/src/common/src/hzn.ts +++ b/src/common/src/hzn.ts @@ -217,6 +217,13 @@ export class Hzn { utils.shell(`kubectl create deployment ${this.param.name} --image ${this.param.image} -n $AGENT_NAMESPACE`) : of('Please specify deploment --name and --image') } + createNetworkSegment() { + return this.param.name.length > 0 ? + utils.shell(`cat << EOM | palmctl create networksegment -f - + name: ${this.param.name} + compatibility_set: ${this.param.compatibility}`) : + of('Please specify agent name') + } exposeDeployment() { return this.param.name.length > 0 && this.param.type.length > 0 && this.param.port.length > 0 ? utils.shell(`kubectl expose deployment ${this.param.name} --port ${this.param.port} --type ${this.param.type} -n $AGENT_NAMESPACE`) : diff --git a/src/common/src/interface/hzn-model.ts b/src/common/src/interface/hzn-model.ts index d49810b..4a12dca 100644 --- a/src/common/src/interface/hzn-model.ts +++ b/src/common/src/interface/hzn-model.ts @@ -4,11 +4,11 @@ export const justRun = [ 'listDeploymentPolicy', 'listExchangeNode', 'listExchangeNodePolicy', 'listNode', 'listNodes', 'listOrg', 'listNodePattern', 'listObject', 'listPattern', 'listPolicy', 'listService', 'listServicePolicy', 'listAllServices', 'publishMMSObject', 'publishMMSObjectPattern', 'publishMMSObjectPolicy', 'register', 'removeDeploymentPolicy', 'removeObject', 'removeOrg', - 'removeNode', 'removeService', 'reviewPolicy', 'reviewServiceDefinition', + 'removeNode', 'removeService', 'reviewPolicy', 'reviewServiceDefinition', 'createNetworkSegment', 'unregisterMeshAgent', 'registerMeshAgent', 'createDeployment', 'exposeDeployment', 'meshNodeList', 'meshAgreementList' ]; export const justRunCliOptional = [ - 'registerMeshAgent', 'unregisterMeshAgent', 'createDeployment', 'exposeDeployment', 'meshNodeList', 'meshAgreementList' + 'registerMeshAgent', 'unregisterMeshAgent', 'createDeployment', 'exposeDeployment', 'meshNodeList', 'meshAgreementList', 'createNetworkSegment' ]; export const promptForUpdate = [ 'setup', 'test', 'buildAndPublish', 'buildPublishAndRegister', @@ -188,6 +188,7 @@ export interface IHznParam { port: string; type: string; k8s: string; + compatibility: string; } export interface IPolicy { envVar: string;