@spinnaker/kubernetes 0.2.5 → 0.2.6

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.
@@ -9,6 +9,7 @@ export interface IKubernetesResource {
9
9
  export interface IKubernetesInstance extends IInstance, IKubernetesResource {
10
10
  humanReadableName: string;
11
11
  moniker: IMoniker;
12
+ publicDnsName?: string;
12
13
  }
13
14
  export interface IKubernetesLoadBalancer extends ILoadBalancer, IKubernetesResource {
14
15
  }
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.5",
4
+ "version": "0.2.6",
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.0",
16
+ "@spinnaker/core": "^0.16.1",
17
17
  "@uirouter/angularjs": "1.0.26",
18
18
  "@uirouter/react": "1.0.7",
19
19
  "angular": "1.6.10",
@@ -50,5 +50,5 @@
50
50
  "shx": "0.3.3",
51
51
  "typescript": "4.3.5"
52
52
  },
53
- "gitHead": "59026ea6af7b81ffb8e8c59e18f43396906ddafb"
53
+ "gitHead": "17b98201c6de43729a39f6d205656d0c4be1db16"
54
54
  }
@@ -42,6 +42,7 @@ class KubernetesInstanceDetailsController implements IController {
42
42
  public instance: IKubernetesInstance;
43
43
  public manifest: IManifest;
44
44
  public consoleOutputInstance: IConsoleOutputInstance;
45
+ public environment: string;
45
46
 
46
47
  public static $inject = ['instance', '$uibModal', '$q', '$scope', 'app', '$state'];
47
48
  constructor(
@@ -68,5 +68,13 @@
68
68
  <collapsible-section heading="Labels" expanded="true">
69
69
  <kubernetes-manifest-labels manifest="ctrl.manifest.manifest"></kubernetes-manifest-labels>
70
70
  </collapsible-section>
71
+
72
+ <instance-links
73
+ address="ctrl.instance.publicDnsName"
74
+ application="ctrl.app"
75
+ instance="ctrl.instance"
76
+ moniker="ctrl.instance.moniker"
77
+ environment="ctrl.environment"
78
+ ></instance-links>
71
79
  </div>
72
80
  </div>
@@ -18,6 +18,7 @@ export interface IKubernetesResource {
18
18
  export interface IKubernetesInstance extends IInstance, IKubernetesResource {
19
19
  humanReadableName: string;
20
20
  moniker: IMoniker;
21
+ publicDnsName?: string;
21
22
  }
22
23
 
23
24
  export interface IKubernetesLoadBalancer extends ILoadBalancer, IKubernetesResource {}