Open davidmirror-ops opened 3 years ago
What steps did you take and what happened:
While trying to create a Persistent Volume from the "Apply YAML" section on Octant (both in the Electron and browser) it doesn't do anything.
The YAML for the resource:
apiVersion: v1 kind: PersistentVolume metadata: name: flash-pv labels: type: local app: web spec: storageClassName: flash capacity: storage: 10Gi accessModes: - ReadWriteOnce hostPath: path: "/mnt/data"
Watching the logs, Octant reports the following:
ERROR action/manager.go:193 actionFunc returned err: convert payload to apply yaml request: namespace is blank {"component": "action-manager"}
But the Persistent Volume is not a namespaced resource, and applying the same YAML from kubectl works just fine What did you expect to happen:
PV should be created from the Apply YAML view
Anything else you would like to add: N/A
Environment:
octant version
kubectl version
I can't reproduce this error:
What steps did you take and what happened:
While trying to create a Persistent Volume from the "Apply YAML" section on Octant (both in the Electron and browser) it doesn't do anything.
The YAML for the resource:
Watching the logs, Octant reports the following:
But the Persistent Volume is not a namespaced resource, and applying the same YAML from kubectl works just fine What did you expect to happen:
PV should be created from the Apply YAML view
Anything else you would like to add: N/A
Environment:
octant version
): 0.23kubectl version
): 1.21