redhat-developer / intellij-kubernetes

IntelliJ Kubernetes plugin
https://plugins.jetbrains.com/plugin/15921-kubernetes-by-red-hat
Eclipse Public License 2.0
20 stars 20 forks source link

When pushing to create a new resource, notification says that resource was updated #708

Closed adietish closed 10 months ago

adietish commented 10 months ago

Steps:

  1. ASSERT: make sure you dont have a pod named alpine1 on your cluster
  2. EXEC: open the following in an editor
    ---
    apiVersion: "v1"
    kind: "Pod"
    metadata:
    labels:
    jedi: "luke"
    name: "alpine1"
    spec:
    containers:
    - image: "alpine"
    name: "alpine"
    ports:
    - containerPort: 8080
  3. EXEC: push the editor to create a new pod on the cluster
  4. ASSERT: new pod alpine1 is created
  5. EXEC: look at the notification in the editor, that tells you what was done on the cluster

Result:

image

You're told that the pod was Updated

Expected result: You should be informed that the pod was Created