@spinnaker/kubernetes 0.2.1 → 0.2.5
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/CHANGELOG.md +32 -0
- package/package.json +5 -5
- package/src/manifest/ManifestImageDetails.spec.tsx +2 -1
- package/src/manifest/selector/ManifestSelector.spec.tsx +10 -7
- package/src/manifest/selector/labelEditor/LabelEditor.spec.tsx +4 -2
- package/src/pipelines/stages/deleteManifest/DeleteManifestOptionsForm.spec.tsx +4 -2
- package/src/pipelines/stages/deployManifest/ManifestCopier.spec.ts +4 -2
- package/src/pipelines/stages/deployManifest/ManifestDeploymentOptions.spec.tsx +3 -6
- package/src/serverGroup/serverGroupTransformer.service.spec.ts +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.2.5](https://github.com/spinnaker/deck/compare/@spinnaker/kubernetes@0.2.4...@spinnaker/kubernetes@0.2.5) (2021-12-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @spinnaker/kubernetes
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.2.4](https://github.com/spinnaker/deck/compare/@spinnaker/kubernetes@0.2.3...@spinnaker/kubernetes@0.2.4) (2021-11-12)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @spinnaker/kubernetes
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [0.2.3](https://github.com/spinnaker/deck/compare/@spinnaker/kubernetes@0.2.2...@spinnaker/kubernetes@0.2.3) (2021-11-03)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @spinnaker/kubernetes
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [0.2.2](https://github.com/spinnaker/deck/compare/@spinnaker/kubernetes@0.2.1...@spinnaker/kubernetes@0.2.2) (2021-10-05)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @spinnaker/kubernetes
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
## [0.2.1](https://github.com/spinnaker/deck/compare/@spinnaker/kubernetes@0.2.0...@spinnaker/kubernetes@0.2.1) (2021-10-01)
|
|
7
39
|
|
|
8
40
|
**Note:** Version bump only for package @spinnaker/kubernetes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spinnaker/kubernetes",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.5",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"lib": "npm run build"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@spinnaker/core": "^0.
|
|
16
|
+
"@spinnaker/core": "^0.16.0",
|
|
17
17
|
"@uirouter/angularjs": "1.0.26",
|
|
18
18
|
"@uirouter/react": "1.0.7",
|
|
19
19
|
"angular": "1.6.10",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"rxjs": "6.6.7"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@spinnaker/eslint-plugin": "^3.0.
|
|
39
|
-
"@spinnaker/scripts": "^0.2.
|
|
38
|
+
"@spinnaker/eslint-plugin": "^3.0.1",
|
|
39
|
+
"@spinnaker/scripts": "^0.2.4",
|
|
40
40
|
"@types/angular": "1.6.26",
|
|
41
41
|
"@types/angular-ui-bootstrap": "0.13.41",
|
|
42
42
|
"@types/dompurify": "0.0.29",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"shx": "0.3.3",
|
|
51
51
|
"typescript": "4.3.5"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "59026ea6af7b81ffb8e8c59e18f43396906ddafb"
|
|
54
54
|
}
|
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { mount } from 'enzyme';
|
|
3
|
-
import Select, { Creatable, Option } from 'react-select';
|
|
4
2
|
import { $q } from 'ngimport';
|
|
5
|
-
import
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import type { Option } from 'react-select';
|
|
5
|
+
import Select, { Creatable } from 'react-select';
|
|
6
6
|
|
|
7
7
|
import {
|
|
8
8
|
AccountSelectInput,
|
|
9
9
|
AccountService,
|
|
10
|
-
ScopeClusterSelector,
|
|
11
10
|
createFakeReactSyntheticEvent,
|
|
12
11
|
noop,
|
|
12
|
+
ScopeClusterSelector,
|
|
13
13
|
} from '@spinnaker/core';
|
|
14
14
|
|
|
15
|
-
import {
|
|
16
|
-
import { ManifestSelector, IManifestSelectorState } from './ManifestSelector';
|
|
15
|
+
import type { IManifestLabelSelector } from './IManifestLabelSelector';
|
|
17
16
|
import { SelectorMode } from './IManifestSelector';
|
|
17
|
+
import { ManifestKindSearchService } from '../ManifestKindSearch';
|
|
18
|
+
import type { IManifestSelectorState } from './ManifestSelector';
|
|
19
|
+
import { ManifestSelector } from './ManifestSelector';
|
|
18
20
|
import LabelEditor from './labelEditor/LabelEditor';
|
|
19
|
-
|
|
21
|
+
|
|
22
|
+
import Spy = jasmine.Spy;
|
|
20
23
|
|
|
21
24
|
describe('<ManifestSelector />', () => {
|
|
22
25
|
let searchService: Spy;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import type { ShallowWrapper } from 'enzyme';
|
|
2
|
+
import { shallow } from 'enzyme';
|
|
1
3
|
import React from 'react';
|
|
2
|
-
import { shallow, ShallowWrapper } from 'enzyme';
|
|
3
4
|
|
|
4
|
-
import
|
|
5
|
+
import type { ILabelEditorProps } from './LabelEditor';
|
|
6
|
+
import LabelEditor from './LabelEditor';
|
|
5
7
|
|
|
6
8
|
describe('<LabelEditor />', () => {
|
|
7
9
|
let onChangeSpy: jasmine.Spy;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import type { ShallowWrapper } from 'enzyme';
|
|
2
|
+
import { shallow } from 'enzyme';
|
|
1
3
|
import React from 'react';
|
|
2
|
-
import { shallow, ShallowWrapper } from 'enzyme';
|
|
3
4
|
|
|
4
5
|
import { StageConfigField } from '@spinnaker/core';
|
|
5
6
|
|
|
6
|
-
import
|
|
7
|
+
import type { IDeleteManifestOptionsFormProps } from './DeleteManifestOptionsForm';
|
|
8
|
+
import DeleteManifestOptionsForm from './DeleteManifestOptionsForm';
|
|
7
9
|
|
|
8
10
|
describe('<DeleteManifestOptionsForm />', () => {
|
|
9
11
|
let onChangeSpy: jasmine.Spy;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { IQService, IScope
|
|
1
|
+
import type { IQService, IScope } from 'angular';
|
|
2
|
+
import { mock } from 'angular';
|
|
2
3
|
|
|
3
|
-
import {
|
|
4
|
+
import type { Application } from '@spinnaker/core';
|
|
5
|
+
import { ApplicationModelBuilder, noop } from '@spinnaker/core';
|
|
4
6
|
import { ManifestCopier } from './ManifestCopier';
|
|
5
7
|
|
|
6
8
|
describe('<ManifestCopier />', () => {
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { shallow } from 'enzyme';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { StageConfigField } from '@spinnaker/core';
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
ManifestDeploymentOptions,
|
|
9
|
-
defaultTrafficManagementConfig,
|
|
10
|
-
} from './ManifestDeploymentOptions';
|
|
6
|
+
import type { IManifestDeploymentOptionsProps } from './ManifestDeploymentOptions';
|
|
7
|
+
import { defaultTrafficManagementConfig, ManifestDeploymentOptions } from './ManifestDeploymentOptions';
|
|
11
8
|
|
|
12
9
|
describe('<ManifestDeploymentOptions />', () => {
|
|
13
10
|
const onConfigChangeSpy = jasmine.createSpy('onConfigChangeSpy');
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { KubernetesV2ServerGroupTransformer } from './serverGroupTransformer.service';
|
|
2
1
|
import { Application } from '@spinnaker/core';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
import type { IKubernetesServerGroup } from '../interfaces';
|
|
4
|
+
import { KubernetesV2ServerGroupTransformer } from './serverGroupTransformer.service';
|
|
4
5
|
|
|
5
6
|
describe('KubernetesV2ServerGroupTransformer', function () {
|
|
6
7
|
it('normalizes server group name', async () => {
|