Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-4.14] OCPBUGS-29755: azurepathfix: fix stack hub, government and workload identity setup #1005

Commits on Feb 21, 2024

  1. cmd/move-blobs: use endpoint suffix from environment

    this fixes azure government cloud, where the suffix is different.
    flavianmissi authored and openshift-cherrypick-robot committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    ade4f32 View commit details
    Browse the repository at this point in the history
  2. azurepathfixjob: make account key secret optional

    this should fix the job for clusters with workload identity
    flavianmissi authored and openshift-cherrypick-robot committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    0c555f7 View commit details
    Browse the repository at this point in the history
  3. azurepathfix: create Azure Stack Hub environment file accordingly

    flavianmissi authored and openshift-cherrypick-robot committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    ec4e37b View commit details
    Browse the repository at this point in the history
  4. azurepathfixjob: mount service account volume for token

    without this, workload identity will not work for the job pod.
    flavianmissi authored and openshift-cherrypick-robot committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    fb6c7a7 View commit details
    Browse the repository at this point in the history
  5. azurepathfix: skip job creation on Azure Stack Hub

    ASH does not support the api version used by the sdk version in
    move-blobs, so we skip running it there.
    
    also consistently use the client options on every instantiation.
    flavianmissi authored and openshift-cherrypick-robot committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    ac9b6e1 View commit details
    Browse the repository at this point in the history
  6. azurepathfixjob: recreate job when detect changes to container env vars

    the storage controller sometimes recreates the storage account after the
    job has been created. to account for that, we compare the container envs
    between created and desired values, and when they differ we recreate the
    job.
    flavianmissi authored and openshift-cherrypick-robot committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    353a0cb View commit details
    Browse the repository at this point in the history
  7. azurepathfixjob: set backoff limit to 6 (the default)

    flavianmissi authored and openshift-cherrypick-robot committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    e8cc9bd View commit details
    Browse the repository at this point in the history