Uploaded image for project: 'OpenShift Windows Containers'
  1. OpenShift Windows Containers
  2. WINC-888

WMCO’s user data secret in GCP does not include tags

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • WMCO 7.0.0
    • None
    • None
    • None
    • BU Product Work
    • 5
    • False
    • None
    • False
    • OCPSTRAT-265 - Support Windows Containers on GCP
    • WINC - Sprint 225, WINC - Sprint 226, WINC - Sprint 227

      Developer story

      As a WMCO developer, I want to remove the unused tags from the Windows userDataSecret in GCP.

      Description

      `windows-user-data` secret should be created without the <powershell> and <persist> tags

       

      Cloud Team is responsible for maintaining the boot script requirement for GCP and the appropriate metadata keys.

      Stakeholders

      • cloud team
      • winc team

      Engineering Details

      Modify the logic in WMCO’s secrets.go to detect the platform type and apply the corresponding tag, where:

      • GCP: 
        • no tags required
      • AWS:
      • Azure:
      • vSphere:
        • defaults to enclose the userData with <powershell> tag and contains the <persist> tag set to "true"

       

      PR#16 updates the logic that handles the Windows script to rely on the standard user data from the `userDataSecret` in conjunction with the Windows label in the machine instance.

      Acceptance Criteria

      • WMCO creates a user data secret for GCP where without tags.  No `<powershell>` or <persist> tags

            jvaldes@redhat.com Jose Valdes
            jvaldes@redhat.com Jose Valdes
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: