Skip to content

Updating deployment.yaml doesn't reflect into openshift #4472

Open
@surnandi-git

Description

Type: Bug

Describe the bug

Since Auto Deploy is not happening, I was copying the image id and putting it into deplyment yaml to get the app refreshed. Performing the same in through code, isn't working.

Expected Behavior

Saving the deployment yaml file should be reflected into the OpenShift deployment. And a new pod should be created (terminating existing)

Current Behavior

It doesn't reflect change made into OpenShift, although it shows save. Upon relaod it brings the older file from server

Steps to Reproduce

  1. Have a application created through using deployment from git
  2. Estiblish webhook for auto build
  3. Make some code change and observe the build
  4. Capture the new image id from VSCode -> Image Stream -> Select your image and copy the image id
  5. Go to VSCode -> Deployments -> Select your deployment (yaml opens up)
  6. Update the image id in the deployment yaml
  7. Save the file.

Environment

OpenShift
VSCode Extension

Extension version: 1.16.0
VS Code version: Code 1.93.0 (Universal) (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z)
OS version: Darwin arm64 23.6.0
Modes:

System Info
Item Value
CPUs Apple M1 (8 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 268, 88, 41
Memory (System) 16.00GB (3.22GB free)
Process Argv
Screen Reader yes
VM 0%

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions