committed by
Fredrik Adelöw
parent
a5c3dd77fe
commit
0e120c5c66
@@ -1,5 +1,71 @@
|
||||
# @backstage/plugin-kubernetes
|
||||
|
||||
## 0.4.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 9581ff0b4: Restructure configuration; Add GKE cluster locator
|
||||
|
||||
Config migration
|
||||
|
||||
1. `kubernetes.clusters` is now at `kubernetes.clusterLocatorMethods[].clusters` when the `clusterLocatorMethod` is of `type: 'config''`
|
||||
2. `kubernetes.serviceLocatorMethod` is now an object. `multiTenant` is the only valid `type` currently
|
||||
|
||||
Old config example:
|
||||
|
||||
```yaml
|
||||
kubernetes:
|
||||
serviceLocatorMethod: 'multiTenant'
|
||||
clusterLocatorMethods:
|
||||
- 'config'
|
||||
clusters:
|
||||
- url: http://127.0.0.1:9999
|
||||
name: minikube
|
||||
authProvider: 'serviceAccount'
|
||||
serviceAccountToken:
|
||||
$env: K8S_MINIKUBE_TOKEN
|
||||
- url: http://127.0.0.2:9999
|
||||
name: aws-cluster-1
|
||||
authProvider: 'aws'
|
||||
```
|
||||
|
||||
New config example:
|
||||
|
||||
```yaml
|
||||
kubernetes:
|
||||
serviceLocatorMethod:
|
||||
type: 'multiTenant'
|
||||
clusterLocatorMethods:
|
||||
- type: 'config'
|
||||
clusters:
|
||||
- url: http://127.0.0.1:9999
|
||||
name: minikube
|
||||
authProvider: 'serviceAccount'
|
||||
serviceAccountToken:
|
||||
$env: K8S_MINIKUBE_TOKEN
|
||||
- url: http://127.0.0.2:9999
|
||||
name: aws-cluster-1
|
||||
authProvider: 'aws'
|
||||
```
|
||||
|
||||
- e2c1b3fb6: Add initial CRD support framework
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 763926bc1: Adds a new method `getClusters` to grab cluster configuration in the frontend
|
||||
- Updated dependencies [5d7834baf]
|
||||
- Updated dependencies [0b42fff22]
|
||||
- Updated dependencies [ff4d666ab]
|
||||
- Updated dependencies [9581ff0b4]
|
||||
- Updated dependencies [2089de76b]
|
||||
- Updated dependencies [dc1fc92c8]
|
||||
- Updated dependencies [8de9963f0]
|
||||
- Updated dependencies [e2c1b3fb6]
|
||||
- @backstage/plugin-kubernetes-backend@0.3.0
|
||||
- @backstage/catalog-model@0.7.4
|
||||
- @backstage/core@0.7.1
|
||||
- @backstage/theme@0.2.4
|
||||
|
||||
## 0.3.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-kubernetes",
|
||||
"version": "0.3.12",
|
||||
"version": "0.4.0",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
@@ -31,12 +31,12 @@
|
||||
"clean": "backstage-cli clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/catalog-model": "^0.7.3",
|
||||
"@backstage/catalog-model": "^0.7.4",
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@backstage/core": "^0.7.0",
|
||||
"@backstage/core": "^0.7.1",
|
||||
"@backstage/plugin-catalog-react": "^0.1.1",
|
||||
"@backstage/plugin-kubernetes-backend": "^0.2.8",
|
||||
"@backstage/theme": "^0.2.3",
|
||||
"@backstage/plugin-kubernetes-backend": "^0.3.0",
|
||||
"@backstage/theme": "^0.2.4",
|
||||
"@kubernetes/client-node": "^0.13.2",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
@@ -50,7 +50,7 @@
|
||||
"react-use": "^15.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.3",
|
||||
"@backstage/cli": "^0.6.4",
|
||||
"@backstage/dev-utils": "^0.1.13",
|
||||
"@backstage/test-utils": "^0.1.8",
|
||||
"@testing-library/jest-dom": "^5.10.1",
|
||||
|
||||
Reference in New Issue
Block a user