witty-honey-18052
02/21/2023, 2:25 PMwitty-honey-18052
03/15/2023, 1:05 PMwitty-honey-18052
03/26/2023, 10:16 PMrancher.localhost
, which works great for local. But I'm having trouble with the proxy request that's happening inside of the extension dev process.
I'd expect that API=rancher.localhost/v3 yarn dev
should work as a run command, but I'm receiving an error. I'm assuming there is a network issue, but I've also tried using combinations of host.docker.localhost and 0.0.0.0, including localhost with a port forward from Rancher, but no luck.
Am I missing anything obvious?
yarn run v1.22.19
warning package.json: No license field
$ ./node_modules/.bin/nuxt dev
Build: Development 18:13:27
API: '<https://rancher.localhost/v3>'. Env: 'web' 18:13:27
╭────────────────────────────────────────────╮
│ │
│ Nuxt @ v2.15.8 │
│ │
│ ▸ Environment: development │
│ ▸ Rendering: client-side │
│ ▸ Target: server │
│ │
│ Listening: <https://172.24.89.129:8005/> │
│ │
╰────────────────────────────────────────────╯
ℹ Preparing project for development 18:13:28
ℹ Initial build may take a while 18:13:28
✔ Builder initialized 18:13:28
✔ Nuxt files generated 18:13:28
ℹ Warming up worker pools 18:13:29
✔ Worker pools ready 18:13:30
✔ Client
Compiled successfully in 10.20s
ℹ Waiting for file changes 18:13:48
ℹ Memory usage: 1.45 GB (RSS: 1.99 GB) 18:13:48
ℹ Listening on: <https://172.24.89.129:8005/> 18:13:48
No issues found. 18:13:48
ERROR Proxy Error: getaddrinfo ENOTFOUND rancher.localhost 18:14:05
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)
ERROR [HPM] Error occurred while trying to proxy request /api/v1/namespaces/cattle-ui-plugin-system/services/<http:ui-plugin-operator:80/proxy/index.json> from localhost:8005 to <https://rancher.localhost/v3> (ENOTFOUND) (<https://nodejs.org/api/errors.html#errors_common_system_errors>)
witty-honey-18052
03/26/2023, 10:22 PM127.0.0.1 rancher.localhost
to my hosts file manually, and that seems to have fixed it.
Also, the url path wants to not use the /v3
So after adding my hosts file, the corrected command is API=rancher.localhost yarn dev
witty-honey-18052
04/08/2023, 4:15 PMwitty-honey-18052
04/13/2023, 1:56 PM'node'
but not having luck. Curious is there's any restriction on certain types/appswitty-jelly-95845
04/21/2023, 5:54 PMnice-diamond-24021
04/25/2023, 9:59 AMwitty-honey-18052
05/02/2023, 12:55 PMhandsome-fireman-34425
05/02/2023, 3:39 PMmagnificent-oxygen-87068
05/22/2023, 10:10 AMwitty-honey-18052
06/06/2023, 9:04 PMfew-caravan-91238
06/14/2023, 1:51 PMbrash-river-69895
06/30/2023, 4:53 PMstocky-account-63046
07/03/2023, 6:58 AMstocky-account-63046
07/03/2023, 6:58 AMgreen-doctor-75427
07/05/2023, 9:20 PMcuddly-lion-65543
07/11/2023, 8:13 PMlocationConfigParam ===_CREATE
is missing from here? https://github.com/rancher/dashboard/blob/master/shell/core/plugin-helpers.js#L22
I would like to add a panel to a resource where the mode is create and only create but I unable to do that due to lack of create mode
(as described in the table here https://rancher.github.io/dashboard/extensions/api/common#locationconfig). When I add a new elif for _CREATE
it works.magnificent-oxygen-87068
07/13/2023, 7:07 AMyarn publish-pkgs
?
I'd like to change the <http://catalog.cattle.io/kube-version|catalog.cattle.io/kube-version>
since I'm working on an extensions for a tool that supports kube >= 1.22:
- annotations:
<http://catalog.cattle.io/certified|catalog.cattle.io/certified>: rancher
<http://catalog.cattle.io/kube-version|catalog.cattle.io/kube-version>: '>= 1.16.0-0 < 1.26.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.7.0-0 < 2.8.0-0'
<http://catalog.cattle.io/scope|catalog.cattle.io/scope>: management
<http://catalog.cattle.io/ui-component|catalog.cattle.io/ui-component>: plugins
gentle-shoe-14473
07/26/2023, 3:28 PM<RANCHER_FQDN>/k8s/clusters/<id>/v1
, but it's unclear if or how that can be done with the vuex stores:
• `management`: Points at the global-level "steve" API for Rancher as a whole.
• `cluster`: Points at "steve" for the one currently selected cluster; changes when you change clusters.
• `rancher`: Points at the "norman" API, primally for global-level resources, but some cluster-level resources are actually stored here and not physically in the cluster to be available to theMy understanding is that thestore.cluster
management
store interfaces with the local
cluster, while the cluster
store interfaces with the "currently selected cluster", which I would guess is empty in the context of a global app, so perhaps the better question is "can a global app use a vuex store to get data from another cluster?".
I'd appreciate any guidance on this.few-caravan-91238
08/07/2023, 3:05 PMdry-farmer-49402
08/09/2023, 10:17 PMdry-farmer-49402
08/09/2023, 10:23 PMdry-farmer-49402
08/09/2023, 10:27 PMwitty-honey-18052
08/16/2023, 8:47 PMwitty-honey-18052
09/05/2023, 1:06 PMwitty-honey-18052
09/05/2023, 1:13 PMastonishing-action-56877
09/12/2023, 4:45 PMapiVersion: v1
kind: Secret
type: <http://provisioning.cattle.io/cloud-credential|provisioning.cattle.io/cloud-credential>
metadata:
name: my-hc-credential
labels:
annotations:
<http://provisioning.cattle.io/driver|provisioning.cattle.io/driver>: hypercloud
namespace: fleet-default
data:
username: bXl1c2VybmFtZQ==
password: bXlzdXBlcnNlY3JldHBhc3N3b3Jk
astonishing-action-56877
09/12/2023, 4:45 PMastonishing-action-56877
09/20/2023, 3:12 PMPOST
to v3/cloudcredentials
. I believe I'm hitting this issue: https://github.com/rancher/rancher/issues/41745
Is there any way to see what's the issue with the data I'm sending?