Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-14056

k8s_json_patch ansible module fails to use kubeconfig variable

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL:  
      Reporter RHNID:  
      Section Title:                                                                        

      Issue description

      Several playbooks use the kubernetes.core.k8s_json_patch module. The module uses variables from module_defaults in the playbook. Several students reported an error with the lab start command. On further inspection it seems that the task could not use the kubeconfig file referenced as a variable. The fix was to update the playbook to use a static reference, /home/lab/ocp4/auth/kubeconfig.

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              rht-nlind Natalie Watkins
              rdacosta1@redhat.com Ricardo da Costa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: