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

feat: --chart flag #121

Merged
merged 6 commits into from
Sep 23, 2024
Merged

feat: --chart flag #121

merged 6 commits into from
Sep 23, 2024

Conversation

abuchanan-airbyte
Copy link
Collaborator

--chart allows using a specific chart, such as a local chart directory (--chart /Users/alexbuchanan/dev/dev-chart)

I've been hacking a local chart path into my abctl code to do development with a local chart directory.

@abuchanan-airbyte abuchanan-airbyte requested a review from a team as a code owner September 18, 2024 15:17
@@ -42,6 +42,7 @@ const (
)

type InstallOpts struct {
HelmChartFlag string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something looks weird with the formatting here, can you verify that this was formatted?

@@ -101,6 +102,7 @@ func (i *InstallCmd) Run(ctx context.Context, provider k8s.Provider, telClient t
}

opts := local.InstallOpts{
HelmChartFlag: i.Chart,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting here as well

@colesnodgrass
Copy link
Member

Also can you update the README to include this new flag?

@abuchanan-airbyte abuchanan-airbyte merged commit 1d3d48c into main Sep 23, 2024
2 checks passed
@abuchanan-airbyte abuchanan-airbyte deleted the abuch/chart-flag branch September 23, 2024 13:54
@stephanbertl
Copy link

I think the XOR is broken:

abctl local install --chart=https://nexus.local/repository/helm-airbyte-proxy/
yields

ERROR --chart and --chart-version can't be used together

abctl version
version: v0.18.0

@abuchanan-airbyte
Copy link
Collaborator Author

Thanks @stephanbertl . Hopefully #130 will address that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants