Skip to content

Commit bbd5d5e

Browse files
committed
fix: update default plugin signatures for native apps
1 parent 1e7cb54 commit bbd5d5e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/components/create-job/JobFormWrapper.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ function JobFormWrapper({ projectName, draftJobsCount }) {
112112
{
113113
basePluginType: BasePluginType.Native,
114114
pluginSignature: PLUGIN_SIGNATURE_TYPES[0],
115-
...getBaseSchemaTunnelingDefaults(),
115+
enableTunneling: BOOLEAN_TYPES[1],
116+
port: '',
116117
customParams: [],
117118
},
118119
],

src/components/create-job/plugins/PluginsSection.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ const TUNNELING_DEFAULTS = {
2525
port: '',
2626
};
2727

28+
const NATIVE_TUNNELING_DEFAULTS = {
29+
enableTunneling: BOOLEAN_TYPES[1],
30+
port: '',
31+
};
32+
2833
const GENERIC_PLUGIN_DEFAULTS = {
2934
restartPolicy: POLICY_TYPES[0],
3035
imagePullPolicy: POLICY_TYPES[0],
@@ -123,7 +128,7 @@ export default function PluginsSection() {
123128
basePluginType: BasePluginType.Native,
124129
pluginSignature: PLUGIN_SIGNATURE_TYPES[0],
125130
customParams: [{ key: '', value: '', valueType: 'string' }],
126-
...TUNNELING_DEFAULTS,
131+
...NATIVE_TUNNELING_DEFAULTS,
127132
});
128133
break;
129134

0 commit comments

Comments
 (0)