@spinnaker/core 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spinnaker/core",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.27.0",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
7
10
|
"scripts": {
|
|
8
11
|
"clean": "shx rm -rf dist",
|
|
9
12
|
"prepublishOnly": "npm run build",
|
|
@@ -17,7 +20,7 @@
|
|
|
17
20
|
"@apollo/client": "^3.6.9",
|
|
18
21
|
"@fortawesome/fontawesome-free": "5.5.0",
|
|
19
22
|
"@spinnaker/mocks": "1.0.7",
|
|
20
|
-
"@spinnaker/presentation": "^0.3.
|
|
23
|
+
"@spinnaker/presentation": "^0.3.1",
|
|
21
24
|
"@spinnaker/styleguide": "2.0.0",
|
|
22
25
|
"@uirouter/angularjs": "1.0.26",
|
|
23
26
|
"@uirouter/core": "6.0.8",
|
|
@@ -88,8 +91,8 @@
|
|
|
88
91
|
"@graphql-codegen/typescript": "^1.22.4",
|
|
89
92
|
"@graphql-codegen/typescript-operations": "^1.18.3",
|
|
90
93
|
"@graphql-codegen/typescript-react-apollo": "^2.3.0",
|
|
91
|
-
"@spinnaker/eslint-plugin": "^3.0.
|
|
92
|
-
"@spinnaker/scripts": "^0.3.
|
|
94
|
+
"@spinnaker/eslint-plugin": "^3.0.2",
|
|
95
|
+
"@spinnaker/scripts": "^0.3.1",
|
|
93
96
|
"@types/angular": "1.6.26",
|
|
94
97
|
"@types/angular-mocks": "1.5.10",
|
|
95
98
|
"@types/angular-ui-bootstrap": "0.13.41",
|
|
@@ -120,5 +123,5 @@
|
|
|
120
123
|
"shx": "0.3.3",
|
|
121
124
|
"typescript": "4.3.5"
|
|
122
125
|
},
|
|
123
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "217b75396c5ec25d9b2019a849593b0b8d52e916"
|
|
124
127
|
}
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
StageArtifactSelectorDelegate,
|
|
11
11
|
} from '../../../../../artifact';
|
|
12
12
|
import { StageConfigField } from '../../common/stageConfigField/StageConfigField';
|
|
13
|
+
import { SETTINGS } from '../../../../../config';
|
|
13
14
|
import type { IArtifact, IExpectedArtifact } from '../../../../../domain';
|
|
14
15
|
import { MapEditor } from '../../../../../forms';
|
|
15
16
|
import { CheckboxInput, TextInput } from '../../../../../presentation';
|
|
@@ -152,9 +153,30 @@ export class BakeHelmConfigForm extends React.Component<IFormikStageConfigInject
|
|
|
152
153
|
|
|
153
154
|
public render() {
|
|
154
155
|
const stage = this.props.formik.values;
|
|
156
|
+
const enableApiVersions = SETTINGS.feature.helmApiVersions;
|
|
155
157
|
return (
|
|
156
158
|
<>
|
|
157
159
|
<h4>Helm Options</h4>
|
|
160
|
+
{enableApiVersions && ( // Only render if enableApiVersions is true
|
|
161
|
+
<>
|
|
162
|
+
<StageConfigField fieldColumns={3} label={'ApiVersions'}>
|
|
163
|
+
<TextInput
|
|
164
|
+
onChange={(e: React.ChangeEvent<any>) => {
|
|
165
|
+
this.props.formik.setFieldValue('apiVersions', e.target.value);
|
|
166
|
+
}}
|
|
167
|
+
value={stage.apiVersions}
|
|
168
|
+
/>
|
|
169
|
+
</StageConfigField>
|
|
170
|
+
<StageConfigField fieldColumns={3} label={'KubeVersion'}>
|
|
171
|
+
<TextInput
|
|
172
|
+
onChange={(e: React.ChangeEvent<any>) => {
|
|
173
|
+
this.props.formik.setFieldValue('kubeVersion', e.target.value);
|
|
174
|
+
}}
|
|
175
|
+
value={stage.kubeVersion}
|
|
176
|
+
/>
|
|
177
|
+
</StageConfigField>
|
|
178
|
+
</>
|
|
179
|
+
)}
|
|
158
180
|
<StageConfigField fieldColumns={3} label={'Name'}>
|
|
159
181
|
<TextInput
|
|
160
182
|
onChange={(e: React.ChangeEvent<any>) => {
|