-
Notifications
You must be signed in to change notification settings - Fork 93
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
Arm64 support for KOTS images #4394
Conversation
71edbb3
to
03d9b3d
Compare
@@ -521,7 +518,7 @@ func (c *Client) uninstallWithHelm(v1Beta1ChartsDir, v1Beta2ChartsDir string, ko | |||
} | |||
|
|||
logger.Infof("running helm with arguments %v", args) | |||
cmd := exec.Command(fmt.Sprintf("helm%s", version), args...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this because v3 is the default and you just want to use the default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's because we removed the helm 2 binary a long time ago but didn't refactor this code.
@@ -281,3 +281,27 @@ func KustomizeImage(destRegistry registrytypes.RegistryOptions, image string) ([ | |||
} | |||
return rewrittenImages, nil | |||
} | |||
|
|||
func ChangeImageTag(image string, newTag string) (string, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use a comment about what this function does
What this PR does / why we need it:
Which issue(s) this PR fixes:
Adds support for running KOTS components on Linux Arm64 based clusters / nodes.
Special notes for your reviewer:
Steps to reproduce
Does this PR introduce a user-facing change?
Does this PR require documentation?