Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-47531

oc create DeploymentConfig not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.13.0, 4.12.z, 4.15.0, 4.16.0, 4.17.0, 4.18.0, 4.19.0
    • openshift-apiserver
    • None
    • Important
    • Yes
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

        Not able to create deploymentconfig when we applied webhook,

      Version-Release number of selected component (if applicable):

      4.17, 4.18, 4.19    

      How reproducible:

       Always

      Steps to Reproduce:

      Use test case steps https://polarion.engineering.redhat.com/polarion/#/project/OSE/workitem?id=OCP-55494

      Actual results:

      Not able to create deploymentconfig and see error

      Error running /Users/rahulgangwar/office-work/kubeconfig/oc --kubeconfig=/Users/rahulgangwar/office-work/kubeconfig/kube.txt create deploymentconfig mydc --image quay.io/openshifttest/hello-openshift@sha256:4200f438cf2e9446f6bcff9d67ceea1f69ed07a2f83363b7fb52529f7ddd8a83 -n test-nsi16ejxne:

          Warning: apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+

          Error from server (InternalError): Internal error occurred: failed calling webhook "validating-webhook.openpolicyagent.org": failed to call webhook: the server could not find the requested resource

      Expected results:

        Should able to create deploymentconfig and not see error

      Additional info:

          

              dgrisonn@redhat.com Damien Grisonnet
              rhn-support-rgangwar Rahul Gangwar
              Rahul Gangwar Rahul Gangwar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: