Sebastian Malton
5eb1b8553d
Support window nodes for node-shells ( #3624 )
...
* Support window nodes for node-shells
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Also check beta.kubernetes/os label
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add comment about linux fallback
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-08 20:11:40 -05:00
Sebastian Malton
c6dce043a7
Lint: comma-spacing (error) & comma-dangle (error) ( #4200 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-02 17:38:20 -04:00
Panu Horsmalahti
6b047332c0
Reduce JSON-API logging. ( #4221 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-11-02 13:31:10 +02:00
Sebastian Malton
41863e87ce
Lint: object-curly-spacing (error) ( #4198 )
2021-11-01 08:45:45 -04:00
Sebastian Malton
4d63ef2878
Use spec.serviceName as an externalIP if nothing else ( #4188 )
...
* Use spec.serviceName as an externalIP if nothing else
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Move using externalName to display logic
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-11-01 07:23:29 -04:00
Patrick J. McNerthney
6294343b79
Fix the broken ingress metrics, the namespace is needed in the opts. ( #4203 )
...
Signed-off-by: Patrick J McNerthney <pat@mcnerthney.com >
2021-11-01 11:21:13 +03:00
Sebastian Malton
221ab46540
Handle named ports in probe label renderer ( #4118 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-10-25 10:40:45 -04:00
Panu Horsmalahti
0dab7b8073
Add option for providing request options to watch requests ( #4102 )
...
* Add option for providing request options to watch requests.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Move getRequestOptions to JsonApi.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Style fix
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Make token to be a string or a function
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Fix isFunction import.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Make getRequestOptions async.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Remove commented code.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Only set token if it's truthy.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Review fixes.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add this.getRequestOptions default
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2021-10-21 19:18:32 +03:00
Sebastian Malton
1f42a5148e
Remove api lookup in KubeObjectStore ( #4092 )
2021-10-20 10:44:13 -04:00
Sebastian Malton
b4a4cc6be4
Correctly handle empty string valued secrets in SecretDetails ( #4079 )
2021-10-20 08:51:03 -04:00
Sebastian Malton
e21888c62c
Fix iter function return values ( #3958 )
2021-10-19 09:02:59 -04:00
Sebastian Malton
5998b4ca84
Upgrade js-yaml to 4.X ( #3623 )
2021-10-18 10:03:10 -04:00
Sebastian Malton
e64060cc69
Conditionally render node taints upon value existance ( #3989 )
2021-10-13 10:34:28 -04:00
Sebastian Malton
329f4706c0
Use the served and storage version of a CRD instead of the first ( #3999 )
2021-10-12 07:31:11 -04:00
Sebastian Malton
913244b204
Catch metadata being undefined at KubeObject creation ( #3960 )
2021-10-07 10:09:21 -04:00
Marc Bachmann
851274d314
Fix prometheus operator support ( #3653 )
2021-10-05 12:35:57 -04:00
Sebastian Malton
4705a66632
Use JSON patch for editing components ( #3674 )
2021-10-04 16:28:19 -04:00
Jari Kolehmainen
02c90c760d
fix missing query parameter ( #3875 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-09-23 12:23:00 +03:00
Jari Kolehmainen
3262b13926
Allow KubeApi connect directly to remote k8s ( #3766 )
...
* allow KubeApi to connect directly to remote k8s
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* backward compat
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* backward compat
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-09-13 10:14:05 +03:00
Lauri Nevala
8651eb9594
Use PATCH verb to scale deployments and statefulsets ( #3744 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-09-09 09:31:11 +03:00
Sebastian Malton
5f89b3e31f
Fix filtering deprecated charts ( #3635 )
2021-08-24 08:29:36 -04:00
Sebastian Malton
7d8a6a3e25
Validate and set defaults for HelmChart creation ( #3492 )
2021-08-18 08:06:57 -04:00
Jari Kolehmainen
016d012439
Fix KubeApi.watch leak on abort ( #3629 )
...
* fix KubeApi.watch leak on abort
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* make linter happy
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-18 11:50:03 +03:00
Sebastian Malton
1833a1c722
Fix StatefulSet.getImages to handle null case ( #3619 )
2021-08-17 13:02:33 -04:00
Jari Kolehmainen
be6df7d25a
Allow to pass KubeObjectStore.api via constructor ( #3596 )
...
* allow to pass KubeObjectStore.api via constructor
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* remove throw for backward compat reasons
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-12 11:13:56 +03:00
Jari Kolehmainen
443186d4f5
fix apiBase initialization on main ( #3595 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-12 10:34:45 +03:00
Jari Kolehmainen
58a446bd45
Refactor k8s api to common ( #3553 )
...
* refactor kube api to common
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor more utils to common
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor more utils to common
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* switch to use node-fetch on both sides
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* improve logger
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix lint errors
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix/improve tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix node-fetch require error on prod build
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* preload fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* read serverAddress from apiBase
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-08-10 13:26:14 +03:00