@backstage/plugin-kubernetes 0.7.9-next.0 → 0.7.9-next.2

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 CHANGED
@@ -1,5 +1,31 @@
1
1
  # @backstage/plugin-kubernetes
2
2
 
3
+ ## 0.7.9-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 8adeb19b37d: GitLab can now be used as an `oidcTokenProvider` for Kubernetes clusters
8
+ - Updated dependencies
9
+ - @backstage/core-components@0.12.5-next.2
10
+ - @backstage/plugin-catalog-react@1.4.0-next.2
11
+ - @backstage/core-plugin-api@1.5.0-next.2
12
+ - @backstage/config@1.0.7-next.0
13
+
14
+ ## 0.7.9-next.1
15
+
16
+ ### Patch Changes
17
+
18
+ - c10384a9235: Switch to using `LinkButton` instead of the deprecated `Button`
19
+ - 52b0022dab7: Updated dependency `msw` to `^1.0.0`.
20
+ - Updated dependencies
21
+ - @backstage/core-components@0.12.5-next.1
22
+ - @backstage/core-plugin-api@1.4.1-next.1
23
+ - @backstage/config@1.0.7-next.0
24
+ - @backstage/theme@0.2.18-next.0
25
+ - @backstage/plugin-catalog-react@1.4.0-next.1
26
+ - @backstage/catalog-model@1.2.1-next.1
27
+ - @backstage/plugin-kubernetes-common@0.6.1-next.1
28
+
3
29
  ## 0.7.9-next.0
4
30
 
5
31
  ### Patch Changes
package/dist/index.esm.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { stringifyEntityRef } from '@backstage/catalog-model';
2
- import { createApiRef, createRouteRef, createPlugin, createApiFactory, discoveryApiRef, identityApiRef, googleAuthApiRef, microsoftAuthApiRef, oktaAuthApiRef, oneloginAuthApiRef, createRoutableExtension, useApi } from '@backstage/core-plugin-api';
2
+ import { createApiRef, createRouteRef, createPlugin, createApiFactory, discoveryApiRef, identityApiRef, gitlabAuthApiRef, googleAuthApiRef, microsoftAuthApiRef, oktaAuthApiRef, oneloginAuthApiRef, createRoutableExtension, useApi } from '@backstage/core-plugin-api';
3
3
  import * as React from 'react';
4
4
  import React__default, { Fragment, useCallback, useState, useContext } from 'react';
5
5
  import { useEntity } from '@backstage/plugin-catalog-react';
6
6
  import { Routes, Route } from 'react-router-dom';
7
7
  import { Typography, Chip, makeStyles, createStyles, Button, Drawer, Grid, IconButton, FormControlLabel, Switch, Accordion, AccordionSummary, AccordionDetails, Stepper, Step, StepLabel } from '@material-ui/core';
8
- import { WarningPanel, Table, StatusOK, SubvalueCell, StatusError, StatusAborted, Button as Button$1, CodeSnippet, StructuredMetadataTable, StatusPending, Page, Content, Progress, MissingAnnotationEmptyState } from '@backstage/core-components';
8
+ import { WarningPanel, Table, StatusOK, SubvalueCell, StatusError, StatusAborted, LinkButton, CodeSnippet, StructuredMetadataTable, StatusPending, Page, Content, Progress, MissingAnnotationEmptyState } from '@backstage/core-components';
9
9
  import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
10
10
  import Close from '@material-ui/icons/Close';
11
11
  import OpenInNewIcon from '@material-ui/icons/OpenInNew';
@@ -209,18 +209,21 @@ const kubernetesPlugin = createPlugin({
209
209
  createApiFactory({
210
210
  api: kubernetesAuthProvidersApiRef,
211
211
  deps: {
212
+ gitlabAuthApi: gitlabAuthApiRef,
212
213
  googleAuthApi: googleAuthApiRef,
213
214
  microsoftAuthApi: microsoftAuthApiRef,
214
215
  oktaAuthApi: oktaAuthApiRef,
215
216
  oneloginAuthApi: oneloginAuthApiRef
216
217
  },
217
218
  factory: ({
219
+ gitlabAuthApi,
218
220
  googleAuthApi,
219
221
  microsoftAuthApi,
220
222
  oktaAuthApi,
221
223
  oneloginAuthApi
222
224
  }) => {
223
225
  const oidcProviders = {
226
+ gitlab: gitlabAuthApi,
224
227
  google: googleAuthApi,
225
228
  microsoft: microsoftAuthApi,
226
229
  okta: oktaAuthApi,
@@ -1119,7 +1122,7 @@ const KubernetesDrawerContent = ({
1119
1122
  },
1120
1123
  /* @__PURE__ */ React__default.createElement(Close, { className: classes.icon })
1121
1124
  )), errorMessage && /* @__PURE__ */ React__default.createElement("div", { className: classes.errorMessage }, /* @__PURE__ */ React__default.createElement(ErrorPanel, { cluster, errorMessage })), /* @__PURE__ */ React__default.createElement("div", { className: classes.options }, /* @__PURE__ */ React__default.createElement("div", null, clusterLink && /* @__PURE__ */ React__default.createElement(
1122
- Button$1,
1125
+ LinkButton,
1123
1126
  {
1124
1127
  variant: "outlined",
1125
1128
  color: "primary",